]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
fixed unused parameter warning
[wxWidgets.git] / include / wx / toplevel.h
index b5a03d9b23cfbe98f42588250ac045deefb3e1c0..bace093741a10b2527b15c4602a509bcda0fbb13 100644 (file)
@@ -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