X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/xrc/xh_listb.h diff --git a/include/wx/xrc/xh_listb.h b/include/wx/xrc/xh_listb.h index 3b366967dd..43cfcb54ce 100644 --- a/include/wx/xrc/xh_listb.h +++ b/include/wx/xrc/xh_listb.h @@ -13,20 +13,22 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_LISTBOX +#if wxUSE_XRC && wxUSE_LISTBOX class WXDLLIMPEXP_XRC wxListBoxXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxListBoxXmlHandler) + DECLARE_DYNAMIC_CLASS(wxListBoxXmlHandler) + public: wxListBoxXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); + private: bool m_insideBox; wxArrayString strList; }; -#endif +#endif // wxUSE_XRC && wxUSE_LISTBOX #endif // _WX_XH_LISTB_H_