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
This commit is contained in:
Václav Slavík
2006-09-30 09:50:39 +00:00
parent f42e073cda
commit 399754a683

View File

@@ -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;