X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/befa69771ae5683eb408a95035a71d7a599e350c..425de63dcc3c6d7a9513e907c3e404252ea2d856:/wxPython/contrib/gizmos/treelistctrl.cpp diff --git a/wxPython/contrib/gizmos/treelistctrl.cpp b/wxPython/contrib/gizmos/treelistctrl.cpp index b72984d4b8..fa64596b93 100644 --- a/wxPython/contrib/gizmos/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/treelistctrl.cpp @@ -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(); } }