]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ctrlsub.h
Added wxTreeCtrl::GetItemParent to deprecate GetParent.
[wxWidgets.git] / include / wx / ctrlsub.h
index 1db128f7bcb6b95ff01cdb8bb06c18785c630b41..0b98232f3ded847aeafd3a8f2b064f508f194af3 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_CTRLSUB_H_BASE_
 #define _WX_CTRLSUB_H_BASE_
 
 #ifndef _WX_CTRLSUB_H_BASE_
 #define _WX_CTRLSUB_H_BASE_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "controlwithitems.h"
 #endif
 
     #pragma interface "controlwithitems.h"
 #endif