]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/keyboard/keyboard.cpp
don't style using Doxygen tags; use <span> tags and CSS instead
[wxWidgets.git] / samples / keyboard / keyboard.cpp
index b922d4dc3eaa381c20a713b67f95682a2238dc99..a5d356a67cd30d3670198138c76cfebe1cf57b43 100644 (file)
@@ -98,7 +98,7 @@ public:
 
 private:
     // implement sink functions
-    virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t)
+    virtual void DoLog(wxLogLevel level, const wxString& szString, time_t t)
     {
         // don't put trace messages into listbox or we can get into infinite
         // recursion
@@ -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);
     }