]>
Commit | Line | Data |
---|---|---|
95a46303 RR |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/xrc/xh_bmpcbox.h | |
3 | // Purpose: XML resource handler for wxBitmapComboBox | |
4 | // Author: Jaakko Salli | |
5 | // Created: Sep-10-2006 | |
1c4e8f38 | 6 | // RCS-ID: $Id$ |
95a46303 RR |
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 | ||
dd47af27 | 16 | #if wxUSE_XRC && wxUSE_BITMAPCOMBOBOX |
95a46303 RR |
17 | |
18 | class WXDLLIMPEXP_ADV wxBitmapComboBox; | |
19 | ||
20 | class WXDLLIMPEXP_XRC wxBitmapComboBoxXmlHandler : public wxXmlResourceHandler | |
21 | { | |
22 | DECLARE_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler) | |
dd47af27 | 23 | |
95a46303 RR |
24 | public: |
25 | wxBitmapComboBoxXmlHandler(); | |
26 | virtual wxObject *DoCreateResource(); | |
27 | virtual bool CanHandle(wxXmlNode *node); | |
dd47af27 | 28 | |
95a46303 RR |
29 | private: |
30 | wxBitmapComboBox* m_combobox; | |
31 | bool m_isInside; | |
32 | }; | |
33 | ||
dd47af27 | 34 | #endif // wxUSE_XRC && wxUSE_BITMAPCOMBOBOX |
95a46303 RR |
35 | |
36 | #endif // _WX_XH_BMPCBOX_H_ |