]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 15 Feb 2009 14:54:31 +0000 (14:54 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 15 Feb 2009 14:54:31 +0000 (14:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/evtloop.h
src/motif/evtloop.cpp

index 934e3cfef540c319e3711c8bcd43261afaf431d1..b45d932f656192fcd04d87f7312ead3576577520 100644 (file)
@@ -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);
index cd7800a3806610e8f9f4869a44a608fe901d5d78..a3994827f825b296f3743c3c976fc07e35c1263a 100644 (file)
@@ -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;