X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0badb709a86b91a203416784b649e3d00c699c7..5a2c086adf6d7c6bba22fcbd57b0958fdc5723a0:/src/x11/reparent.cpp diff --git a/src/x11/reparent.cpp b/src/x11/reparent.cpp index eea2b4d6fe..d6ece8ddce 100644 --- a/src/x11/reparent.cpp +++ b/src/x11/reparent.cpp @@ -39,6 +39,8 @@ #include "wx/x11/private.h" #include "X11/Xatom.h" +#include "wx/generic/private/timer.h" + /* * wxAdoptedWindow */ @@ -68,7 +70,7 @@ wxWindow* wxReparenter::sm_newParent = NULL; 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; @@ -173,7 +175,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar else { #if wxUSE_TIMER - wxTimer::NotifyTimers(); + wxGenericTimerImpl::NotifyTimers(); wxTheApp->ProcessIdle(); #endif }