s_macSupportPCMenuShortcuts no longer exists

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-21 22:42:45 +00:00
parent 418ab1e742
commit e12096a94e
2 changed files with 3 additions and 10 deletions

View File

@@ -267,13 +267,13 @@ systems where more than one is available, (Sun, SGI, XFree86 4, etc.)", "");
"Get the current OnAssert behaviour setting.", ""); "Get the current OnAssert behaviour setting.", "");
static bool GetMacSupportPCMenuShortcuts(); static bool GetMacSupportPCMenuShortcuts(); // TODO, deprecate this
static long GetMacAboutMenuItemId(); static long GetMacAboutMenuItemId();
static long GetMacPreferencesMenuItemId(); static long GetMacPreferencesMenuItemId();
static long GetMacExitMenuItemId(); static long GetMacExitMenuItemId();
static wxString GetMacHelpMenuTitleName(); static wxString GetMacHelpMenuTitleName();
static void SetMacSupportPCMenuShortcuts(bool val); static void SetMacSupportPCMenuShortcuts(bool val); // TODO, deprecate this
static void SetMacAboutMenuItemId(long val); static void SetMacAboutMenuItemId(long val);
static void SetMacPreferencesMenuItemId(long val); static void SetMacPreferencesMenuItemId(long val);
static void SetMacExitMenuItemId(long val); static void SetMacExitMenuItemId(long val);

View File

@@ -323,11 +323,7 @@ void wxPyApp::MacReopenApp()
/*static*/ /*static*/
bool wxPyApp::GetMacSupportPCMenuShortcuts() { bool wxPyApp::GetMacSupportPCMenuShortcuts() {
#ifdef __WXMAC__
return s_macSupportPCMenuShortcuts;
#else
return 0; return 0;
#endif
} }
/*static*/ /*static*/
@@ -367,10 +363,7 @@ wxString wxPyApp::GetMacHelpMenuTitleName() {
} }
/*static*/ /*static*/
void wxPyApp::SetMacSupportPCMenuShortcuts(bool val) { void wxPyApp::SetMacSupportPCMenuShortcuts(bool) {
#ifdef __WXMAC__
s_macSupportPCMenuShortcuts = val;
#endif
} }
/*static*/ /*static*/