]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/evtloopunix.cpp
remove references to tex2rtf; it's not part of wxWidgets anymore
[wxWidgets.git] / src / unix / evtloopunix.cpp
index 5bd8b1050f6b2dae19ccdd3aa8cc58054afa9384..76272844d3ea02f1a4c3d720cd591f1c6b5a7665 100644 (file)
@@ -27,6 +27,7 @@
 #endif
 
 #include <errno.h>
+#include "wx/apptrait.h"
 #include "wx/evtloop.h"
 #include "wx/thread.h"
 #include "wx/module.h"
@@ -148,6 +149,7 @@ bool wxConsoleEventLoop::Pending() const
 
 bool wxConsoleEventLoop::Dispatch()
 {
+    m_dispatcher->Dispatch();
     wxTheApp->ProcessPendingEvents();
     return true;
 }
@@ -185,4 +187,10 @@ void wxConsoleEventLoop::OnNextIteration()
     wxTheApp->CheckSignal();
 }
 
+
+wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
+{
+    return new wxEventLoop();
+}
+
 #endif // wxUSE_CONSOLE_EVENTLOOP