]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix: don't use compatibility names in wx code
authorPaul Cornett <paulcor@bullseye.com>
Tue, 15 Aug 2006 16:35:32 +0000 (16:35 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 15 Aug 2006 16:35:32 +0000 (16:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index 79dae2984de2637e29728f5ea47ea6e4481935e3..48cda637a526534fd6b7d473fbf9e895e66d5866 100644 (file)
@@ -440,11 +440,11 @@ void wxPlatform::ClearPlatforms()
 bool wxPlatform::Is(int platform)
 {
 #ifdef __WXMSW__
-    if (platform == wxMSW)
+    if (platform == wxOS_WINDOWS)
         return true;
 #endif
 #ifdef __WXWINCE__
-    if (platform == wxWinCE)
+    if (platform == wxOS_WINDOWS_CE)
         return true;
 #endif
 #if defined(__WXWINCE__) && defined(__POCKETPC__)
@@ -456,31 +456,31 @@ bool wxPlatform::Is(int platform)
         return true;
 #endif
 #ifdef __WXGTK__
-    if (platform == wxGTK)
+    if (platform == wxPORT_GTK)
         return true;
 #endif
 #ifdef __WXMAC__
-    if (platform == wxMac)
+    if (platform == wxPORT_MAC)
         return true;
 #endif
 #ifdef __WXX11__
-    if (platform == wxX11)
+    if (platform == wxPORT_X11)
         return true;
 #endif
 #ifdef __UNIX__
-    if (platform == wxUnix)
+    if (platform == wxOS_UNIX)
         return true;
 #endif
 #ifdef __WXMGL__
-    if (platform == wxMGL)
+    if (platform == wxPORT_MGL)
         return true;
 #endif
 #ifdef __WXOS2__
-    if (platform == wxOS2)
+    if (platform == wxPORT_OS2)
         return true;
 #endif
 #ifdef __WXCOCOA__
-    if (platform == wxCocoa)
+    if (platform == wxPORT_MAC)
         return true;
 #endif