]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_tree.h
include init.h as wxEntry is supposed to be declared here
[wxWidgets.git] / include / wx / xrc / xh_tree.h
index 1d49a463dd113587d8cb813867fbce9dbbc21224..d75ff3dfa693d0ccd15f8ba670ba67ce0da6ff6a 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_TREE_H_
 #define _WX_XH_TREE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_tree.h"
 #endif
 
@@ -19,6 +19,7 @@
 
 class WXXMLDLLEXPORT wxTreeCtrlXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxTreeCtrlXmlHandler)
 public:
     wxTreeCtrlXmlHandler();
     virtual wxObject *DoCreateResource();