Warning fixes for VC5 (Igor Korot)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-02-12 12:16:56 +00:00
parent 51d0522672
commit 8d7eaf9140
25 changed files with 61 additions and 53 deletions

View File

@@ -2564,7 +2564,7 @@ void wxListMainWindow::Thaw()
{
wxCHECK_RET( m_freezeCount > 0, _T("thawing unfrozen list control?") );
if ( !--m_freezeCount )
if ( --m_freezeCount == 0 )
Refresh();
}