X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2b6d07d7afcbb773c29bee419bc44b1987fac69..bb41dcbe3a1ee4df0cd6a44e9cfb6a55b5d94fd6:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 4abe465d33..cbf6bf21ee 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -151,7 +151,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const { wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin(); -#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) +#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) && !defined(__WXWINCE__) wxToolBar *toolbar = GetToolBar(); if ( toolbar && toolbar->IsShown() ) {