From: Unknown (MT) Date: Wed, 17 Nov 1999 02:05:17 +0000 (+0000) Subject: use a smaller tip font for MSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e16ebee6a9cb46e71b5e15fe14edf61fd790bb14 use a smaller tip font for MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 7562a31424..2a318713a7 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -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");