X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/995c1788f537c773b476ca078b220fbc126ebc12..1c16e6df8e49ea69a4b123e5c4de96e97aa1dce6:/include/wx/xrc/xh_gdctl.h diff --git a/include/wx/xrc/xh_gdctl.h b/include/wx/xrc/xh_gdctl.h index 548ecaf616..ffdad072a4 100644 --- a/include/wx/xrc/xh_gdctl.h +++ b/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();