25 #ifndef _GRID_TRICKS_H_ 26 #define _GRID_TRICKS_H_ 74 bool toggleCell(
int aRow,
int aCol,
bool aPreserveSelection =
false );
78 virtual void paste_text(
const wxString& cb_text );
79 virtual void cutcopy(
bool doCopy,
bool doDelete );
91 #endif // _GRID_TRICKS_H_
void onGridLabelLeftClick(wxGridEvent &event)
void getSelectedArea()
Puts the selected area into a sensible rectangle of m_sel_{row,col}_{start,count} above.
void onGridCellLeftClick(wxGridEvent &event)
Add mouse and command handling (such as cut, copy, and paste) to a WX_GRID instance.
void onGridCellRightClick(wxGridEvent &event)
virtual bool handleDoubleClick(wxGridEvent &aEvent)
GRID_TRICKS(WX_GRID *aGrid)
void onGridCellLeftDClick(wxGridEvent &event)
WX_GRID * m_grid
I don't own the grid, but he owns me.
virtual void paste_text(const wxString &cb_text)
void onPopupSelection(wxCommandEvent &event)
bool toggleCell(int aRow, int aCol, bool aPreserveSelection=false)
bool showEditor(int aRow, int aCol)
virtual void cutcopy(bool doCopy, bool doDelete)
virtual void paste_clipboard()
void onUpdateUI(wxUpdateUIEvent &event)
void onGridLabelRightClick(wxGridEvent &event)
virtual void doPopupSelection(wxCommandEvent &event)
virtual void showPopupMenu(wxMenu &menu)
void onKeyDown(wxKeyEvent &ev)