| 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_XRC && wxUSE_BITMAPCOMBOBOX |
| 17 | |
| 18 | class WXDLLIMPEXP_FWD_ADV wxBitmapComboBox; |
| 19 | |
| 20 | class WXDLLIMPEXP_XRC wxBitmapComboBoxXmlHandler : public wxXmlResourceHandler |
| 21 | { |
| 22 | DECLARE_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler) |
| 23 | |
| 24 | public: |
| 25 | wxBitmapComboBoxXmlHandler(); |
| 26 | virtual wxObject *DoCreateResource(); |
| 27 | virtual bool CanHandle(wxXmlNode *node); |
| 28 | |
| 29 | private: |
| 30 | wxBitmapComboBox* m_combobox; |
| 31 | bool m_isInside; |
| 32 | }; |
| 33 | |
| 34 | #endif // wxUSE_XRC && wxUSE_BITMAPCOMBOBOX |
| 35 | |
| 36 | #endif // _WX_XH_BMPCBOX_H_ |