From: Vadim Zeitlin Date: Sat, 20 Oct 2007 23:25:11 +0000 (+0000) Subject: replace wrong calss of Refresh() with (hopefully) correct calls to RefreshRow() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/df2c23e79b4a1753ec56d06c578bcf44c156946c replace wrong calss of Refresh() with (hopefully) correct calls to RefreshRow() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 0d0d5ebcae..d1017ac653 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -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; } }