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