X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..3b6e5fb3f58f881d70dda6531f9c8372231a59cf:/include/wx/xrc/xh_text.h 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();