]> git.saurik.com Git - wxWidgets.git/commitdiff
use a smaller tip font for MSW
authorUnknown (MT) <nobody@localhost>
Wed, 17 Nov 1999 02:05:17 +0000 (02:05 +0000)
committerUnknown (MT) <nobody@localhost>
Wed, 17 Nov 1999 02:05:17 +0000 (02:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/tipdlg.cpp

index 7562a31424fae4e77df20719c6eb3c140fca478f..2a318713a76b380836829fcf60a29442bf45715f 100644 (file)
@@ -172,7 +172,7 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
     m_checkbox = new wxCheckBox(this, -1, _("&Show tips at startup"));
     m_checkbox->SetValue(showAtStartup);
     
-    wxButton *btnNext = new wxButton(this, wxID_NEXT_TIP, _("&Next"));
+    wxButton *btnNext = new wxButton(this, wxID_NEXT_TIP, _("&Next Tip"));
 
     wxStaticText *text = new wxStaticText(this, -1, _("Did you know..."), wxDefaultPosition, wxSize(-1,25) );
 #if defined(__WXMSW__)
@@ -186,7 +186,11 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
     m_text = new wxTextCtrl(this, -1, wxT(""),
                             wxDefaultPosition, wxSize(200, 160),
                             wxTE_MULTILINE | wxTE_READONLY | wxSUNKEN_BORDER);
+#if defined(__WXMSW__)
+    m_text->SetFont(wxFont(12, wxROMAN, wxNORMAL, wxNORMAL));
+#else
     m_text->SetFont(wxFont(14, wxROMAN, wxNORMAL, wxNORMAL));
+#endif
 
 #if defined(__WXMSW__) || defined(__WXPM__)
     wxIcon icon("wxICON_TIP");