added GetScreenPosition/Rect() which always return the screen coordinates of the window (for child windows and TLWs alike)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -224,6 +224,12 @@ protected:
|
||||
// add support for wxCENTRE_ON_SCREEN
|
||||
virtual void DoCentre(int dir);
|
||||
|
||||
// no need to do client to screen translation to get our position in screen
|
||||
// coordinates: this is already the case
|
||||
virtual void DoGetScreenPosition(int *x, int *y) const
|
||||
{
|
||||
return DoGetPosition(x, y);
|
||||
}
|
||||
|
||||
// test whether this window makes part of the frame
|
||||
// (menubar, toolbar and statusbar are excluded from automatic layout)
|
||||
|
Reference in New Issue
Block a user