X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95a4630380511f5e747b1465bf4834e5fac3d515..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/xrc/xh_bmpcbox.h diff --git a/include/wx/xrc/xh_bmpcbox.h b/include/wx/xrc/xh_bmpcbox.h index 4772ac5937..d846717f32 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_FWD_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_