From: Vadim Zeitlin Date: Sun, 4 Apr 2004 22:37:11 +0000 (+0000) Subject: do take the toolbar into account for Windows CE, otherwise the menus overlap with... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8f4d9fcd9a1133442aa733e978231b01956e641b do take the toolbar into account for Windows CE, otherwise the menus overlap with the frame client area git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 2070a9cde3..b66e7a3f0d 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -155,7 +155,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const { wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin(); -#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) && !defined(__WXWINCE__) +#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) wxToolBar *toolbar = GetToolBar(); if ( toolbar && toolbar->IsShown() ) {