X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/189d0213da7420f2589d27cb87f6d1813959326e..3dbeaa523d588da789a6d42bf618213e758ece2f:/include/wx/generic/grid.h diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 45c4400ae3..9932513d4d 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -167,6 +167,10 @@ public: // that first key if desired. virtual void StartingKey(wxKeyEvent& event); + // if the editor is enabled by clicking on the cell, this method will be + // called + virtual void StartingClick(); + // Some types of controls on some platforms may need some help // with the Return key. virtual void HandleReturn(wxKeyEvent& event); @@ -227,7 +231,7 @@ public: virtual bool EndEdit(int row, int col, bool saveValue, wxGrid* grid); virtual void Reset(); - virtual void StartingKey(wxKeyEvent& event); + virtual void StartingClick(); protected: wxCheckBox *CBox() const { return (wxCheckBox *)m_control; }