X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..66b6b04535cf261b7bae7da77332835b242abd04:/src/generic/tipdlg.cpp diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 7b06f357a1..f4631cf86d 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -172,9 +172,9 @@ 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) ); + wxStaticText *text = new wxStaticText(this, -1, _("Did you know..."), wxDefaultPosition, wxSize(-1,30) ); #if defined(__WXMSW__) text->SetFont(wxFont(16, wxSWISS, wxNORMAL, wxBOLD)); #else @@ -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");