Avoid warnings from VC++ 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
// pause the stop watch
|
||||
void Pause()
|
||||
{
|
||||
if ( !m_pauseCount++ )
|
||||
if ( m_pauseCount++ == 0 )
|
||||
m_pause = GetElapsedTime();
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
wxASSERT_MSG( m_pauseCount > 0,
|
||||
_T("Resuming stop watch which is not paused") );
|
||||
|
||||
if ( !--m_pauseCount )
|
||||
if ( --m_pauseCount == 0 )
|
||||
Start(m_pause);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user