X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..e32dc37570118300d58c68bae5b79af4ae460a04:/include/wx/xrc/xh_notbk.h?ds=inline 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();