release build unused variable warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
90c6edd706
commit
40bdc5d600
@ -2399,10 +2399,10 @@ static void DoNotifyWindowAboutCaptureLost(wxWindow *win)
|
|||||||
{
|
{
|
||||||
wxMouseCaptureLostEvent event(win->GetId());
|
wxMouseCaptureLostEvent event(win->GetId());
|
||||||
event.SetEventObject(win);
|
event.SetEventObject(win);
|
||||||
bool processed = win->GetEventHandler()->ProcessEvent(event);
|
if ( !win->GetEventHandler()->ProcessEvent(event) )
|
||||||
|
{
|
||||||
wxASSERT_MSG( processed,
|
wxFAIL_MSG( _T("window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST") );
|
||||||
_T("window that captured mouse didn't process wxEVT_MOUSE_CAPTURE_LOST") );
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* static */
|
/* static */
|
||||||
|
Loading…
Reference in New Issue
Block a user