X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc4f1ff2655c4d01cb37505f70a5e985806121ce..ca6911c361b04290fe1f0e64b616249b3b3d71ba:/include/wx/generic/dataview.h diff --git a/include/wx/generic/dataview.h b/include/wx/generic/dataview.h index 08ad8128a0..35bee5a82a 100644 --- a/include/wx/generic/dataview.h +++ b/include/wx/generic/dataview.h @@ -259,7 +259,7 @@ public: virtual bool Render( wxRect cell, wxDC *dc, int state ); virtual wxSize GetSize() const; - virtual bool HasEditorCtrl() { return true; } + virtual bool HasEditorCtrl() const { return true; } virtual wxControl* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value ); virtual bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value ); @@ -463,6 +463,8 @@ public: virtual wxBorder GetDefaultBorder() const; + void StartEditor( const wxDataViewItem & item, unsigned int column ); + protected: virtual int GetSelections( wxArrayInt & sel ) const; virtual void SetSelections( const wxArrayInt & sel );