From: Vadim Zeitlin Date: Sun, 29 Jul 2007 01:25:40 +0000 (+0000) Subject: make the text in the top area more readable X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4849eced7f1448f530cdb63ddbfd8fcdcf55446c?hp=6e69dd00cc9c66b63245297470ec25a8097512e0 make the text in the top area more readable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/keyboard/keyboard.cpp b/samples/keyboard/keyboard.cpp index db69337b6e..a5d356a67c 100644 --- a/samples/keyboard/keyboard.cpp +++ b/samples/keyboard/keyboard.cpp @@ -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); }