git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -961,8 +961,8 @@ void GridFrame::OnShowSelection(wxCommandEvent& WXUNUSED(event))
|
||||
single = _T("column");
|
||||
}
|
||||
|
||||
const wxArrayInt sels(rows ? grid->GetSelectedRows()
|
||||
: grid->GetSelectedCols());
|
||||
const wxArrayInt sels((const wxArrayInt)(rows ? grid->GetSelectedRows()
|
||||
: grid->GetSelectedCols()));
|
||||
size_t count = sels.size();
|
||||
wxLogMessage(_T("%lu %s selected:"),
|
||||
(unsigned long)count, plural);
|
||||
|
Reference in New Issue
Block a user