hence Realize() must be called after default button has been set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35327
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
sizer->AddButton(help);
}
sizer->AddButton(help);
}
if (flags & wxNO_DEFAULT)
{
if (no)
if (flags & wxNO_DEFAULT)
{
if (no)
if (flags & wxOK)
SetAffirmativeId(wxID_OK);
else if (flags & wxYES)
SetAffirmativeId(wxID_YES);
if (flags & wxOK)
SetAffirmativeId(wxID_OK);
else if (flags & wxYES)
SetAffirmativeId(wxID_YES);