X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3032b7b5c2d19764e4e7f3b50a5f727cbbaccc45..134d7051bf501b1c07ac6963b38203bcfce1b6d4:/src/msw/utils.cpp?ds=sidebyside diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index d94f52caa2..7409cd6c8f 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -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,