From: Václav Slavík Date: Sat, 30 Sep 2006 09:50:39 +0000 (+0000) Subject: fixed incorrect computation of window's visible area: window's position was added... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/399754a6836ef144bd354982b25fab43f548414e 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 --- 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;