X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/xrc/xh_listbk.h?ds=sidebyside diff --git a/include/wx/xrc/xh_listbk.h b/include/wx/xrc/xh_listbk.h index c9207ed458..7aa2e0b2f3 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_FWD_CORE 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_