]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed incorrect computation of window's visible area: window's position was added...
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 30 Sep 2006 09:50:39 +0000 (09:50 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 30 Sep 2006 09:50:39 +0000 (09:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/dfb/dcclient.cpp

index 1d1354843e0eaeb3c6194a9264e50beee4467a1f..5436d3e20d6b6ac39870f91d0ee011523200cc48 100644 (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;