X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2571a33fd3292007bef177a5063736b128c52c8a..3d5930b5ea5cd28d97ca9df147cd48bc51061480:/include/wx/generic/dataview.h diff --git a/include/wx/generic/dataview.h b/include/wx/generic/dataview.h index 8296c5eef8..a10ee6606b 100644 --- a/include/wx/generic/dataview.h +++ b/include/wx/generic/dataview.h @@ -389,8 +389,6 @@ class WXDLLIMPEXP_ADV wxDataViewCtrl: public wxDataViewCtrlBase, public: wxDataViewCtrl() : wxScrollHelperNative(this) { - //No sorting column at start, I think - m_sortingColumn = NULL; Init(); } @@ -400,7 +398,6 @@ public: const wxValidator& validator = wxDefaultValidator ) : wxScrollHelperNative(this) { - m_sortingColumn = NULL; Create(parent, id, pos, size, style, validator ); } @@ -447,6 +444,8 @@ public: virtual void Expand( const wxDataViewItem & item ); virtual void Collapse( const wxDataViewItem & item ); + + virtual void SetFocus(); protected: virtual int GetSelections( wxArrayInt & sel ) const;