From c1855476b1c7afadef8c6df741d3155f94fab3ce Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 15 Apr 2004 15:56:30 +0000 Subject: [PATCH] Fix to make frame visible under eVC 3.0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/toplevel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index a1b1de261e..ee7bed0b1f 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -152,6 +152,10 @@ WXDWORD wxTopLevelWindowMSW::MSWGetStyle(long style, WXDWORD *exflags) const (style & ~wxBORDER_MASK) | wxBORDER_NONE, exflags ) & ~WS_CHILD & ~WS_VISIBLE; +#if defined(__WXWINCE__) && _WIN32_WCE < 400 + msflags |= WS_VISIBLE; +#endif + // first select the kind of window being created // // note that if we don't set WS_POPUP, Windows assumes WS_OVERLAPPED and -- 2.45.2