Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -56,11 +56,6 @@
|
||||
#include <commdlg.h>
|
||||
#endif // Win16
|
||||
|
||||
#ifdef __WXWINE__
|
||||
#include <cderr.h>
|
||||
#include <commdlg.h>
|
||||
#endif
|
||||
|
||||
#if defined(__WATCOMC__) || defined(__SC__) || defined(__SALFORDC__)
|
||||
#include <windowsx.h>
|
||||
#include <commdlg.h>
|
||||
@@ -485,10 +480,7 @@ void wxPrintData::ConvertToNative()
|
||||
|
||||
//// Orientation
|
||||
|
||||
#ifndef __WXWINE__
|
||||
devMode->dmOrientation = m_printOrientation;
|
||||
#endif
|
||||
devMode->dmFields = DM_ORIENTATION;
|
||||
|
||||
//// Collation
|
||||
|
||||
@@ -520,7 +512,6 @@ void wxPrintData::ConvertToNative()
|
||||
|
||||
devMode->dmFields |= DM_COLOR;
|
||||
|
||||
#ifndef __WXWINE__
|
||||
//// Paper size
|
||||
|
||||
if (m_paperId == wxPAPER_NONE)
|
||||
@@ -544,7 +535,6 @@ void wxPrintData::ConvertToNative()
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
//// Duplex
|
||||
|
||||
@@ -613,12 +603,10 @@ void wxPrintData::ConvertFromNative()
|
||||
{
|
||||
LPDEVMODE devMode = (LPDEVMODE)GlobalLock(hDevMode);
|
||||
|
||||
#ifndef __WXWINE__
|
||||
//// Orientation
|
||||
|
||||
if (devMode->dmFields & DM_ORIENTATION)
|
||||
m_printOrientation = devMode->dmOrientation;
|
||||
#endif
|
||||
|
||||
//// Collation
|
||||
|
||||
@@ -658,7 +646,6 @@ void wxPrintData::ConvertFromNative()
|
||||
else
|
||||
m_colour = TRUE;
|
||||
|
||||
#ifndef __WXWINE__
|
||||
//// Paper size
|
||||
|
||||
// We don't know size of user defined paper and some buggy drivers
|
||||
@@ -712,7 +699,6 @@ void wxPrintData::ConvertFromNative()
|
||||
m_paperSize.y = 0;
|
||||
m_paperId = wxPAPER_NONE;
|
||||
}
|
||||
#endif
|
||||
|
||||
//// Duplex
|
||||
|
||||
|
Reference in New Issue
Block a user