X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..ed39ff57b30a70a2395e07887a70bc01e7a3b7ec:/include/wx/mac/treectrl.h diff --git a/include/wx/mac/treectrl.h b/include/wx/mac/treectrl.h index cb307ec0e9..dad81e067f 100644 --- a/include/wx/mac/treectrl.h +++ b/include/wx/mac/treectrl.h @@ -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;