]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation without threads.
authorRobert Roebling <robert@roebling.de>
Wed, 16 May 2007 13:08:09 +0000 (13:08 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 16 May 2007 13:08:09 +0000 (13:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/evtloopmsw.cpp

index 4449a77b8be08cb6f1dd1766f230487327fecdd0..42e403787c9309ee19ed34d00c7c3f135486dd25 100644 (file)
@@ -315,7 +315,9 @@ void wxConsoleEventLoop::OnNextIteration()
 
 void wxConsoleEventLoop::WakeUp()
 {
+#if wxUSE_THREADS
     wxWakeUpMainThread();
+#endif
 }
 
 bool wxConsoleEventLoop::Dispatch()