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
{
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);
}