X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..5d8f5f875eaf8b32dee93acec5664b4fc9c93ff7:/include/wx/xrc/xh_dlg.h?ds=sidebyside diff --git a/include/wx/xrc/xh_dlg.h b/include/wx/xrc/xh_dlg.h index 3fd4d51076..9ba7c76d7a 100644 --- a/include/wx/xrc/xh_dlg.h +++ b/include/wx/xrc/xh_dlg.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_DLG_H_ #define _WX_XH_DLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_dlg.h" #endif @@ -19,6 +19,7 @@ class WXXMLDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxDialogXmlHandler) public: wxDialogXmlHandler(); virtual wxObject *DoCreateResource();