X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/854e189f90dac9ba5e0239bca79aed64e8d6f46c..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/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 dfe8bd0653..9c1bfc0378 100644 --- a/include/wx/xrc/xh_panel.h +++ b/include/wx/xrc/xh_panel.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_panel.h -// Purpose: XML resource handler for panels +// Name: wx/xrc/xh_panel.h +// Purpose: XML resource handler for wxPanel // Author: Vaclav Slavik // Created: 2000/03/05 // RCS-ID: $Id$ @@ -11,20 +11,20 @@ #ifndef _WX_XH_PANEL_H_ #define _WX_XH_PANEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_panel.h" -#endif - #include "wx/xrc/xmlres.h" -class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler +#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_