#endif
#include "wx/apptrait.h"
+#include "wx/generic/private/timer.h"
+#include "wx/evtloop.h"
#include <ctype.h>
#include <stdarg.h>
// Map empty, delete it.
delete gs_procmap;
gs_procmap = NULL;
+ return;
}
for (it = gs_procmap->begin();it != gs_procmap->end(); ++it)
{
return wxPORT_X11;
}
+wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
+{
+ return new wxEventLoop;
+}
// ----------------------------------------------------------------------------
// display info
bool wxSetDisplay(const wxString& displayName)
{
- Display *
- dpy = XOpenDisplay(displayName.empty() ? NULL : displayName.mb_str());
+ Display *dpy = XOpenDisplay
+ (
+ displayName.empty() ? NULL
+ : (const char *)displayName.mb_str()
+ );
if ( !dpy )
{