From c0aadc6f40301f99cbdcc345807b808737a492bf Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 15 Feb 2005 22:54:38 +0000 Subject: [PATCH] Absolutely no idea what DisableAutomaticSETranslator is but WinCE doesn't like it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/main.cpp | 2 ++ src/msw/window.cpp | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 83f224db2c..15741e3ed7 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -239,7 +239,9 @@ wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep)) int wxEntry(int& argc, wxChar **argv) { +#ifndef __WXWINCE__ DisableAutomaticSETranslator(); +#endif return wxEntryReal(argc, argv); } diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 7d7bdf9bdd..9888a26491 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1146,8 +1146,9 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const // using this flag results in very significant reduction in flicker, // especially with controls inside the static boxes (as the interior of the - // box is not redrawn twice) - if (!wxSystemOptions::GetOptionInt(wxT("msw.window.no-clip-children")) == 1) + // box is not redrawn twice). + // wxCLIP_CHILDREN support is for compatibility with old applications only. + if ((!wxSystemOptions::GetOptionInt(wxT("msw.window.no-clip-children")) == 1) || (flags & wxCLIP_CHILDREN)) style |= WS_CLIPCHILDREN; // it doesn't seem useful to use WS_CLIPSIBLINGS here as we officially -- 2.45.2