]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
made wxList methods return compatibility_iterator instead of Node * to further reduce...
[wxWidgets.git] / src / common / wincmn.cpp
index 3f0393a3e120a51fe50fdadbd2fe1372db22115d..a18e65850abf7c071be7387ad19e2c0b550610cb 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;
+
+    ClientToScreen(x, y);
+}
+
 // ----------------------------------------------------------------------------
 // show/hide/enable/disable the window
 // ----------------------------------------------------------------------------