]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Update version to 2.9.4 in version.bkl too and rebake everything.
[wxWidgets.git] / src / html / htmprint.cpp
index 4ce2e3b80a5416175b709ac3c17eea0c62bdc1dc..9becb22f5be75c1f5a9ff2be457d763f0f35c070 100644 (file)
@@ -695,7 +695,7 @@ bool wxHtmlEasyPrinting::DoPreview(wxHtmlPrintout *printout1, wxHtmlPrintout *pr
     // Pass two printout objects: for preview, and possible printing.
     wxPrintDialogData printDialogData(*GetPrintData());
     wxPrintPreview *preview = new wxPrintPreview(printout1, printout2, &printDialogData);
-    if (!preview->Ok())
+    if (!preview->IsOk())
     {
         delete preview;
         return false;
@@ -731,7 +731,7 @@ bool wxHtmlEasyPrinting::DoPrint(wxHtmlPrintout *printout)
 
 void wxHtmlEasyPrinting::PageSetup()
 {
-    if (!GetPrintData()->Ok())
+    if (!GetPrintData()->IsOk())
     {
         wxLogError(_("There was a problem during page setup: you may need to set a default printer."));
         return;