X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ff1542d271b60fec2aa9bf5b01913bac08dd288..d12d9edacbcea0920e58346be8dd26ef3eeee43d:/src/html/htmprint.cpp?ds=sidebyside diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index ce71d5fc6d..6a22f88547 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -218,16 +218,16 @@ wxHtmlPrintout::CheckFit(const wxSize& pageArea, const wxSize& docArea) const GetTitle() ), _("Printing"), - wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION + wxOK | wxCANCEL | wxCANCEL_DEFAULT | wxICON_QUESTION ); dlg.SetExtendedMessage ( _("If possible, try changing the layout parameters to " - "make the printout more narrow") + "make the printout more narrow.") ); - dlg.SetYesNoLabels(_("&Print"), _("&Cancel")); + dlg.SetOKLabel(wxID_PRINT); - if ( dlg.ShowModal() != wxYES ) + if ( dlg.ShowModal() == wxID_CANCEL ) return false; }