More WinCE mods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-11 11:21:47 +00:00
parent 5e9670446a
commit 1c193821a9
34 changed files with 685 additions and 113 deletions

View File

@@ -48,13 +48,12 @@
#endif // wxUSE_PRINTING_ARCHITECTURE
#ifdef __WXMSW__
#include <windows.h>
#include <windowsx.h>
#include "wx/msw/private.h"
#if !defined(__WIN32__)
#include <print.h>
#ifdef __WXWINCE__
#include <commdlg.h>
#endif // Win16
#endif
#if defined(__WATCOMC__) || defined(__SYMANTEC__) || defined(__SALFORDC__)
#include <windowsx.h>
@@ -327,7 +326,11 @@ void wxPrintData::ConvertToNative()
pd.lStructSize = 66;
#else
memset(&pd, 0, sizeof(PRINTDLG));
#ifdef __WXWINCE__
pd.cbStruct = sizeof(PRINTDLG);
#else
pd.lStructSize = sizeof(PRINTDLG);
#endif
#endif
pd.hwndOwner = (HWND)NULL;