]> git.saurik.com Git - wxWidgets.git/commitdiff
removed unused variable
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Sep 2005 14:11:14 +0000 (14:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Sep 2005 14:11:14 +0000 (14:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/window.cpp

index 4d10afdafd4fe18e45f7999692d163894d23e467..380d2b7d03ed30627af7a449fe57070610b0d4bd 100644 (file)
@@ -2159,12 +2159,10 @@ void wxUniversalRepaintProc(Widget w, XtPointer WXUNUSED(c_data), XEvent *event,
     {
         case Expose:
         {
     {
         case Expose:
         {
-            Display *display = (Display *) win -> GetXDisplay();
-
             win->AddUpdateRect(event->xexpose.x, event->xexpose.y,
                                event->xexpose.width, event->xexpose.height);
 
             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();
             }
             {
                 win->DoPaint();
             }