Give controls on frame statusbar a chance to paint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1f344abfcc
commit
e4edaf5cec
@ -520,7 +520,20 @@ void wxFrame::OnInternalIdle()
|
||||
if (m_frameToolBar) m_frameToolBar->OnInternalIdle();
|
||||
#endif
|
||||
#if wxUSE_STATUSBAR
|
||||
if (m_frameStatusBar) m_frameStatusBar->OnInternalIdle();
|
||||
if (m_frameStatusBar)
|
||||
{
|
||||
m_frameStatusBar->OnInternalIdle();
|
||||
|
||||
// There may be controls in the status bar that
|
||||
// need to be updated
|
||||
for ( wxWindowList::compatibility_iterator node = m_frameStatusBar->GetChildren().GetFirst();
|
||||
node;
|
||||
node = node->GetNext() )
|
||||
{
|
||||
wxWindow *child = node->GetData();
|
||||
child->OnInternalIdle();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -520,7 +520,20 @@ void wxFrame::OnInternalIdle()
|
||||
if (m_frameToolBar) m_frameToolBar->OnInternalIdle();
|
||||
#endif
|
||||
#if wxUSE_STATUSBAR
|
||||
if (m_frameStatusBar) m_frameStatusBar->OnInternalIdle();
|
||||
if (m_frameStatusBar)
|
||||
{
|
||||
m_frameStatusBar->OnInternalIdle();
|
||||
|
||||
// There may be controls in the status bar that
|
||||
// need to be updated
|
||||
for ( wxWindowList::compatibility_iterator node = m_frameStatusBar->GetChildren().GetFirst();
|
||||
node;
|
||||
node = node->GetNext() )
|
||||
{
|
||||
wxWindow *child = node->GetData();
|
||||
child->OnInternalIdle();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user