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:
@@ -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) )
|
||||
|
Reference in New Issue
Block a user