diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 214bfb1dd4..8989db416b 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -121,8 +121,8 @@ bool wxDialog::Create(wxWindow *parent, if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) ) return FALSE; - - SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); + if (!m_hasFont) + SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); return TRUE; }