On x11 another control may already have the mouse capture when the menu is

trying to release it's capture, so work around that problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-05-06 13:42:34 +00:00
parent 0bf16170cc
commit 5b3166fda9
2 changed files with 41 additions and 9 deletions

View File

@@ -248,6 +248,9 @@ protected:
// we don't want to have focus except while selecting from menu
void GiveAwayFocus();
// Release the mouse capture if we have it
bool ReleaseMouseCapture();
// the array containing extra menu info we need
wxMenuInfoArray m_menuInfos;