Retrieve paper size from page setup dialog in wxOSX/Cocoa.
Call PMGetPageFormatPaper() when retrieving data from the native dialog. Closes #14047. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
880da677a4
commit
8334be51fb
@ -348,6 +348,8 @@ void wxOSXPrintData::TransferPrinterNameTo( wxPrintData &data )
|
||||
|
||||
void wxOSXPrintData::TransferPaperInfoTo( wxPrintData &data )
|
||||
{
|
||||
PMGetPageFormatPaper(m_macPageFormat, &m_macPaper);
|
||||
|
||||
PMPrinter printer ;
|
||||
PMSessionGetCurrentPrinter( m_macPrintSession, &printer );
|
||||
OSStatus err = noErr ;
|
||||
|
Loading…
Reference in New Issue
Block a user