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:
@@ -2487,6 +2487,10 @@ static void DoNotifyWindowAboutCaptureLost(wxWindow *win)
|
|||||||
event.SetEventObject(win);
|
event.SetEventObject(win);
|
||||||
if ( !win->GetEventHandler()->ProcessEvent(event) )
|
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") );
|
wxFAIL_MSG( _T("window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST") );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user