Restore mouse capturing/releasing in wxPopupTransientWindow under MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 Dec 2011 15:20:55 +0000 (15:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 Dec 2011 15:20:55 +0000 (15:20 +0000)
commit25fe875df65f98e7d1af0928995a615fb5559c91
treedbc4784268288a89e890a367be94a4f699ed22a8
parent815acb8e5a859b2cdf323094e9fdebe186d30e4c
Restore mouse capturing/releasing in wxPopupTransientWindow under MSW.

Partially revert the changes of r69350 to restore EVT_IDLE handling of
wxPopupTransientWindow under MSW. It turns out that we must release the mouse
for the embedded controls to work.

It would be better to solve the problem differently, e.g. perhaps maybe only
releasing mouse capture when mouse is clicked as the current code is fragile
but for now at least restore the functionality that used to work.

Closes #13740.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/popupwin.h
src/common/popupcmn.cpp