]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gdicmn.h
wxCocoa: CodeWarrior (like GCC) mangles struct X and @class X identically.
[wxWidgets.git] / include / wx / gdicmn.h
index 392cd820c48aebe9dba2b7fa73ce8fe3924d83ae..1057dc55ed63520f0a5769dbdad0a863ad6e76b0 100644 (file)
@@ -16,7 +16,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "gdicmn.h"
 #endif
 
@@ -275,11 +275,6 @@ public:
     wxPoint& operator-=(const wxPoint& p) { x -= p.x; y -= p.y; return *this; }
 };
 
-#if WXWIN_COMPATIBILITY
-    #define wxIntPoint wxPoint
-    #define wxRectangle wxRect
-#endif // WXWIN_COMPATIBILITY
-
 // ---------------------------------------------------------------------------
 // wxRect
 // ---------------------------------------------------------------------------