X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..57d3e26697255a5c5154b4a0dc26d6eab23ff871:/src/msw/tglbtn.cpp diff --git a/src/msw/tglbtn.cpp b/src/msw/tglbtn.cpp index edadc6a1ef..cde1757758 100644 --- a/src/msw/tglbtn.cpp +++ b/src/msw/tglbtn.cpp @@ -8,7 +8,7 @@ // Created: 08.02.01 // RCS-ID: $Id$ // Copyright: (c) 2000 Johnny C. Norris II -// License: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -187,7 +187,7 @@ void wxBitmapToggleButton::OnMouse(wxMouseEvent &event) if (event.LeftUp()) { - ReleaseCapture(); + ReleaseMouse(); m_capturing = false; if (mouse_in) {