]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
fix recently introduced memory leak of m_conv (bug 1466559)
[wxWidgets.git] / src / common / wincmn.cpp
index f316331cce21d6a1a489589e6075dc2ea637575f..a18e65850abf7c071be7387ad19e2c0b550610cb 100644 (file)
@@ -721,7 +721,7 @@ void wxWindowBase::DoGetScreenPosition(int *x, int *y) const
     if ( y )
         *y = 0;
 
-    return ClientToScreen(x, y);
+    ClientToScreen(x, y);
 }
 
 // ----------------------------------------------------------------------------