From 3f97d339d6f290abe1d976221424450ea0b8afe9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 Sep 2005 14:11:14 +0000 Subject: [PATCH] removed unused variable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/window.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 4d10afdafd..380d2b7d03 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -2159,12 +2159,10 @@ void wxUniversalRepaintProc(Widget w, XtPointer WXUNUSED(c_data), XEvent *event, { case Expose: { - Display *display = (Display *) win -> GetXDisplay(); - win->AddUpdateRect(event->xexpose.x, event->xexpose.y, event->xexpose.width, event->xexpose.height); - if (event -> xexpose.count == 0) + if ( event->xexpose.count == 0 ) { win->DoPaint(); } -- 2.45.2