]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't return the return value of a void method in a void method
authorMart Raudsepp <leio@gentoo.org>
Wed, 15 Mar 2006 03:42:26 +0000 (03:42 +0000)
committerMart Raudsepp <leio@gentoo.org>
Wed, 15 Mar 2006 03:42:26 +0000 (03:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/toplevel.h

index b5a03d9b23cfbe98f42588250ac045deefb3e1c0..bace093741a10b2527b15c4602a509bcda0fbb13 100644 (file)
@@ -217,7 +217,7 @@ protected:
     // coordinates: this is already the case
     virtual void DoGetScreenPosition(int *x, int *y) const
     {
-        return DoGetPosition(x, y);
+        DoGetPosition(x, y);
     }
 
     // test whether this window makes part of the frame