#include "wx/x11/private.h"
#include "X11/Xatom.h"
+#include "wx/generic/private/timer.h"
+
/*
* wxAdoptedWindow
*/
wxString wxReparenter::sm_name;
bool wxReparenter::sm_exactMatch = false;
-static int ErrorHandler(Display* dpy, XErrorEvent* event)
+static int ErrorHandler(Display* WXUNUSED(dpy), XErrorEvent* WXUNUSED(event))
{
Xerror = True;
return False;
if (!WM_STATE)
WM_STATE = XInternAtom(display, "WM_STATE", False);
-#ifdef __WXDEBUG__
- if (!windowName.empty())
- wxLogDebug(_T("Waiting for window %s"), windowName.c_str());
-#endif
-
sm_done = false;
wxEventLoop eventLoop;
else
{
#if wxUSE_TIMER
- wxTimer::NotifyTimers();
+ wxGenericTimerImpl::NotifyTimers();
wxTheApp->ProcessIdle();
#endif
}