From 0e21cf4902f312ffd26c050c67f00be8607d400b Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 9 Oct 2006 20:32:12 +0000 Subject: [PATCH] IsExposed() needs to reverse the direction in RTL. I actually wonder if not the calling code is wrong, but this fixes wxListCtrl and wxTreeCtrl for the time being. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 3862a4826e..11567f27fb 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -3822,11 +3822,9 @@ bool wxWindowGTK::DoIsExposed( int x, int y ) const bool wxWindowGTK::DoIsExposed( int x, int y, int w, int h ) const { -#if 0 if (GetLayoutDirection() == wxLayout_RightToLeft) return m_updateRegion.Contains(x-w, y, w, h) != wxOutRegion; else -#endif return m_updateRegion.Contains(x, y, w, h) != wxOutRegion; } -- 2.45.2