account for parent area origin when creating controls and windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-10-22 08:43:28 +00:00
parent 949b8e6284
commit 4e9d23cdae
2 changed files with 6 additions and 0 deletions

View File

@@ -2994,6 +2994,8 @@ bool wxWindowMSW::MSWGetCreateWindowCoords(const wxPoint& pos,
nonDefault = TRUE;
}
AdjustForParentClientOrigin(x, y);
return nonDefault;
}