From f7f068364f9501871c25bde9134e1ed71f471a2d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 13 May 2009 08:41:44 +0000 Subject: [PATCH] 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 --- src/html/htmprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.45.2