]> git.saurik.com Git - wxWidgets.git/commitdiff
Use SetFocusIgnoringChildren()
authorRobert Roebling <robert@roebling.de>
Thu, 10 Jan 2008 15:03:30 +0000 (15:03 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 10 Jan 2008 15:03:30 +0000 (15:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 46cf4f36387728d2c8ce9263b0edc120ea455288..e8cfa298625f92e603b623fa2d64912939dd1adc 100644 (file)
@@ -2161,7 +2161,7 @@ void wxListTextCtrlWrapper::Finish( bool setfocus )
     wxPendingDelete.Append( this );
     
     if (setfocus)
-        m_owner->SetFocus();
+        m_owner->SetFocusIgnoringChildren();
 }
 
 bool wxListTextCtrlWrapper::AcceptChanges()