From 2cbd2892e7663f1ca9b2cd1e7d6bba2505fbc8a8 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sat, 18 Oct 2008 16:32:59 +0000 Subject: [PATCH] Connect wxEVT_KEY_DOWN for both editor controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/propgrid.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index 37cb0846fb..61bb108e4c 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -3428,10 +3428,11 @@ void wxPropertyGrid::SetupChildEventHandling( wxWindow* argWnd ) argWnd->Connect(id, wxEVT_LEAVE_WINDOW, wxMouseEventHandler(wxPropertyGrid::OnMouseEntry), NULL, this); - argWnd->Connect(id, wxEVT_KEY_DOWN, - wxCharEventHandler(wxPropertyGrid::OnChildKeyDown), - NULL, this); } + + argWnd->Connect(id, wxEVT_KEY_DOWN, + wxCharEventHandler(wxPropertyGrid::OnChildKeyDown), + NULL, this); } void wxPropertyGrid::FreeEditors() -- 2.45.2