Test for x, y in GetPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
86983bc393
commit
1696dde5fd
1 changed files with 4 additions and 2 deletions
|
|
@ -839,8 +839,10 @@ void wxMDIChildFrame::DoGetPosition(int *x, int *y) const
|
|||
wxMDIParentFrame *mdiParent = (wxMDIParentFrame *)GetParent();
|
||||
::ScreenToClient((HWND) mdiParent->GetClientWindow()->GetHWND(), &point);
|
||||
|
||||
*x = point.x;
|
||||
*y = point.y;
|
||||
if (x)
|
||||
*x = point.x;
|
||||
if (y)
|
||||
*y = point.y;
|
||||
}
|
||||
|
||||
void wxMDIChildFrame::InternalSetMenuBar()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue