implement event loop for console applications (heavily modified patch 1715735)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "wx/unix/execute.h"
|
||||
|
||||
#include "wx/gtk/private/timer.h"
|
||||
#include "wx/evtloop.h"
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
#include "wx/gtk/assertdlg_gtk.h"
|
||||
@@ -363,6 +364,12 @@ static wxString GetSM()
|
||||
// wxGUIAppTraits
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
wxEventLoop *wxGUIAppTraits::CreateEventLoop()
|
||||
{
|
||||
return new wxEventLoop();
|
||||
}
|
||||
|
||||
|
||||
#if wxUSE_INTL
|
||||
void wxGUIAppTraits::SetLocale()
|
||||
{
|
||||
|
Reference in New Issue
Block a user