diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index a620970488..cd78e16a75 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -214,7 +214,7 @@ void wxPopupTransientWindow::PopHandlers() #ifdef __WXMSW__ if ( HasCapture() ) { - ReleaseCapture(); + ReleaseMouse(); } if ( m_focus ) { @@ -406,7 +406,7 @@ void wxPopupTransientWindow::OnEnter(wxMouseEvent& /*event*/) { if ( HasCapture() ) { - ReleaseCapture(); + ReleaseMouse(); } }