X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..98af9c738332c9a24475ad19efbfabe2b152c429:/src/univ/gauge.cpp?ds=sidebyside diff --git a/src/univ/gauge.cpp b/src/univ/gauge.cpp index c8ebbb2289..898d4effa3 100644 --- a/src/univ/gauge.cpp +++ b/src/univ/gauge.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "gaugeuniv.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -65,12 +61,12 @@ bool wxGauge::Create(wxWindow *parent, if ( !wxGaugeBase::Create(parent, id, range, pos, size, style, validator, name) ) { - return FALSE; + return false; } SetBestSize(size); - return TRUE; + return true; } // ---------------------------------------------------------------------------- @@ -104,12 +100,12 @@ wxSize wxGauge::DoGetBestClientSize() const if ( IsVertical() ) { size.x = (3*size.y) / 2 + 2; - size.y = -1; + size.y = wxDefaultCoord; } else { size.y = (3*size.x) / 2 + 2; - size.x = -1; + size.x = wxDefaultCoord; } return size;