git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60464
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{ return SendEvent(evtType, m_currentCellCoords, s); }
// send wxEVT_GRID_{ROW,COL}_SIZE
{ return SendEvent(evtType, m_currentCellCoords, s); }
// send wxEVT_GRID_{ROW,COL}_SIZE
- void SendSizeEvent(wxEventType type,
- int row, int col,
- const wxMouseEvent& mouseEv);
+ void SendGridSizeEvent(wxEventType type,
+ int row, int col,
+ const wxMouseEvent& mouseEv);
void OnPaint( wxPaintEvent& );
void OnSize( wxSizeEvent& );
void OnPaint( wxPaintEvent& );
void OnSize( wxSizeEvent& );
// can't do anything else here
wxMouseEvent e;
e.SetState(wxGetMouseState());
// can't do anything else here
wxMouseEvent e;
e.SetState(wxGetMouseState());
- GetOwner()->SendSizeEvent(wxEVT_GRID_COL_SIZE, -1, idx, e);
+ GetOwner()->SendGridSizeEvent(wxEVT_GRID_COL_SIZE, -1, idx, e);
}
// overridden to react to the columns order changes in the customization
}
// overridden to react to the columns order changes in the customization
// TODO: generate RESIZING event, see #10754
AutoSizeRowLabelSize( row );
// TODO: generate RESIZING event, see #10754
AutoSizeRowLabelSize( row );
- SendSizeEvent(wxEVT_GRID_ROW_SIZE, row, -1, event);
+ SendGridSizeEvent(wxEVT_GRID_ROW_SIZE, row, -1, event);
ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
m_dragLastPos = -1;
ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
m_dragLastPos = -1;
// TODO: generate RESIZING event, see #10754
AutoSizeColLabelSize( colEdge );
// TODO: generate RESIZING event, see #10754
AutoSizeColLabelSize( colEdge );
- SendSizeEvent(wxEVT_GRID_COL_SIZE, -1, colEdge, event);
+ SendGridSizeEvent(wxEVT_GRID_COL_SIZE, -1, colEdge, event);
ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
m_dragLastPos = -1;
ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
m_dragLastPos = -1;
// TODO: generate RESIZING event, see #10754
if ( DoEndDragResizeLine(wxGridRowOperations()) )
// TODO: generate RESIZING event, see #10754
if ( DoEndDragResizeLine(wxGridRowOperations()) )
- SendSizeEvent(wxEVT_GRID_ROW_SIZE, m_dragRowOrCol, -1, event);
+ SendGridSizeEvent(wxEVT_GRID_ROW_SIZE, m_dragRowOrCol, -1, event);
}
void wxGrid::DoEndDragResizeCol(const wxMouseEvent& event)
}
void wxGrid::DoEndDragResizeCol(const wxMouseEvent& event)
// TODO: generate RESIZING event, see #10754
if ( DoEndDragResizeLine(wxGridColumnOperations()) )
// TODO: generate RESIZING event, see #10754
if ( DoEndDragResizeLine(wxGridColumnOperations()) )
- SendSizeEvent(wxEVT_GRID_COL_SIZE, -1, m_dragRowOrCol, event);
+ SendGridSizeEvent(wxEVT_GRID_COL_SIZE, -1, m_dragRowOrCol, event);
}
void wxGrid::DoStartMoveCol(int col)
}
void wxGrid::DoStartMoveCol(int col)
// ----------------------------------------------------------------------------
void
// ----------------------------------------------------------------------------
void
-wxGrid::SendSizeEvent(wxEventType type,
+wxGrid::SendGridSizeEvent(wxEventType type,
int row, int col,
const wxMouseEvent& mouseEv)
{
int row, int col,
const wxMouseEvent& mouseEv)
{