]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/reparent.cpp
fix for infinite sizing loop (partial patch 1907189)
[wxWidgets.git] / src / x11 / reparent.cpp
index ac394ccf1a9512c599d4b230973715591fa13646..d6ece8ddceb5f822cac138c7847cb99262c513a7 100644 (file)
@@ -70,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;