]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for the dialog controls font
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Oct 2001 22:17:09 +0000 (22:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Oct 2001 22:17:09 +0000 (22:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dialog.cpp

index 5f70961052596e3b54d6167458f29fad46ba173c..3fbad08474679d2979b7d8b31c477daffa3d5ab2 100644 (file)
@@ -122,6 +122,8 @@ bool wxDialog::Create(wxWindow *parent,
     if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) )
         return FALSE;
 
+    SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+
     return TRUE;
 }