ScreenToClient() implemented correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-05-19 01:00:57 +00:00
parent 42e69d6b43
commit dabc0cd5c1
7 changed files with 35 additions and 29 deletions

View File

@@ -1099,7 +1099,7 @@ void wxWindow::DoGetPosition(int *x, int *y) const
*y = point.y;
}
void wxWindow::ScreenToClient(int *x, int *y) const
void wxWindow::DoScreenToClient(int *x, int *y) const
{
POINT pt;
if ( x )
@@ -1116,7 +1116,7 @@ void wxWindow::ScreenToClient(int *x, int *y) const
*y = pt.y;
}
void wxWindow::ClientToScreen(int *x, int *y) const
void wxWindow::DoClientToScreen(int *x, int *y) const
{
POINT pt;
if ( x )