]> git.saurik.com Git - wxWidgets.git/commit
Fix spurious label editing in generic wx{List,Tree,DataView}Ctrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2012 22:40:29 +0000 (22:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2012 22:40:29 +0000 (22:40 +0000)
commit15ec266ae3ca232d967b1216f8173888a4996c62
treee3fae6c9009b47d32a65aa94765ff032c7a9323e
parente55e1a5fda0be9114123671b0e595936238b43b4
Fix spurious label editing in generic wx{List,Tree,DataView}Ctrl.

Clicking on the control to give it focus must not start editing the label of
an item in it, this is bad UI as you need to carefully select where do you
click to avoid starting to edit the label and nobody else does it like this
(probably because of the former reason).

As a side note, it would be really great to abstract the item handling in a
class that could be reused by all these controls instead of having to update 3
slightly different versions of the same code every time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/datavgen.cpp
src/generic/listctrl.cpp
src/generic/treectlg.cpp