]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_text.h
Blind bug fix to bug reported by Angel Kry.
[wxWidgets.git] / include / wx / xrc / xh_text.h
index 84d256916b8d06542d8ccab2c9e0c0c510d5fd18..e67010eeb6cda71ba27b61d364acbbd6ac7f62f2 100644 (file)
 #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();