]> git.saurik.com Git - wxWidgets.git/commitdiff
Connect wxEVT_KEY_DOWN for both editor controls
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 18 Oct 2008 16:32:59 +0000 (16:32 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 18 Oct 2008 16:32:59 +0000 (16:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/propgrid.cpp

index 37cb0846fbae14112cb313dc255071885853f220..61bb108e4c79875d6c1a0d2a859711ce1a648f49 100644 (file)
@@ -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()