]> git.saurik.com Git - wxWidgets.git/commitdiff
use a larger font again for wxMSW (the chopping off was caused by a wxStaticText...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 22 Feb 2005 23:08:35 +0000 (23:08 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 22 Feb 2005 23:08:35 +0000 (23:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/tipdlg.cpp

index 0bb63154a9dafd83c9e2b7e2585a4339428025d1..bef711e2790216c4a4c241939cbfb602b6143ca5 100644 (file)
@@ -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),