git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31027
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
FreeWidths();
FreeStacks();
{
FreeWidths();
FreeStacks();
// notify the frame that it doesn't have a status bar any longer to avoid
// dangling pointers
// notify the frame that it doesn't have a status bar any longer to avoid
// dangling pointers
void wxStatusBarBase::FreeStacks()
{
void wxStatusBarBase::FreeStacks()
{
- if(!m_statusTextStacks) return;
- size_t i;
+ if ( !m_statusTextStacks )
+ return;
- for(i = 0; i < (size_t)m_nFields; ++i)
+ for ( size_t i = 0; i < (size_t)m_nFields; ++i )
- if(m_statusTextStacks[i])
+ if ( m_statusTextStacks[i] )
{
wxListString& t = *m_statusTextStacks[i];
WX_CLEAR_LIST(wxListString, t);
{
wxListString& t = *m_statusTextStacks[i];
WX_CLEAR_LIST(wxListString, t);