X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7da33e042c4e373e2e97e428f5c174f324c69c93..4681a3ea0d0502ec7a787bc4dd24e43718a02b7c:/src/msw/printdlg.cpp diff --git a/src/msw/printdlg.cpp b/src/msw/printdlg.cpp index 2d6717597a..205009999b 100644 --- a/src/msw/printdlg.cpp +++ b/src/msw/printdlg.cpp @@ -201,7 +201,7 @@ bool wxWindowsPrintNativeData::TransferTo( wxPrintData &data ) //// Orientation if (devMode->dmFields & DM_ORIENTATION) - data.SetOrientation( devMode->dmOrientation ); + data.SetOrientation( (wxPrintOrientation)devMode->dmOrientation ); //// Collation if (devMode->dmFields & DM_COLLATE)