X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b7df27e4cf3d41c4fb4e2805462be1821989da5..5429cf245532d124c1309ea956a2845eed195485:/src/common/wincmn.cpp diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 3f0393a3e1..f316331cce 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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 // ----------------------------------------------------------------------------