]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
added wxWindow::IsDoubleBuffered() and improve wxBufferedDC (patch 1565330)
[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;
-            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"));