#endif
}
-#if defined(__WXMSW__) && defined(__WIN32__)
+#if defined(__WXMSW__) // && defined(__WIN32__)
+#ifdef __WIN32__
static wxString wxGetPrintDlgError()
{
DWORD err = CommDlgExtendedError();
}
return msg;
}
-
-
+#endif
void wxPrintData::ConvertToNative()
{
//// Collation
+#ifndef __WIN16__
devMode->dmCollate = (m_printCollate ? DMCOLLATE_TRUE : DMCOLLATE_FALSE);
devMode->dmFields |= DM_COLLATE;
+#endif
//// Number of copies
//// Collation
+#ifndef __WIN16__
if (devMode->dmFields & DM_COLLATE)
{
if (devMode->dmCollate == DMCOLLATE_TRUE)
else
m_printCollate = FALSE;
}
+#endif
//// Number of copies
#ifdef __GNUWIN32__
pd->lStructSize = 66 ;
#else
-#endif
pd->lStructSize = sizeof(PRINTDLG);
+#endif
pd->hwndOwner = (HWND)NULL;
pd->hDevMode = NULL; // Will be created by PrintDlg
pd->hDevNames = NULL; // Ditto