- wxStaticText *text = new wxStaticText(this, -1, _("Did you know..."), wxDefaultPosition, wxSize(-1,30) );
-#if defined(__WXMSW__) || defined(__WXPM__)
- text->SetFont(wxFont(16, wxSWISS, wxNORMAL, wxBOLD));
-#else
- text->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxBOLD));
-#endif
-//
-// text->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
+ wxStaticText *text = new wxStaticText(this, wxID_ANY, _("Did you know..."));
+
+ wxFont font = text->GetFont();
+ font.SetPointSize(int(1.6 * font.GetPointSize()));
+ font.SetWeight(wxFONTWEIGHT_BOLD);
+
+ text->SetFont(font);