X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f3cec484dc9376e6a41faa0ac668c5439cb4bd9..0240e8b1aa935d43689b0b8ec36de3c06c1a4758:/src/generic/tipdlg.cpp diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 96a2dfbe47..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__) @@ -183,10 +183,14 @@ wxTipDialog::wxTipDialog(wxWindow *parent, // // text->SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_BTNFACE)); - m_text = new wxTextCtrl(this, -1, _T(""), + 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");