From 243ef54b39f83d4a805dbeaa5ea80232ac66a1b8 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Sun, 16 Dec 2007 20:10:17 +0000 Subject: [PATCH] fix bug VC6 with returning void function git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/dc.h b/include/wx/dc.h index 66901ddb6e..24c77d0441 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/dc.h // Purpose: wxDC class -// Author: Vadim Zeitlin +// Author: Vadim Zeitlin // Modified by: // Created: 05/25/99 // RCS-ID: $Id$ @@ -187,7 +187,8 @@ public: virtual void DoGetSize(int *width, int *height) const = 0; void GetSize(int *width, int *height) const { - return DoGetSize(width, height); + DoGetSize(width, height); + return ; } wxSize GetSize() const