Use wxWindow::GetClientAreaOrigin() instead of MSW functions.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Oct 2011 21:56:34 +0000 (21:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Oct 2011 21:56:34 +0000 (21:56 +0000)
commit6a68fe84ba063c4ac6dadb422a89b7497e13f36c
tree9ed3a97bb7fee6f67bf6804daa5ef32626da7661
parent63af513be3750a4a205349e244b69b81d3c4b5fb
Use wxWindow::GetClientAreaOrigin() instead of MSW functions.

::AdjustWindowRectEx() doesn't seem to work correctly for wxPopupWindow and
still offsets the coordinates by the title bar height even if these windows
don't have WS_CAPTION style. Rather than try to work around this, simply use
wxWindow method instead of the Windows function as shape wxRegion offset.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/nonownedwnd.cpp