Added static accessors for wxPython for some of the s_mac* members of
wxApp on Mac. They are no-ops for the other platforms. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,6 +46,22 @@ constants being added to Python. Added code to wx.py to test for the
|
||||
existence of the new constants and to create suitable values if not
|
||||
present.
|
||||
|
||||
Added some static wxApp functions that help with integration with the
|
||||
Mac UI. They are no-ops on other platforms so it doesn't hurt to
|
||||
always call them. The functions are:
|
||||
|
||||
wxApp_GetMacDefaultEncodingIsPC
|
||||
wxApp_GetMacSupportPCMenuShortcuts
|
||||
wxApp_GetMacAboutMenuItemId
|
||||
wxApp_GetMacPreferencesMenuItemId
|
||||
wxApp_GetMacExitMenuItemId
|
||||
wxApp_GetMacHelpMenuTitleName
|
||||
wxApp_SetMacDefaultEncodingIsPC
|
||||
wxApp_SetMacSupportPCMenuShortcuts
|
||||
wxApp_SetMacAboutMenuItemId
|
||||
wxApp_SetMacPreferencesMenuItemId
|
||||
wxApp_SetMacExitMenuItemId
|
||||
wxApp_SetMacHelpMenuTitleName
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user