xh_bmpcbox.h 970 B

1234567891011121314151617181920212223242526272829303132333435
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/xrc/xh_bmpcbox.h
  3. // Purpose: XML resource handler for wxBitmapComboBox
  4. // Author: Jaakko Salli
  5. // Created: Sep-10-2006
  6. // Copyright: (c) 2006 Jaakko Salli
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_XH_BMPCBOX_H_
  10. #define _WX_XH_BMPCBOX_H_
  11. #include "wx/xrc/xmlres.h"
  12. #if wxUSE_XRC && wxUSE_BITMAPCOMBOBOX
  13. class WXDLLIMPEXP_FWD_ADV wxBitmapComboBox;
  14. class WXDLLIMPEXP_XRC wxBitmapComboBoxXmlHandler : public wxXmlResourceHandler
  15. {
  16. DECLARE_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler)
  17. public:
  18. wxBitmapComboBoxXmlHandler();
  19. virtual wxObject *DoCreateResource();
  20. virtual bool CanHandle(wxXmlNode *node);
  21. private:
  22. wxBitmapComboBox* m_combobox;
  23. bool m_isInside;
  24. };
  25. #endif // wxUSE_XRC && wxUSE_BITMAPCOMBOBOX
  26. #endif // _WX_XH_BMPCBOX_H_