]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printdlg.cpp
Add support for QNX to dialup detection code.
[wxWidgets.git] / src / msw / printdlg.cpp
index 2d6717597a190ff1dd6430b58ed0e5572f57b4cf..205009999b142ba4ae042073a06f56b97b4fe203 100644 (file)
@@ -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)