]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
wxTheColourDatabase->Find() can fail.
[wxWidgets.git] / src / common / wincmn.cpp
index f316331cce21d6a1a489589e6075dc2ea637575f..6b903252e1fd2e868af6d63c6e83e38a13d859be 100644 (file)
@@ -29,7 +29,6 @@
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/frame.h"
-    #include "wx/defs.h"
     #include "wx/window.h"
     #include "wx/control.h"
     #include "wx/checkbox.h"
@@ -721,7 +720,7 @@ void wxWindowBase::DoGetScreenPosition(int *x, int *y) const
     if ( y )
         *y = 0;
 
-    return ClientToScreen(x, y);
+    ClientToScreen(x, y);
 }
 
 // ----------------------------------------------------------------------------