]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/treelistctrl.cpp
Use Update
[wxWidgets.git] / wxPython / contrib / gizmos / treelistctrl.cpp
index b72984d4b81e6efddaf09674a44f08f0e307d58c..fa64596b93a6542249642c90ddf0e0be083f0175 100644 (file)
@@ -4207,9 +4207,7 @@ void wxTreeListMainWindow::OnScroll(wxScrollWinEvent& event)
     if(event.GetOrientation() == wxHORIZONTAL)
     {
         m_owner->GetHeaderWindow()->Refresh();
     if(event.GetOrientation() == wxHORIZONTAL)
     {
         m_owner->GetHeaderWindow()->Refresh();
-#ifdef __WXMAC__
-        m_owner->GetHeaderWindow()->MacUpdateImmediately();
-#endif
+        m_owner->GetHeaderWindow()->Update();
     }
 }
 
     }
 }