]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/fontutil.cpp
separated modifier keys handling in order to distinct key/up down events
[wxWidgets.git] / src / os2 / fontutil.cpp
index 86f9063dfe0314e46837b54c893cd6fbe39a7b60..d8560ba6783f24cbfcd17049f0af708c996343f8 100644 (file)
@@ -453,16 +453,19 @@ void wxOS2SelectMatchingFontByName(
             break;
 
         case wxDECORATIVE:
+            sFaceName = wxT("WarpSans");
+            break;
+
         case wxROMAN:
-            sFaceName = wxT("Tms Rmn");
+            sFaceName = wxT("Times New Roman");
             break;
 
         case wxTELETYPE:
-            sFaceName = wxT("Courier") ;
+            sFaceName = wxT("Courier New") ;
             break;
 
         case wxMODERN:
-            sFaceName = wxT("System VIO") ;
+            sFaceName = wxT("Arial") ;
             break;
 
         case wxSWISS:
@@ -471,7 +474,7 @@ void wxOS2SelectMatchingFontByName(
 
         case wxDEFAULT:
         default:
-            sFaceName = wxT("System VIO") ;
+            sFaceName = wxT("System Proportional") ;
     }
 
     switch (pFont->GetWeight())