]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
wxFont::MakeXXX() and Scale() methods now modify the font in place; XXX() and Scaled...
[wxWidgets.git] / src / html / htmprint.cpp
index ce71d5fc6d58ff30c94089792ce2f43e0381d6c3..916948771249687487ef0e844677adc4d91f8c7d 100644 (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;
     }