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
This commit is contained in:
Dimitri Schoolwerth
2005-02-22 23:08:35 +00:00
parent 376c0148ef
commit 491a2b094b

View File

@@ -241,9 +241,6 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
wxStaticText *text = new wxStaticText(this, wxID_ANY, _("Did you know...")); 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) if (!isPda)
{ {
wxFont font = text->GetFont(); wxFont font = text->GetFont();
@@ -251,7 +248,6 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
font.SetWeight(wxFONTWEIGHT_BOLD); font.SetWeight(wxFONTWEIGHT_BOLD);
text->SetFont(font); text->SetFont(font);
} }
#endif
m_text = new wxTextCtrl(this, wxID_ANY, wxEmptyString, m_text = new wxTextCtrl(this, wxID_ANY, wxEmptyString,
wxDefaultPosition, wxSize(200, 160), wxDefaultPosition, wxSize(200, 160),