Fix harmless g++ 4.3 warning about "suggested braces".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-01-22 22:01:58 +00:00
parent f5ddb02e65
commit 705d0c55ac

View File

@@ -2732,10 +2732,12 @@ void wxListMainWindow::Thaw()
wxCHECK_RET( m_freezeCount > 0, _T("thawing unfrozen list control?") );
if ( --m_freezeCount == 0 )
{
if (m_dirty)
RecalculatePositions();
else
Refresh();
}
}
void wxListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )