X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2c19f1367399be8d3220fa1c0fcdcb0ff6b6ae..3a4cf8a84d9a41c63125c1c1cdd6d0fbb98f41f0:/src/univ/gauge.cpp?ds=sidebyside diff --git a/src/univ/gauge.cpp b/src/univ/gauge.cpp index 5043825c22..798a998342 100644 --- a/src/univ/gauge.cpp +++ b/src/univ/gauge.cpp @@ -1,12 +1,11 @@ /////////////////////////////////////////////////////////////////////////////// -// 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 /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -33,8 +32,6 @@ #include "wx/univ/renderer.h" -IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl) - // ============================================================================ // implementation // ============================================================================ @@ -64,7 +61,7 @@ bool wxGauge::Create(wxWindow *parent, return false; } - SetBestSize(size); + SetInitialSize(size); return true; }