]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
wxRichTextCtrl native caret now flashes, for wxMac/Core Graphics mode
[wxWidgets.git] / src / generic / listctrl.cpp
index 5f7adb2fd1d692eb73d76e28cc602d0bece4409a..b62c9cf1f8932cac110c86bf4899a8c62f8080a8 100644 (file)
@@ -5198,4 +5198,18 @@ void wxGenericListCtrl::Refresh(bool eraseBackground, const wxRect *rect)
     }
 }
 
+void wxGenericListCtrl::Update()
+{
+    if ( m_mainWin )
+    {
+        if ( m_mainWin->m_dirty )
+            m_mainWin->RecalculatePositions();
+
+        m_mainWin->Update();
+    }
+
+    if ( m_headerWin )
+        m_headerWin->Update();
+}
+
 #endif // wxUSE_LISTCTRL