remove const from pass-by-value parameters
This commit is contained in:
@@ -4630,7 +4630,7 @@ wxGrid::SendGridSizeEvent(wxEventType type,
|
||||
// +1 if the event was processed (but not vetoed)
|
||||
// 0 if the event wasn't handled
|
||||
int
|
||||
wxGrid::SendEvent(const wxEventType type,
|
||||
wxGrid::SendEvent(wxEventType type,
|
||||
int row, int col,
|
||||
const wxMouseEvent& mouseEv)
|
||||
{
|
||||
@@ -4705,7 +4705,7 @@ wxGrid::SendEvent(const wxEventType type,
|
||||
// Generate a grid event of specified type, return value same as above
|
||||
//
|
||||
int
|
||||
wxGrid::SendEvent(const wxEventType type, int row, int col, const wxString& s)
|
||||
wxGrid::SendEvent(wxEventType type, int row, int col, const wxString& s)
|
||||
{
|
||||
wxGridEvent gridEvt( GetId(), type, this, row, col );
|
||||
gridEvt.SetString(s);
|
||||
|
Reference in New Issue
Block a user