]> git.saurik.com Git - wxWidgets.git/commitdiff
fix bug VC6 with returning void function
authorChris Elliott <biol75@york.ac.uk>
Sun, 16 Dec 2007 20:10:17 +0000 (20:10 +0000)
committerChris Elliott <biol75@york.ac.uk>
Sun, 16 Dec 2007 20:10:17 +0000 (20:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dc.h

index 66901ddb6ef5d52c47d3d75935e767e4d7bb098a..24c77d04417ac762b79edc5027d9be9282c33de8 100644 (file)
@@ -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