]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/dataview.h
Cleanup of wxDataViewCtrl cell activation code.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 19 Oct 2011 16:20:17 +0000 (16:20 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 19 Oct 2011 16:20:17 +0000 (16:20 +0000)
commitdc73d7f5d468881a9cbb71f1a234f364ff52ceaa
tree09bf386a73966c926248a84de3143ef3f86a3ca1
parent4a99d5975088e9c3cf05b3d4d9889bd9b70ea75d
Cleanup of wxDataViewCtrl cell activation code.

Fix confusion of what cell activation is and inconsistence with native
handling in GTK+. Document the distinction between activating (~
editing) a cell and activating (double-clicking) the whole item.

Deprecate wxDataViewCustomRenderer::LeftClick() and Activate() methods,
replace them with single ActivateCell() that is called for both kinds of
activation.

Fix implementations so that ActivateCell() is not called on
double-click, when it shouldn't, and vice versa: don't send
wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED for cell activation.

Partially reverts r67099 -- restores old 2.9 signatures of compatibility
LeftClick() and Activate() methods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
docs/doxygen/overviews/changes_since28.h
include/wx/dvrenderers.h
include/wx/generic/dvrenderer.h
include/wx/generic/dvrenderers.h
interface/wx/dataview.h
samples/dataview/dataview.cpp
src/generic/datavgen.cpp
src/gtk/dataview.cpp