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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user