X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..ce76f779c6cfd2155de825021cc645572fe43625:/include/wx/xrc/xh_notbk.h diff --git a/include/wx/xrc/xh_notbk.h b/include/wx/xrc/xh_notbk.h index 07f9f1a017..e6fe422540 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_notbk.h" #endif @@ -20,8 +20,9 @@ class WXDLLEXPORT wxNotebook; -class WXXMLDLLEXPORT wxNotebookXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxNotebookXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxNotebookXmlHandler) public: wxNotebookXmlHandler(); virtual wxObject *DoCreateResource();