support for collate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -142,6 +142,7 @@ bool wxMacCarbonPrintData::TransferFrom( const wxPrintData &data )
|
|||||||
}
|
}
|
||||||
|
|
||||||
PMSetCopies( m_macPrintSettings , data.GetNoCopies() , false ) ;
|
PMSetCopies( m_macPrintSettings , data.GetNoCopies() , false ) ;
|
||||||
|
PMSetCollate(m_macPrintSettings, data.GetCollate());
|
||||||
if ( data.IsOrientationReversed() )
|
if ( data.IsOrientationReversed() )
|
||||||
PMSetOrientation( m_macPageFormat , ( data.GetOrientation() == wxLANDSCAPE ) ?
|
PMSetOrientation( m_macPageFormat , ( data.GetOrientation() == wxLANDSCAPE ) ?
|
||||||
kPMReverseLandscape : kPMReversePortrait , false ) ;
|
kPMReverseLandscape : kPMReversePortrait , false ) ;
|
||||||
@@ -216,7 +217,9 @@ bool wxMacCarbonPrintData::TransferTo( wxPrintData &data )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// collate cannot be set
|
Boolean collate;
|
||||||
|
if (PMGetCollate(m_macPrintSettings, &collate) == noErr)
|
||||||
|
data.SetCollate(collate);
|
||||||
#if 0
|
#if 0
|
||||||
{
|
{
|
||||||
wxMacCFStringHolder name ;
|
wxMacCFStringHolder name ;
|
||||||
|
Reference in New Issue
Block a user