]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
Back to previous call with -1 replacement.
[wxWidgets.git] / src / msw / font.cpp
index ea21ef386a46ee3693c06ac9a84d2e01b74d5bcb..bac473af42d39b8c8106a09adc1dbdffab09b572 100644 (file)
@@ -638,7 +638,7 @@ void wxNativeFontInfo::SetFamily(wxFontFamily family)
             // is returned as default GUI font for compatibility
             int verMaj;
             ff_family = FF_SWISS;
             // is returned as default GUI font for compatibility
             int verMaj;
             ff_family = FF_SWISS;
-            if(wxGetOsVersion(&verMaj) == wxWINDOWS_NT && verMaj >= 5)
+            if(wxGetOsVersion(&verMaj) == wxOS_WINDOWS_NT && verMaj >= 5)
                 facename.Add(_T("MS Shell Dlg 2"));
             else
                 facename.Add(_T("MS Shell Dlg"));
                 facename.Add(_T("MS Shell Dlg 2"));
             else
                 facename.Add(_T("MS Shell Dlg"));