X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..75f7af39d12e17eecf807ca65bffd19adce581ca:/include/wx/xrc/xh_notbk.h diff --git a/include/wx/xrc/xh_notbk.h b/include/wx/xrc/xh_notbk.h index bd066d32d5..14e909568b 100644 --- a/include/wx/xrc/xh_notbk.h +++ b/include/wx/xrc/xh_notbk.h @@ -10,7 +10,7 @@ #ifndef _WX_XH_NOTBK_H_ #define _WX_XH_NOTBK_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_notbk.h" #endif @@ -22,6 +22,7 @@ class WXDLLEXPORT wxNotebook; class WXXMLDLLEXPORT wxNotebookXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxNotebookXmlHandler) public: wxNotebookXmlHandler(); virtual wxObject *DoCreateResource();