Untested mini-change for wxGTK idle handling.
Handle internal idle (i.e. update handing) *after* sending idle events so that if the user calls Refresh() in OnIdle() the regions will be updated afterwards. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d1853d4765
commit
5d91e653c5
@ -501,8 +501,6 @@ bool wxApp::SendIdleEvents( wxWindow* win )
|
||||
|
||||
win->GetEventHandler()->ProcessEvent(event);
|
||||
|
||||
win->OnInternalIdle();
|
||||
|
||||
if (event.MoreRequested())
|
||||
needMore = TRUE;
|
||||
|
||||
@ -516,6 +514,8 @@ bool wxApp::SendIdleEvents( wxWindow* win )
|
||||
node = node->Next();
|
||||
}
|
||||
|
||||
win->OnInternalIdle();
|
||||
|
||||
return needMore;
|
||||
}
|
||||
|
||||
|
@ -501,8 +501,6 @@ bool wxApp::SendIdleEvents( wxWindow* win )
|
||||
|
||||
win->GetEventHandler()->ProcessEvent(event);
|
||||
|
||||
win->OnInternalIdle();
|
||||
|
||||
if (event.MoreRequested())
|
||||
needMore = TRUE;
|
||||
|
||||
@ -516,6 +514,8 @@ bool wxApp::SendIdleEvents( wxWindow* win )
|
||||
node = node->Next();
|
||||
}
|
||||
|
||||
win->OnInternalIdle();
|
||||
|
||||
return needMore;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user