]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_tree.h
allow compilation with wxUSE_CHOICEDLG set to 0
[wxWidgets.git] / include / wx / xrc / xh_tree.h
index 1d49a463dd113587d8cb813867fbce9dbbc21224..43a85f93a6d3479cf46931d9f19c93accf1124f5 100644 (file)
 #ifndef _WX_XH_TREE_H_
 #define _WX_XH_TREE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #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();