From: Robin Dunn Date: Tue, 12 Apr 2005 04:36:23 +0000 (+0000) Subject: Copy & paste error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ad7f2e868b2147c875277df51980c8efb30140c8 Copy & paste error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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(); } }