From: Robert Roebling Date: Mon, 2 Feb 2009 14:05:46 +0000 (+0000) Subject: Invalidate only the specified rectangle X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4c509aecb650100d0bca898ec05801a0fbcae1f4 Invalidate only the specified rectangle git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 1864418244..07c54f63e9 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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 } }