]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
Reverted part of rev 1.92. It causes probelms on Windows when
[wxWidgets.git] / src / msw / utils.cpp
index d94f52caa2715f61fbe2534feb15430b50eab098..7409cd6c8fb5aabf3488bf39ce8421f6784c1142 100644 (file)
@@ -1069,6 +1069,13 @@ wxString wxGetOsDescription()
     {
         switch ( info.dwPlatformId )
         {
+#ifdef VER_PLATFORM_WIN32_CE
+            case VER_PLATFORM_WIN32_CE:
+                str.Printf(_("Windows CE (%d.%d)"),
+                           info.dwMajorVersion,
+                           info.dwMinorVersion);
+                break;
+#endif
             case VER_PLATFORM_WIN32s:
                 str = _("Win32s on Windows 3.1");
                 break;
@@ -1132,7 +1139,7 @@ wxString wxGetOsDescription()
                             break;
                     }
                 }
-                if ( wxIsEmpty(str) )
+                if ( str.empty() )
                 {
                     str.Printf(_("Windows NT %lu.%lu (build %lu"),
                            info.dwMajorVersion,