X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a290fa5a7deebe9d96c0c0089d18e27d4bd9b624..5bf3f27fc91ff3288000c0134ac4bdfdf2e7db4f:/src/univ/gauge.cpp?ds=inline diff --git a/src/univ/gauge.cpp b/src/univ/gauge.cpp index b6cf655b04..c887c2cf17 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" @@ -28,12 +24,12 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP -#endif //WX_PRECOMP +#if wxUSE_GAUGE #include "wx/gauge.h" -#if wxUSE_GAUGE +#ifndef WX_PRECOMP +#endif //WX_PRECOMP #include "wx/univ/renderer.h" @@ -68,7 +64,7 @@ bool wxGauge::Create(wxWindow *parent, return false; } - SetBestSize(size); + SetInitialSize(size); return true; }