X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53fd33dcf1e7d86480cc7f631645b042303055b3..08a15c0d899daad0ff8cc2ed4c06ff78b8ec3cc3:/samples/text/text.cpp?ds=sidebyside 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;