#include "wx/printdlg.h"
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
#include "wx/object.h"
#include "wx/dcprint.h"
#include "wx/msgdlg.h"
((wxMacCarbonPrintData*)m_printDialogData.GetPrintData().GetNativeData())->TransferFrom( &m_printDialogData );
int result = wxID_CANCEL;
+
+#ifdef __LP64__
+ // TODO use NSPrintPanel
+#else
OSErr err = noErr;
Boolean accepted;
-
err = PMSessionPrintDialog(
((wxMacCarbonPrintData*)m_printDialogData.GetPrintData().GetNativeData())->m_macPrintSession,
((wxMacCarbonPrintData*)m_printDialogData.GetPrintData().GetNativeData())->m_macPrintSettings,
m_printDialogData.GetPrintData().ConvertFromNative();
((wxMacCarbonPrintData*)m_printDialogData.GetPrintData().GetNativeData())->TransferTo( &m_printDialogData );
}
-
+#endif
return result;
}
((wxMacCarbonPrintData*)m_pageSetupData.GetPrintData().GetNativeData())->TransferFrom( &m_pageSetupData );
int result = wxID_CANCEL;
+#ifdef __LP64__
+#else
OSErr err = noErr;
Boolean accepted;
m_pageSetupData.SetPaperSize( m_pageSetupData.GetPrintData().GetPaperSize() );
((wxMacCarbonPrintData*)m_pageSetupData.GetPrintData().GetNativeData())->TransferTo( &m_pageSetupData );
}
-
+#endif
return result;
}