From 74af7bcf4fc7ff2c595c95fed7953af0c6840401 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Wed, 15 Mar 2006 03:42:26 +0000 Subject: [PATCH] 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 --- include/wx/toplevel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2