X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/xrc/xh_choicbk.h diff --git a/include/wx/xrc/xh_choicbk.h b/include/wx/xrc/xh_choicbk.h index 0b156838c3..20c5346eb3 100644 --- a/include/wx/xrc/xh_choicbk.h +++ b/include/wx/xrc/xh_choicbk.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_choicbk.h +// Name: wx/xrc/xh_choicbk.h // Purpose: XML resource handler for wxChoicebook // Author: Vaclav Slavik // Copyright: (c) 2000 Vaclav Slavik @@ -11,13 +11,14 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_CHOICEBOOK +#if wxUSE_XRC && wxUSE_CHOICEBOOK -class WXDLLEXPORT wxChoicebook; +class WXDLLIMPEXP_FWD_CORE wxChoicebook; class WXDLLIMPEXP_XRC wxChoicebookXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler) + DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler) + public: wxChoicebookXmlHandler(); virtual wxObject *DoCreateResource(); @@ -28,6 +29,6 @@ private: wxChoicebook *m_choicebook; }; -#endif +#endif // wxUSE_XRC && wxUSE_CHOICEBOOK #endif // _WX_XH_CHOICEBK_H_