Applied patch [ 816023 ] wxDialog overrides font setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -198,7 +198,7 @@ bool wxDialog::Create(wxWindow *parent,
|
|||||||
|
|
||||||
if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) )
|
if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
if (!m_hasFont)
|
||||||
SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Reference in New Issue
Block a user