X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d5cfd0e64a2c09d957517405758de680806e674..81eaa4dab2246b96c460c38c711b5877b85d13a4:/src/osx/cocoa/printdlg.mm?ds=sidebyside diff --git a/src/osx/cocoa/printdlg.mm b/src/osx/cocoa/printdlg.mm index d10cea723a..c307a028ba 100644 --- a/src/osx/cocoa/printdlg.mm +++ b/src/osx/cocoa/printdlg.mm @@ -64,7 +64,7 @@ int wxMacPrintDialog::ShowModal() m_printDialogData.GetPrintData().ConvertToNative(); int result = wxID_CANCEL; - + NSPrintPanel* panel = [NSPrintPanel printPanel]; NSPrintInfo* printInfo = ((wxOSXCocoaPrintData*)m_printDialogData.GetPrintData().GetNativeData())->GetNSPrintInfo(); if ( (NSInteger)[panel runModalWithPrintInfo:printInfo] == NSOKButton ) @@ -92,7 +92,7 @@ int wxMacPageSetupDialog::ShowModal() m_pageSetupData.GetPrintData().ConvertFromNative(); m_pageSetupData.SetPaperSize( m_pageSetupData.GetPrintData().GetPaperSize() ); } - + return result; }