]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
Paper size fix for wxOSX-cocoa
[wxWidgets.git] / src / common / docview.cpp
index 680ff2bde4d0b648ca71433520e5855770ac0d35..34df0b1c277cf538f86387eca2540c97e8000023 100644 (file)
@@ -1181,7 +1181,7 @@ void wxDocManager::OnPreview(wxCommandEvent& WXUNUSED(event))
             preview = new wxPrintPreview(printout,
                                          view->OnCreatePrintout(),
                                          &printDialogData);
-        if ( !preview->Ok() )
+        if ( !preview->IsOk() )
         {
             delete preview;
             wxLogError(_("Print preview creation failed."));