]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix to make frame visible under eVC 3.0
authorRobert Roebling <robert@roebling.de>
Thu, 15 Apr 2004 15:56:30 +0000 (15:56 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 15 Apr 2004 15:56:30 +0000 (15:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/toplevel.cpp

index a1b1de261e94bedab36e0a59c38538537d1b8694..ee7bed0b1feffe533b2af7b33a3ac26a40459c36 100644 (file)
@@ -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