]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed error in mouse capture test
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 25 Feb 2002 15:21:13 +0000 (15:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 25 Feb 2002 15:21:13 +0000 (15:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/text/text.cpp

index 7e872901669c43cee5a4d007cf0c1d4b6ab19f98..30a3dc55dff3e0137965d054bb20f682df64329b 100644 (file)
@@ -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;