setting All Pages if To is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -274,7 +274,13 @@ void wxMacCarbonPrintData::TransferFrom( wxPrintDialogData* data )
|
|||||||
|
|
||||||
int toPage = data->GetToPage();
|
int toPage = data->GetToPage();
|
||||||
if (toPage < 1)
|
if (toPage < 1)
|
||||||
toPage = data->GetFromPage();
|
{
|
||||||
|
PMSetLastPage( m_macPrintSettings , kPMPrintAllPages, true ) ;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
PMSetLastPage( m_macPrintSettings , toPage , false ) ;
|
||||||
|
}
|
||||||
PMSetLastPage( m_macPrintSettings , toPage , false ) ;
|
PMSetLastPage( m_macPrintSettings , toPage , false ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user