]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipdlg.cpp
Added a test to wxSocket sample (client side socket event test)
[wxWidgets.git] / src / generic / tipdlg.cpp
index 0e61e3fb893078f441d2b2d897ba3a645120ba02..96a2dfbe47a6d1180979d4470a035fe58a517db0 100644 (file)
@@ -175,7 +175,11 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
     wxButton *btnNext = new wxButton(this, wxID_NEXT_TIP, _("&Next"));
 
     wxStaticText *text = new wxStaticText(this, -1, _("Did you know..."), wxDefaultPosition, wxSize(-1,25) );
     wxButton *btnNext = new wxButton(this, wxID_NEXT_TIP, _("&Next"));
 
     wxStaticText *text = new wxStaticText(this, -1, _("Did you know..."), wxDefaultPosition, wxSize(-1,25) );
+#if defined(__WXMSW__)
+    text->SetFont(wxFont(16, wxSWISS, wxNORMAL, wxBOLD));
+#else
     text->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxBOLD));
     text->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxBOLD));
+#endif
 //
 //    text->SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_BTNFACE));
 
 //
 //    text->SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_BTNFACE));