X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd303fbbc1e3b7406d0ada0f2789e4a052282966..2abd8d78a69cbe726f957de91929feeeac21cfb0:/wxPython/contrib/gizmos/treelistctrl.cpp?ds=inline 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(); } }