]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_bmpcbox.h
Implememt GetColoursCount() in the generic wxPalette.
[wxWidgets.git] / include / wx / xrc / xh_bmpcbox.h
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 // RCS-ID: $Id:
7 // Copyright: (c) 2006 Jaakko Salli
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XH_BMPCBOX_H_
12 #define _WX_XH_BMPCBOX_H_
13
14 #include "wx/xrc/xmlres.h"
15
16 #if wxUSE_BITMAPCOMBOBOX
17
18 class WXDLLIMPEXP_ADV wxBitmapComboBox;
19
20 class WXDLLIMPEXP_XRC wxBitmapComboBoxXmlHandler : public wxXmlResourceHandler
21 {
22 DECLARE_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler)
23 public:
24 wxBitmapComboBoxXmlHandler();
25 virtual wxObject *DoCreateResource();
26 virtual bool CanHandle(wxXmlNode *node);
27 private:
28 wxBitmapComboBox* m_combobox;
29 bool m_isInside;
30 };
31
32 #endif
33
34 #endif // _WX_XH_BMPCBOX_H_