]> git.saurik.com Git - wxWidgets.git/commit
Fix client to screen translation in wxWindowMSW::PopupMenu().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 17 May 2011 13:35:04 +0000 (13:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 17 May 2011 13:35:04 +0000 (13:35 +0000)
commit473d0f930e0a6e0dd11f2965ef46444e1589ecdb
tree80a8efdb5ac98b46b4e75b8401fa89eaf9e4a22e
parent352a7d6c4601ea41dd24a3c0b3dbae5f363f36ef
Fix client to screen translation in wxWindowMSW::PopupMenu().

Use wxWidgets ClientToScreen() function for computing the screen coordinates
of the popup menu instead of Windows ::ClientToScreen() as the latter doesn't
know about the toolbar which may be present in wxFrame and excluded from the
client area.

Closes #13223.

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