X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2b6d07d7afcbb773c29bee419bc44b1987fac69..4a93ea29b583718ec19613d6af98ff1ce9cc0ea3:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 4abe465d33..87c94e3fe3 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "framebase.h" #endif @@ -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() ) {