X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..d2eaa86b9ead7eaea0c05e9e1a803c40b671fe5d:/contrib/include/wx/xrc/xh_sizer.h?ds=sidebyside diff --git a/contrib/include/wx/xrc/xh_sizer.h b/contrib/include/wx/xrc/xh_sizer.h index fb5cd23670..59fb16f268 100644 --- a/contrib/include/wx/xrc/xh_sizer.h +++ b/contrib/include/wx/xrc/xh_sizer.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SIZER_H_ #define _WX_XH_SIZER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_sizer.h" #endif @@ -20,8 +20,9 @@ class WXDLLEXPORT wxSizer; -class WXXMLDLLEXPORT wxSizerXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxSizerXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxSizerXmlHandler) public: wxSizerXmlHandler(); virtual wxObject *DoCreateResource();