]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/treectrl.h
Remove unnecessary header dependencies. Fix resulting compilation
[wxWidgets.git] / include / wx / mac / treectrl.h
index cb307ec0e97284e31b80b0ea031e5f84ada85f87..dad81e067f2dc83b83907f427d88ef19e4800a4e 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TREECTRL_H_
 #define _WX_TREECTRL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "treectrl.h"
 #endif
 
@@ -162,7 +162,7 @@ public:
     long GetNextItem(long item, int code) const;
     bool ItemHasChildren(long item) const;
     long GetChild(long item) const;
-    long GetParent(long item) const;
+    long GetItemParent(long item) const;
     long GetFirstVisibleItem() const;
     long GetNextVisibleItem(long item) const;
     long GetSelection() const;