initial value set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2002-05-21 20:43:40 +00:00
parent 6fda4e7a68
commit e6c1d9afee
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
Rect bounds ;
Str255 title ;
m_rangeMax = range ;
m_gaugePos = 0 ;
if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
{

View File

@ -33,6 +33,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
Rect bounds ;
Str255 title ;
m_rangeMax = range ;
m_gaugePos = 0 ;
if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
{