build fix for wxUSE_CONSOLE_EVENTLOOP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
424da8bdb9
commit
e4c3d9409a
@ -75,10 +75,11 @@ public:
|
||||
|
||||
~wxClipboardSync()
|
||||
{
|
||||
#if wxUSE_CONSOLE_EVENTLOOP
|
||||
// ensure that there is a running event loop: this might not be the
|
||||
// case if we're called before the main event loop startup
|
||||
wxEventLoopGuarantor ensureEventLoop;
|
||||
|
||||
#endif
|
||||
while (ms_clipboard)
|
||||
wxEventLoopBase::GetActive()->YieldFor(wxEVT_CATEGORY_CLIPBOARD);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user