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:
Vadim Zeitlin 2009-05-13 08:41:44 +00:00
parent ebcd855cc9
commit f7f068364f

View File

@ -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;
}