]> 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 985468c0545a46eff79cee602018794a7106b46e..6830bde127e4b337ed6ec02c4bfafc1c566855e5 100644 (file)
 #ifndef _WX_XH_TREE_H_
 #define _WX_XH_TREE_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #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();