]> git.saurik.com Git - wxWidgets.git/commitdiff
Invalidate only the specified rectangle
authorRobert Roebling <robert@roebling.de>
Mon, 2 Feb 2009 14:05:46 +0000 (14:05 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 2 Feb 2009 14:05:46 +0000 (14:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index 1864418244e0aad6c499ae34b0630ea4750ee01d..07c54f63e91e0b827b4a96c903851c6e91d0926b 100644 (file)
@@ -3564,7 +3564,7 @@ void wxWindowGTK::Refresh(bool WXUNUSED(eraseBackground),
         r.y = rect->y;
         r.width = rect->width;
         r.height = rect->height;
-        gdk_window_invalidate_rect( m_wxwindow->window, NULL, TRUE );
+        gdk_window_invalidate_rect( m_wxwindow->window, &r, TRUE );
 #endif
     }
 }