]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/text/text.cpp
update from gtk/changes.txt to changes.txt (sic...)
[wxWidgets.git] / 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;