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() ) {