X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2c19f1367399be8d3220fa1c0fcdcb0ff6b6ae..9b70925d3e82d58cf8082ad69c6f67ca6fd61895:/src/univ/gauge.cpp diff --git a/src/univ/gauge.cpp b/src/univ/gauge.cpp index 5043825c22..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 /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -33,8 +33,6 @@ #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; }