Now fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1037,7 +1037,7 @@ bool wxWindowsPageSetupDialog::ConvertFromNative( wxPageSetupDialogData &data )
|
||||
data.EnableHelp( ((pd->Flags & PSD_SHOWHELP) == PSD_SHOWHELP) );
|
||||
|
||||
// PAGESETUPDLG is in hundreds of a mm
|
||||
if (data.GetOrientation() == wxLANDSCAPE)
|
||||
if (data.GetPrintData().GetOrientation() == wxLANDSCAPE)
|
||||
data.SetPaperSize( wxSize(pd->ptPaperSize.y / 100, pd->ptPaperSize.x / 100) );
|
||||
else
|
||||
data.SetPaperSize( wxSize(pd->ptPaperSize.x / 100, pd->ptPaperSize.y / 100) );
|
||||
|
Reference in New Issue
Block a user