Added missing wxGetFullHostName() and wxNO_DEFAULT for generic msgdialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-06-13 16:04:54 +00:00
parent 91b8de8dee
commit 96c5bd7fc4
5 changed files with 33 additions and 7 deletions

View File

@@ -131,8 +131,16 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent, const wxString
}
else if (yes)
{
yes->SetDefault();
yes->SetFocus();
if(style & wxNO_DEFAULT)
{
no->SetDefault();
no->SetFocus();
}
else
{
yes->SetDefault();
yes->SetFocus();
}
}
int w = m_buttons.GetCount() * 100;