X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/995c1788f537c773b476ca078b220fbc126ebc12..3527f29c8769e09d796c547c0c309f8b86407012:/contrib/include/wx/xrc/xh_gdctl.h 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();