]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_text.h
fixed condition for using #pragmas
[wxWidgets.git] / include / wx / xrc / xh_text.h
index 6bd2b7d2850ac2a0dfd702e5a985679b737f7e2b..e67010eeb6cda71ba27b61d364acbbd6ac7f62f2 100644 (file)
 #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();