WinCE doesn't like it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32089
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int wxEntry(int& argc, wxChar **argv)
{
int wxEntry(int& argc, wxChar **argv)
{
DisableAutomaticSETranslator();
DisableAutomaticSETranslator();
return wxEntryReal(argc, argv);
}
return wxEntryReal(argc, argv);
}
// using this flag results in very significant reduction in flicker,
// especially with controls inside the static boxes (as the interior of the
// 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
style |= WS_CLIPCHILDREN;
// it doesn't seem useful to use WS_CLIPSIBLINGS here as we officially