X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..9d9ad67384e5dc658c4de46e49113c321489bf81:/include/wx/xrc/xh_notbk.h?ds=sidebyside diff --git a/include/wx/xrc/xh_notbk.h b/include/wx/xrc/xh_notbk.h index bd066d32d5..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_ -#ifdef __GNUG__ +#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();