Use Update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-15 19:53:53 +00:00
parent befa69771a
commit 425de63dcc

View File

@@ -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();
}
}