X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..a62848fdba49396eba4f52c037d2dc82130274b4:/include/wx/xrc/xh_panel.h diff --git a/include/wx/xrc/xh_panel.h b/include/wx/xrc/xh_panel.h index 817e5ecc76..ebfc6de0b6 100644 --- a/include/wx/xrc/xh_panel.h +++ b/include/wx/xrc/xh_panel.h @@ -11,14 +11,15 @@ #ifndef _WX_XH_PANEL_H_ #define _WX_XH_PANEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_panel.h" #endif #include "wx/xrc/xmlres.h" -class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxPanelXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler) public: wxPanelXmlHandler(); virtual wxObject *DoCreateResource();