Refresh(row) should be RefreshRow(row), otherwise it's whole window refreshing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1235,7 +1235,7 @@ void wxDataViewMainWindow::ReverseRowSelection( size_t row )
|
||||
m_selection.Add( row );
|
||||
else
|
||||
m_selection.Remove( row );
|
||||
Refresh( row );
|
||||
RefreshRow( row );
|
||||
}
|
||||
|
||||
bool wxDataViewMainWindow::IsRowSelected( size_t row )
|
||||
@@ -1767,4 +1767,3 @@ bool wxDataViewCtrl::AppendColumn( wxDataViewColumn *col )
|
||||
|
||||
#endif
|
||||
// wxUSE_DATAVIEWCTRL
|
||||
|
||||
|
Reference in New Issue
Block a user