X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ff1542d271b60fec2aa9bf5b01913bac08dd288..6e7d2550cecf6c13b6f76e7e43da93744ad773b8:/src/html/htmprint.cpp diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index ce71d5fc6d..9169487712 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -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; }