From 4849eced7f1448f530cdb63ddbfd8fcdcf55446c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 29 Jul 2007 01:25:40 +0000 Subject: [PATCH] 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 --- samples/keyboard/keyboard.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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); } -- 2.45.2