From 399754a6836ef144bd354982b25fab43f548414e Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 30 Sep 2006 09:50:39 +0000 Subject: [PATCH] fixed incorrect computation of window's visible area: window's position was added once too much git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/dfb/dcclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dfb/dcclient.cpp b/src/dfb/dcclient.cpp index 1d1354843e..5436d3e20d 100644 --- a/src/dfb/dcclient.cpp +++ b/src/dfb/dcclient.cpp @@ -45,7 +45,7 @@ // boundaries ("hidden behind its borders"), recursively: static wxRect GetUncoveredWindowArea(wxWindow *win) { - wxRect r(win->GetRect()); + wxRect r(win->GetSize()); if ( win->IsTopLevel() ) return r; -- 2.45.2