]> git.saurik.com Git - wxWidgets.git/commitdiff
Choose a legal default font on DC creation.
authorStefan Neis <Stefan.Neis@t-online.de>
Mon, 2 Jan 2006 16:32:12 +0000 (16:32 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Mon, 2 Jan 2006 16:32:12 +0000 (16:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/dcclient.cpp

index b533fdc19aa83e8b91927fcf2d39e22d9d4a6beb..81007873df5b8a8e7ed84a7730e22e612a006ccf 100644 (file)
@@ -172,8 +172,8 @@ void wxWindowDC::InitDC()
     vColor.Set( wxT("WHITE") );
     m_brush.SetColour(vColor);
     InitializePalette();
-    wxFont*                         pFont = new wxFont( 12
-                                                       ,wxNORMAL
+    wxFont*                         pFont = new wxFont( 10
+                                                       ,wxMODERN
                                                        ,wxNORMAL
                                                        ,wxBOLD
                                                       );