Cast needed to fix compilation on 10.4 --This line, and those below,
will be ignored-- M src/osx/cocoa/printdlg.mm git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
73bde1ef25
commit
9d5cfd0e64
@ -67,7 +67,7 @@ int wxMacPrintDialog::ShowModal()
|
||||
|
||||
NSPrintPanel* panel = [NSPrintPanel printPanel];
|
||||
NSPrintInfo* printInfo = ((wxOSXCocoaPrintData*)m_printDialogData.GetPrintData().GetNativeData())->GetNSPrintInfo();
|
||||
if ( [panel runModalWithPrintInfo:printInfo] == NSOKButton )
|
||||
if ( (NSInteger)[panel runModalWithPrintInfo:printInfo] == NSOKButton )
|
||||
{
|
||||
result = wxID_OK;
|
||||
m_printDialogData.GetPrintData().ConvertFromNative();
|
||||
|
Loading…
Reference in New Issue
Block a user