X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..3a5910cbe95603698b984cc6d8d41bbe7e2f89d9:/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 84d256916b..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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#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();