From: Dimitri Schoolwerth Date: Tue, 22 Feb 2005 23:08:35 +0000 (+0000) Subject: use a larger font again for wxMSW (the chopping off was caused by a wxStaticText... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/491a2b094b1b85a47a95dacb605cb25abc59cb46 use a larger font again for wxMSW (the chopping off was caused by a wxStaticText resizing bug which has been fixed) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 0bb63154a9..bef711e279 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -241,9 +241,6 @@ wxTipDialog::wxTipDialog(wxWindow *parent, wxStaticText *text = new wxStaticText(this, wxID_ANY, _("Did you know...")); - // Currently this causes the bottom half to be chopped off, - // so disable the large font -#ifndef __WXMSW__ if (!isPda) { wxFont font = text->GetFont(); @@ -251,7 +248,6 @@ wxTipDialog::wxTipDialog(wxWindow *parent, font.SetWeight(wxFONTWEIGHT_BOLD); text->SetFont(font); } -#endif m_text = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(200, 160),