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:
@@ -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),
|
||||||
|
Reference in New Issue
Block a user