]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbox.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / listbox.h
index ef66d8ea3ce47e6fddbbf278fe3e4e2318bf0f36..66f39ed4bfd7bf333f23385d2567af6f7af8726a 100644 (file)
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "listboxbase.h"
 #endif