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:
parent
6fda4e7a68
commit
e6c1d9afee
@ -33,6 +33,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
|
|||||||
Rect bounds ;
|
Rect bounds ;
|
||||||
Str255 title ;
|
Str255 title ;
|
||||||
m_rangeMax = range ;
|
m_rangeMax = range ;
|
||||||
|
m_gaugePos = 0 ;
|
||||||
|
|
||||||
if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
|
if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
|
||||||
{
|
{
|
||||||
|
@ -33,6 +33,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
|
|||||||
Rect bounds ;
|
Rect bounds ;
|
||||||
Str255 title ;
|
Str255 title ;
|
||||||
m_rangeMax = range ;
|
m_rangeMax = range ;
|
||||||
|
m_gaugePos = 0 ;
|
||||||
|
|
||||||
if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
|
if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user