X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfc40ef3439ae7b5f06918d61ae081aec75c6eda..4b2424bcadbc87babd3367d243b957e49333eeae:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index ea3044497a..e77f69dd65 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -213,12 +213,6 @@ bool wxApp::Initialize() } #endif // wxUSE_UNICODE && !wxUSE_UNICODE_MSLU - // Some people may wish to use this, but - // probably it shouldn't be here by default. -#ifdef __WXDEBUG__ - // wxRedirectIOToConsole(); -#endif - wxBuffer = new wxChar[1500]; // FIXME wxClassInfo::InitializeClasses(); @@ -252,9 +246,11 @@ bool wxApp::Initialize() ; #endif // Win16 +#if wxUSE_OLE // we need to initialize OLE library if ( FAILED(::OleInitialize(NULL)) ) wxLogError(_("Cannot initialize OLE")); +#endif #endif // wxUSE_OLE