From: Vadim Zeitlin Date: Mon, 25 Feb 2002 15:21:13 +0000 (+0000) Subject: fixed error in mouse capture test X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e3603065fde28c28ee64cecd9e6e224dfcd09782 fixed error in mouse capture test git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 7e87290166..30a3dc55df 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -685,7 +685,7 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event) else { wxLogDebug( wxT("Stopped capturing mouse and events.") ); - m_hasCapture = TRUE; + m_hasCapture = FALSE; ReleaseMouse(); } break;