X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..8b56b16aca250be0f25881456350966a535095e2:/include/wx/xrc/xh_listbk.h diff --git a/include/wx/xrc/xh_listbk.h b/include/wx/xrc/xh_listbk.h index c9207ed458..7a4675c028 100644 --- a/include/wx/xrc/xh_listbk.h +++ b/include/wx/xrc/xh_listbk.h @@ -11,13 +11,14 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_LISTBOOK +#if wxUSE_XRC && wxUSE_LISTBOOK class WXDLLEXPORT wxListbook; class WXDLLIMPEXP_XRC wxListbookXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxListbookXmlHandler) + DECLARE_DYNAMIC_CLASS(wxListbookXmlHandler) + public: wxListbookXmlHandler(); virtual wxObject *DoCreateResource(); @@ -28,6 +29,6 @@ private: wxListbook *m_listbook; }; -#endif +#endif // wxUSE_XRC && wxUSE_LISTBOOK #endif // _WX_XH_LISTBK_H_