second part of #10320: move wxApp event handling functions to wxEventLoopBase (in particular move Yield() functions); add backward compatible redirections to wxApp; update docs; remove global lists wxPendingEvents and wxPendingEventsLocker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include "wx/scopedarray.h"
|
||||
#include "wx/scopeguard.h"
|
||||
#include "wx/evtloop.h"
|
||||
|
||||
#include "wx/gtk/private.h"
|
||||
|
||||
@@ -75,7 +76,7 @@ public:
|
||||
~wxClipboardSync()
|
||||
{
|
||||
while (ms_clipboard)
|
||||
wxTheApp->YieldFor(wxEVT_CATEGORY_CLIPBOARD);
|
||||
wxEventLoopBase::GetActive()->YieldFor(wxEVT_CATEGORY_CLIPBOARD);
|
||||
}
|
||||
|
||||
// this method must be called by GTK+ callbacks to indicate that we got the
|
||||
|
Reference in New Issue
Block a user