X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..25b0e7c89788b36fe415a4fc707fa5bc22b3e9dc:/include/wx/xrc/xh_gdctl.h?ds=inline diff --git a/include/wx/xrc/xh_gdctl.h b/include/wx/xrc/xh_gdctl.h index c41f1197e6..32432377a8 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #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();