X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a290fa5a7deebe9d96c0c0089d18e27d4bd9b624..d7b284e5c62523c9a43e26977672b4ff7c5b8981:/src/univ/ctrlrend.cpp diff --git a/src/univ/ctrlrend.cpp b/src/univ/ctrlrend.cpp index 39f549ef1e..6f13810965 100644 --- a/src/univ/ctrlrend.cpp +++ b/src/univ/ctrlrend.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "renderer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -177,7 +173,8 @@ wxRect wxRenderer::StandardGetScrollbarRect(const wxScrollBar *scrollbar, } wxSize sizeTotal = scrollbar->GetClientSize(); - wxCoord *start, *width, length, arrow; + wxCoord *start, *width; + wxCoord length, arrow; wxRect rect; if ( scrollbar->IsVertical() ) { @@ -813,7 +810,8 @@ void wxControlRenderer::DrawProgressBar(const wxGauge *gauge) int steps = ((lenTotal + step - 1) * pos) / (max * step); // calc the coords of one small rect - wxCoord *px, dx, dy; + wxCoord *px; + wxCoord dx, dy; if ( gauge->IsVertical() ) { // draw from bottom to top: so first set y to the bottom