From: Mart Raudsepp Date: Wed, 15 Mar 2006 03:42:26 +0000 (+0000) Subject: Don't return the return value of a void method in a void method X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/74af7bcf4fc7ff2c595c95fed7953af0c6840401 Don't return the return value of a void method in a void method git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index b5a03d9b23..bace093741 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -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