X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/xrc/xh_listbk.h diff --git a/include/wx/xrc/xh_listbk.h b/include/wx/xrc/xh_listbk.h index 606903e27d..7aa2e0b2f3 100644 --- a/include/wx/xrc/xh_listbk.h +++ b/include/wx/xrc/xh_listbk.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_listbk.h +// Name: wx/xrc/xh_listbk.h // Purpose: XML resource handler for wxListbook // Author: Vaclav Slavik // Copyright: (c) 2000 Vaclav Slavik @@ -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_