]> git.saurik.com Git - wxWidgets.git/commitdiff
Use Update
authorRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 19:53:53 +0000 (19:53 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 19:53:53 +0000 (19:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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