fixed error in mouse capture test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-02-25 15:21:13 +00:00
parent a14a22278a
commit e3603065fd

View File

@@ -685,7 +685,7 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
else else
{ {
wxLogDebug( wxT("Stopped capturing mouse and events.") ); wxLogDebug( wxT("Stopped capturing mouse and events.") );
m_hasCapture = TRUE; m_hasCapture = FALSE;
ReleaseMouse(); ReleaseMouse();
} }
break; break;