]> git.saurik.com Git - wxWidgets.git/commitdiff
replace wrong calss of Refresh() with (hopefully) correct calls to RefreshRow()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Oct 2007 23:25:11 +0000 (23:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Oct 2007 23:25:11 +0000 (23:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datavgen.cpp

index 0d0d5ebcae021290e685a179888db6e10b5dcffe..d1017ac6530ac12ed3a2e8fa9bd195d92addc290 100644 (file)
@@ -3366,12 +3366,12 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
                 if (m_underMouse && m_underMouse != node)
                 {
                     //wxLogMessage("Undo the row: %d", GetRowByItem(m_underMouse->GetItem()));
-                    Refresh(GetRowByItem(m_underMouse->GetItem()));
+                    RefreshRow(GetRowByItem(m_underMouse->GetItem()));
                 }
                 if (m_underMouse != node)
                 {
                     //wxLogMessage("Do the row: %d", current);
-                    Refresh(current);
+                    RefreshRow(current);
                 }
                 m_underMouse = node;
             }
@@ -3384,7 +3384,7 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
         if (m_underMouse != NULL)
         {
             //wxLogMessage("Undo the row: %d", GetRowByItem(m_underMouse->GetItem()));
-            Refresh(GetRowByItem(m_underMouse->GetItem()));
+            RefreshRow(GetRowByItem(m_underMouse->GetItem()));
             m_underMouse = NULL;
         }
     }