Tried to fix GTK+ 2.0 compilos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -442,6 +442,7 @@ void wxPrintData::ConvertToNative()
|
||||
// DEVMODE is in tenths of a milimeter
|
||||
devMode->dmPaperWidth = m_paperSize.x * 10;
|
||||
devMode->dmPaperLength = m_paperSize.y * 10;
|
||||
devMode->dmPaperSize = DMPAPER_USER;
|
||||
devMode->dmFields |= DM_PAPERWIDTH;
|
||||
devMode->dmFields |= DM_PAPERLENGTH;
|
||||
}
|
||||
|
Reference in New Issue
Block a user