]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/basemsw.cpp
reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
[wxWidgets.git] / src / msw / basemsw.cpp
index 5becc21693777f53813d933f6b9f9bf9968c3470..4ba9b8b091703a86d6c85b0929e686dc32f26717 100644 (file)
@@ -91,14 +91,15 @@ wxTimerImpl *wxConsoleAppTraits::CreateTimerImpl(wxTimer *timer)
 
 #endif // wxUSE_TIMER
 
-#if wxUSE_CONSOLE_EVENTLOOP
-
 wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
 {
+#if wxUSE_CONSOLE_EVENTLOOP
     return new wxEventLoop();
+#else // !wxUSE_CONSOLE_EVENTLOOP
+    return NULL;
+#endif // wxUSE_CONSOLE_EVENTLOOP/!wxUSE_CONSOLE_EVENTLOOP
 }
 
-#endif // wxUSE_CONSOLE_EVENTLOOP
 
 WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread)
 {