]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for white area above frame because of funky
authorRobert Roebling <robert@roebling.de>
Thu, 15 Apr 2004 15:58:25 +0000 (15:58 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 15 Apr 2004 15:58:25 +0000 (15:58 +0000)
    toolbar/menubar-mix implementation under eVC 3.0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/framecmn.cpp

index b66e7a3f0de52fde94baa7b8e5b1f18d8fa2452c..74b8205590c7f3e75dad61002e3b9cd2bc2e977b 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 && !wxUSE_POCKETPC_UI))
     wxToolBar *toolbar = GetToolBar();
     if ( toolbar && toolbar->IsShown() )
     {