]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
Compile fix for VC
[wxWidgets.git] / src / common / wincmn.cpp
index 420d37678c61e83f62658cfdf3a121dd6fafd73c..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"
@@ -221,9 +220,6 @@ wxWindowBase::wxWindowBase()
 
     // VZ: this one shouldn't exist...
     m_isBeingDeleted = false;
-
-    // Reserved for future use
-    m_windowReserved = NULL;
 }
 
 // common part of window creation process
@@ -724,7 +720,7 @@ void wxWindowBase::DoGetScreenPosition(int *x, int *y) const
     if ( y )
         *y = 0;
 
-    return ClientToScreen(x, y);
+    ClientToScreen(x, y);
 }
 
 // ----------------------------------------------------------------------------