X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfeafba1328a39299e17a710675d2597f6ef4bf2..9d39cef7ef8f2dddce244846cca3a346508ae2af:/src/univ/ctrlrend.cpp diff --git a/src/univ/ctrlrend.cpp b/src/univ/ctrlrend.cpp index a693d45657..a3fb8739bc 100644 --- a/src/univ/ctrlrend.cpp +++ b/src/univ/ctrlrend.cpp @@ -17,7 +17,7 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "renderer.h" #endif @@ -545,7 +545,7 @@ void wxControlRenderer::DrawBitmap(wxDC &dc, } void wxControlRenderer::DrawScrollbar(const wxScrollBar *scrollbar, - int thumbPosOld) + int WXUNUSED(thumbPosOld)) { // we will only redraw the parts which must be redrawn and not everything wxRegion rgnUpdate = scrollbar->GetUpdateRegion();