]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_tree.h
Blind bug fix to bug reported by Angel Kry.
[wxWidgets.git] / include / wx / xrc / xh_tree.h
index 1d49a463dd113587d8cb813867fbce9dbbc21224..6830bde127e4b337ed6ec02c4bfafc1c566855e5 100644 (file)
 #ifndef _WX_XH_TREE_H_
 #define _WX_XH_TREE_H_
 
 #ifndef _WX_XH_TREE_H_
 #define _WX_XH_TREE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_tree.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
 #pragma interface "xh_tree.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
-class WXXMLDLLEXPORT wxTreeCtrlXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxTreeCtrlXmlHandler : public wxXmlResourceHandler
 {
 {
+DECLARE_DYNAMIC_CLASS(wxTreeCtrlXmlHandler)
 public:
     wxTreeCtrlXmlHandler();
     virtual wxObject *DoCreateResource();
 public:
     wxTreeCtrlXmlHandler();
     virtual wxObject *DoCreateResource();