X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..9c34a216817028bc533e07873d047208a96b05a2:/include/wx/xrc/xh_panel.h?ds=sidebyside diff --git a/include/wx/xrc/xh_panel.h b/include/wx/xrc/xh_panel.h index da7f213206..9c1bfc0378 100644 --- a/include/wx/xrc/xh_panel.h +++ b/include/wx/xrc/xh_panel.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_panel.h -// Purpose: XML resource handler for panels +// Purpose: XML resource handler for wxPanel // Author: Vaclav Slavik // Created: 2000/03/05 // RCS-ID: $Id$ @@ -13,14 +13,18 @@ #include "wx/xrc/xmlres.h" +#if wxUSE_XRC + class WXDLLIMPEXP_XRC wxPanelXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler) + DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler) + public: wxPanelXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC #endif // _WX_XH_PANEL_H_