]> git.saurik.com Git - wxWidgets.git/commit
Allow using wxCompositeWindow<T> as wxDataViewCtrl inline editor.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 19 Oct 2011 16:20:01 +0000 (16:20 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 19 Oct 2011 16:20:01 +0000 (16:20 +0000)
commit31af22fa2d70b5103f67d8eeea24d7dc3bc763cc
tree228c6b665ae823dd4c092a6d8f0d19aa6eb841d2
parent8df14bedf50602c1882fdb318e310ace09284554
Allow using wxCompositeWindow<T> as wxDataViewCtrl inline editor.

wxDVC inline editing code attaches some event handlers to the editor
control; most importantly, it watches for Enter key and for focus
changes. If the editor control is a composite window, these events occur
in a sub control and never reach wxDVC code.

Fix this by forwarding events to the main window of the composite
control. Only events required by wxDVC are implemented for now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/compositewin.h
include/wx/containr.h