Use Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4207,9 +4207,7 @@ void wxTreeListMainWindow::OnScroll(wxScrollWinEvent& event)
|
||||
if(event.GetOrientation() == wxHORIZONTAL)
|
||||
{
|
||||
m_owner->GetHeaderWindow()->Refresh();
|
||||
#ifdef __WXMAC__
|
||||
m_owner->GetHeaderWindow()->MacUpdateImmediately();
|
||||
#endif
|
||||
m_owner->GetHeaderWindow()->Update();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user