]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
wxTinderbox warning fix.
[wxWidgets.git] / src / common / wincmn.cpp
index 3f0393a3e120a51fe50fdadbd2fe1372db22115d..f316331cce21d6a1a489589e6075dc2ea637575f 100644 (file)
@@ -221,9 +221,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
@@ -715,6 +712,18 @@ wxSize wxWindowBase::DoGetVirtualSize() const
     return size;
 }
 
+void wxWindowBase::DoGetScreenPosition(int *x, int *y) const
+{
+    // screen position is the same as (0, 0) in client coords for non TLWs (and
+    // TLWs override this method)
+    if ( x )
+        *x = 0;
+    if ( y )
+        *y = 0;
+
+    return ClientToScreen(x, y);
+}
+
 // ----------------------------------------------------------------------------
 // show/hide/enable/disable the window
 // ----------------------------------------------------------------------------