]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dc.h
made deprecated erase() overload inline
[wxWidgets.git] / 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