Added MSWPositionForWxMenu() method which is used to translate wxWindows

menu positions to the ones that Windows is using.  This mainly accounts
for the system menu in maximized MDI child frames.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2004-01-14 05:57:09 +00:00
parent 6edf960cf5
commit b2c5f143fd
2 changed files with 43 additions and 8 deletions

View File

@@ -206,6 +206,9 @@ protected:
WXHMENU m_hMenu;
// Return the MSW position for a wxMenu which is sometimes different from
// the wxWindows position.
int MSWPositionForWxMenu(wxMenu *menu, int wxpos);
#if wxUSE_ACCEL
// the accelerator table for all accelerators in all our menus
wxAcceleratorTable m_accelTable;