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:
Kevin Ollivier 2009-02-28 00:19:59 +00:00
parent 73bde1ef25
commit 9d5cfd0e64

View File

@ -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();