X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95a4630380511f5e747b1465bf4834e5fac3d515..ebf0a02930fcaaf8b78ed30a71e03619d5d07df4:/include/wx/xrc/xh_bmpcbox.h diff --git a/include/wx/xrc/xh_bmpcbox.h b/include/wx/xrc/xh_bmpcbox.h index 4772ac5937..5b5e0624ef 100644 --- a/include/wx/xrc/xh_bmpcbox.h +++ b/include/wx/xrc/xh_bmpcbox.h @@ -13,22 +13,24 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_BITMAPCOMBOBOX +#if wxUSE_XRC && wxUSE_BITMAPCOMBOBOX class WXDLLIMPEXP_ADV wxBitmapComboBox; class WXDLLIMPEXP_XRC wxBitmapComboBoxXmlHandler : public wxXmlResourceHandler { DECLARE_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler) + public: wxBitmapComboBoxXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); + private: wxBitmapComboBox* m_combobox; bool m_isInside; }; -#endif +#endif // wxUSE_XRC && wxUSE_BITMAPCOMBOBOX #endif // _WX_XH_BMPCBOX_H_