]> git.saurik.com Git - wxWidgets.git/commitdiff
make the text in the top area more readable
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 29 Jul 2007 01:25:40 +0000 (01:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 29 Jul 2007 01:25:40 +0000 (01:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/keyboard/keyboard.cpp

index db69337b6eea67c74cf46fe5bf23c65b16bbbdab..a5d356a67cd30d3670198138c76cfebe1cf57b43 100644 (file)
@@ -162,6 +162,11 @@ protected:
     {
         wxPaintDC dc(this);
         dc.SetTextForeground(*wxWHITE);
+        wxFont font(*wxSWISS_FONT);
+        font.SetWeight(wxFONTWEIGHT_BOLD);
+        font.SetPointSize(font.GetPointSize() + 2);
+        dc.SetFont(font);
+
         dc.DrawLabel(_T("Press keys here"), GetClientRect(), wxALIGN_CENTER);
     }