X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/582f07c2532e6e2d7d1ccb235354548e9bada9bf..6c960f2e810bb16143bd64f228f301e9397a44bc:/include/wx/xrc/xh_odcombo.h 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_ +