X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c75d190a0ac1671b1d2af75ba8928716d77bf823..1fef34b9eed0afe7f3d65f7c62bd85a679a5b6db:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 64ea131143..d3d3e62a5c 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -68,6 +68,10 @@ #define wxUSE_OLE 0 #endif // broken compilers +#if defined(__POCKETPC__) || defined(__SMARTPHONE__) +#include +#endif + #if wxUSE_OLE #include #endif @@ -82,12 +86,6 @@ #include "wx/msw/wince/missing.h" #endif -#if (!defined(__MINGW32__) || wxCHECK_W32API_VERSION( 2, 0 )) && \ - !defined(__CYGWIN__) && !defined(__DIGITALMARS__) && !defined(__WXWINCE__) && \ - (!defined(_MSC_VER) || (_MSC_VER > 1100)) - #include -#endif - // --------------------------------------------------------------------------- // global variables // --------------------------------------------------------------------------- @@ -300,6 +298,10 @@ bool wxApp::Initialize(int& argc, wxChar **argv) InitCommonControls(); #endif // __WIN95__ +#if defined(__SMARTPHONE__) || defined(__POCKETPC__) + SHInitExtraControls(); +#endif + wxOleInitialize(); RegisterWindowClasses();