// Created: 27.03.01
// Id: $Id$
// Copyright: (c) 2001 Vadim Zeitlin
-// License: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
wxDefaultPosition, wxDefaultSize,
flags);
m_gauge->SetValue(val);
-
+
if ( flags & wxGA_VERTICAL )
m_sizerGauge->Add(m_gauge, 0, wxGROW | wxALL, 5);
else
wxCHECK_RET( m_timer, wxT("shouldn't be called") );
m_timer->Stop();
- delete m_timer;
- m_timer = NULL;
+ wxDELETE(m_timer);
if (clicked->GetId() == GaugePage_Progress)
{
{
StopTimer(b);
+ m_gauge->SetValue(0);
+
wxLogMessage(wxT("Stopped the timer."));
}
}