X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81d66cf39f810503baed79213bc3122fda0ccc7b..324511ce076e9646cf6a4bbced7af72373b4226e:/src/msw/gauge95.cpp diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 285d0581c1..d0ddf67099 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -50,6 +50,7 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id, if (parent) parent->AddChild(this); m_rangeMax = range; + m_gaugePos = 0; SetBackgroundColour(parent->GetDefaultBackgroundColour()) ; SetForegroundColour(parent->GetDefaultForegroundColour()) ;