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:
@@ -67,7 +67,7 @@ int wxMacPrintDialog::ShowModal()
|
|||||||
|
|
||||||
NSPrintPanel* panel = [NSPrintPanel printPanel];
|
NSPrintPanel* panel = [NSPrintPanel printPanel];
|
||||||
NSPrintInfo* printInfo = ((wxOSXCocoaPrintData*)m_printDialogData.GetPrintData().GetNativeData())->GetNSPrintInfo();
|
NSPrintInfo* printInfo = ((wxOSXCocoaPrintData*)m_printDialogData.GetPrintData().GetNativeData())->GetNSPrintInfo();
|
||||||
if ( [panel runModalWithPrintInfo:printInfo] == NSOKButton )
|
if ( (NSInteger)[panel runModalWithPrintInfo:printInfo] == NSOKButton )
|
||||||
{
|
{
|
||||||
result = wxID_OK;
|
result = wxID_OK;
|
||||||
m_printDialogData.GetPrintData().ConvertFromNative();
|
m_printDialogData.GetPrintData().ConvertFromNative();
|
||||||
|
Reference in New Issue
Block a user