Commit of merge

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-01-21 14:32:57 +00:00
parent e219d2bfa4
commit c9b9e020ca

View File

@@ -93,6 +93,12 @@ bool wxDialog::Create(
))
return FALSE;
SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
//
// Must defer setting the title until after dialog is created and sized
//
if (!rsTitle.IsNull())
SetTitle(rsTitle);
return TRUE;
} // end of wxDialog::Create
@@ -265,6 +271,8 @@ bool wxDialog::Show(
InitDialog();
}
if (GetTitle().c_str())
::WinSetWindowText((HWND)GetHwnd(), GetTitle().c_str());
if (IsModal())
{
if (bShow)