]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
don't add WS_VISIBLE to all windows style (replaces patch 948992)
[wxWidgets.git] / src / common / framecmn.cpp
index b66e7a3f0de52fde94baa7b8e5b1f18d8fa2452c..f45162744039db5c8ff5565ec9f1aed1e56c4534 100644 (file)
@@ -155,7 +155,8 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
 {
     wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin();
 
-#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__)
+#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) && \
+  (!defined(__WXWINCE__) || (_WIN32_WCE >= 400 && !defined(WIN32_PLATFORM_PSPC) && !defined(WIN32_PLATFORM_WFSP)))
     wxToolBar *toolbar = GetToolBar();
     if ( toolbar && toolbar->IsShown() )
     {