X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95a4630380511f5e747b1465bf4834e5fac3d515..2ac9bfa9b0b8cc78d59f656996358f15fbe2dc26:/include/wx/xrc/xh_bmpcbox.h?ds=sidebyside diff --git a/include/wx/xrc/xh_bmpcbox.h b/include/wx/xrc/xh_bmpcbox.h index 4772ac5937..fe99d117e2 100644 --- a/include/wx/xrc/xh_bmpcbox.h +++ b/include/wx/xrc/xh_bmpcbox.h @@ -3,7 +3,7 @@ // Purpose: XML resource handler for wxBitmapComboBox // Author: Jaakko Salli // Created: Sep-10-2006 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2006 Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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_