X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/582f07c2532e6e2d7d1ccb235354548e9bada9bf..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/xrc/xh_odcombo.h?ds=inline diff --git a/include/wx/xrc/xh_odcombo.h b/include/wx/xrc/xh_odcombo.h index 7febc5590c..9d7b4fa377 100644 --- a/include/wx/xrc/xh_odcombo.h +++ b/include/wx/xrc/xh_odcombo.h @@ -13,20 +13,23 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_ODCOMBOBOX +#if wxUSE_XRC && wxUSE_ODCOMBOBOX class WXDLLIMPEXP_XRC wxOwnerDrawnComboBoxXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxOwnerDrawnComboBoxXmlHandler) + DECLARE_DYNAMIC_CLASS(wxOwnerDrawnComboBoxXmlHandler) + public: wxOwnerDrawnComboBoxXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); + private: bool m_insideBox; wxArrayString strList; }; -#endif +#endif // wxUSE_XRC && wxUSE_ODCOMBOBOX #endif // _WX_XH_ODCOMBO_H_ +