X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..373a4816d447cbf6da448e139cd577599c866e86:/src/univ/gauge.cpp?ds=sidebyside diff --git a/src/univ/gauge.cpp b/src/univ/gauge.cpp index 898d4effa3..663a8ffe8e 100644 --- a/src/univ/gauge.cpp +++ b/src/univ/gauge.cpp @@ -1,12 +1,12 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: src/gauge/gaugecmn.cpp +// Name: src/gauge/gauge.cpp // Purpose: wxGauge for wxUniversal // Author: Vadim Zeitlin // Modified by: // Created: 20.02.01 // RCS-ID: $Id$ // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -24,17 +24,15 @@ #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" -IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl) - // ============================================================================ // implementation // ============================================================================ @@ -64,7 +62,7 @@ bool wxGauge::Create(wxWindow *parent, return false; } - SetBestSize(size); + SetInitialSize(size); return true; }