X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..0c46d866548ef6145eff070829e4120864f7ce7d:/include/wx/xrc/xh_text.h?ds=sidebyside diff --git a/include/wx/xrc/xh_text.h b/include/wx/xrc/xh_text.h index 6bd2b7d285..e67010eeb6 100644 --- a/include/wx/xrc/xh_text.h +++ b/include/wx/xrc/xh_text.h @@ -11,15 +11,16 @@ #ifndef _WX_XH_TEXT_H_ #define _WX_XH_TEXT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_text.h" #endif #include "wx/xrc/xmlres.h" -class WXXMLDLLEXPORT wxTextCtrlXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxTextCtrlXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxTextCtrlXmlHandler) public: wxTextCtrlXmlHandler(); virtual wxObject *DoCreateResource();