X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/582f07c2532e6e2d7d1ccb235354548e9bada9bf..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/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_ +