X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/995c1788f537c773b476ca078b220fbc126ebc12..30bfc425744ec3b797a956a9b78b902ff248bf3b:/contrib/include/wx/xrc/xh_gdctl.h?ds=sidebyside diff --git a/contrib/include/wx/xrc/xh_gdctl.h b/contrib/include/wx/xrc/xh_gdctl.h index 548ecaf616..ffdad072a4 100644 --- a/contrib/include/wx/xrc/xh_gdctl.h +++ b/contrib/include/wx/xrc/xh_gdctl.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_GDCTL_H_ #define _WX_XH_GDCTL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_gdctl.h" #endif @@ -19,8 +19,9 @@ #if wxUSE_DIRDLG -class WXXMLDLLEXPORT wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler) public: wxGenericDirCtrlXmlHandler(); virtual wxObject *DoCreateResource();