compare wxMessageDialog::ShowModal() return value with wxID_YES, not wxYES (closes #10789)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ebcd855cc9
commit
f7f068364f
@ -227,7 +227,7 @@ wxHtmlPrintout::CheckFit(const wxSize& pageArea, const wxSize& docArea) const
|
||||
);
|
||||
dlg.SetYesNoLabels(_("&Print"), _("&Cancel"));
|
||||
|
||||
if ( dlg.ShowModal() != wxYES )
|
||||
if ( dlg.ShowModal() != wxID_YES )
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user