From a8519f6507f7b4389c0fe7dbae4ebd63120d5dd0 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sun, 15 Feb 2009 14:54:31 +0000 Subject: [PATCH] build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/evtloop.h | 1 + src/motif/evtloop.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/evtloop.h b/include/wx/msw/evtloop.h index 934e3cfef5..b45d932f65 100644 --- a/include/wx/msw/evtloop.h +++ b/include/wx/msw/evtloop.h @@ -104,6 +104,7 @@ public: virtual bool Dispatch(); virtual int DispatchTimeout(unsigned long timeout); virtual void WakeUp(); + virtual bool YieldFor(long WXUNUSED(eventsToProcess)) { return true; } // MSW-specific function to process a single message virtual void ProcessMessage(WXMSG *msg); diff --git a/src/motif/evtloop.cpp b/src/motif/evtloop.cpp index cd7800a380..a3994827f8 100644 --- a/src/motif/evtloop.cpp +++ b/src/motif/evtloop.cpp @@ -137,7 +137,7 @@ void wxGUIEventLoop::Exit(int rc) ::wxBreakDispatch(); } -bool wxGUIEventLoop::YieldFor(ong eventsToProcess) +bool wxGUIEventLoop::YieldFor(long eventsToProcess) { m_isInsideYield = true; m_eventsToProcessInsideYield = eventsToProcess;