]> git.saurik.com Git - wxWidgets.git/commitdiff
Paper size fix for wxOSX-cocoa
authorRobin Dunn <robin@alldunn.com>
Sat, 25 Jun 2011 00:15:00 +0000 (00:15 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 25 Jun 2011 00:15:00 +0000 (00:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/printdlg.mm

index 83186372d365089c9d9345c49f5d375f5d3b3d6f..d74128d3a9032d5a74d2266d78a85309c3f3158f 100644 (file)
@@ -37,6 +37,7 @@ wxOSXCocoaPrintData::wxOSXCocoaPrintData()
     m_macPageFormat = (PMPageFormat) [m_macPrintInfo PMPageFormat];
     m_macPrintSettings = (PMPrintSettings) [m_macPrintInfo PMPrintSettings];
     m_macPrintSession = (PMPrintSession) [m_macPrintInfo PMPrintSession] ;
+    PMGetPageFormatPaper(m_macPageFormat, &m_macPaper);
 }
 
 wxOSXCocoaPrintData::~wxOSXCocoaPrintData()