Make generic wxDataViewToggleRenderer react to activation.
Previously it only responded to single-clicks, which was to avoid the need to double-click checkboxes. Fixed to react to activation via double-click or keyboard too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -126,6 +126,11 @@ public:
|
||||
wxDataViewModel *model,
|
||||
const wxDataViewItem& item,
|
||||
unsigned int col);
|
||||
|
||||
virtual bool WXOnActivate(const wxRect& cell,
|
||||
wxDataViewModel *model,
|
||||
const wxDataViewItem& item,
|
||||
unsigned int col);
|
||||
private:
|
||||
bool m_toggle;
|
||||
|
||||
|
Reference in New Issue
Block a user