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:
@@ -2994,6 +2994,8 @@ bool wxWindowMSW::MSWGetCreateWindowCoords(const wxPoint& pos,
|
||||
nonDefault = TRUE;
|
||||
}
|
||||
|
||||
AdjustForParentClientOrigin(x, y);
|
||||
|
||||
return nonDefault;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user