No changes whatsoever, just remove trailing whitespace.
There are no real changes in this commit but it removes all trailing white space from our source files. This avoids problems when applying patches and making diffs and it would be nice to prevent it from reappearing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,7 +95,7 @@ void wxDataViewColumn::Init(int width, wxAlignment align, int flags)
|
||||
m_sort = false;
|
||||
m_sortAscending = true;
|
||||
}
|
||||
|
||||
|
||||
void wxDataViewColumn::UpdateDisplay()
|
||||
{
|
||||
if (m_owner)
|
||||
@@ -3815,7 +3815,7 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
|
||||
else if ( align & wxALIGN_BOTTOM )
|
||||
rectItem.y += cell_rect.height - size.y;
|
||||
// else: wxALIGN_TOP is the default
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
wxPoint pos( event.GetPosition() );
|
||||
@@ -4146,7 +4146,7 @@ int wxDataViewCtrl::GetColumnPosition( const wxDataViewColumn *column ) const
|
||||
if (column==col)
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
return wxNOT_FOUND;
|
||||
#else
|
||||
// This returns the position in pixels which is not what we want.
|
||||
@@ -4248,9 +4248,9 @@ void wxDataViewCtrl::Select( const wxDataViewItem & item )
|
||||
// Unselect all rows before select another in the single select mode
|
||||
if (m_clientArea->IsSingleSel())
|
||||
m_clientArea->SelectAllRows(false);
|
||||
|
||||
|
||||
m_clientArea->SelectRow(row, true);
|
||||
|
||||
|
||||
// Also set focus to the selected item
|
||||
m_clientArea->ChangeCurrentRow( row );
|
||||
}
|
||||
|
Reference in New Issue
Block a user