added comment with pointers to wxEVT_MOUSE_CAPTURE_LOST discussion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e9a4bf7ddc
commit
44038f9a6c
@ -2487,6 +2487,10 @@ static void DoNotifyWindowAboutCaptureLost(wxWindow *win)
|
||||
event.SetEventObject(win);
|
||||
if ( !win->GetEventHandler()->ProcessEvent(event) )
|
||||
{
|
||||
// windows must handle this event, otherwise the app wouldn't behave
|
||||
// correctly if it loses capture unexpectedly; see the discussion here:
|
||||
// http://sourceforge.net/tracker/index.php?func=detail&aid=1153662&group_id=9863&atid=109863
|
||||
// http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/82376
|
||||
wxFAIL_MSG( _T("window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST") );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user