X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dbe38c3700099a9c3d8423131eff0a8f394a0a4..bbee1b4abc13379569607df8f6985ec68dc12231:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 8bc2ffb5db..4bcb11d5d0 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -152,7 +152,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const { wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin(); -#if wxUSE_TOOLBAR +#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) wxToolBar *toolbar = GetToolBar(); if ( toolbar && toolbar->IsShown() ) {