From 882b04798358fa6d525dbd9f393b9be1ae02c764 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 9 Sep 2003 15:45:45 +0000 Subject: [PATCH] wxID_PREFERENCES added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/app.cpp | 4 ++-- src/mac/carbon/app.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mac/app.cpp b/src/mac/app.cpp index 98505dac77..6c43daf5d8 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -107,7 +107,7 @@ long wxApp::s_lastModifiers = 0 ; bool wxApp::s_macDefaultEncodingIsPC = true ; bool wxApp::s_macSupportPCMenuShortcuts = true ; long wxApp::s_macAboutMenuItemId = wxID_ABOUT ; -long wxApp::s_macPreferencesMenuItemId = 0 ; +long wxApp::s_macPreferencesMenuItemId = wxID_PREFERENCES ; long wxApp::s_macExitMenuItemId = wxID_EXIT ; wxString wxApp::s_macHelpMenuTitleName = wxT("&Help") ; @@ -570,7 +570,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv) #ifndef __DARWIN__ # if __option(profile) - ProfilerInit( collectDetailed, bestTimeBase , 20000 , 40 ) ; + ProfilerInit( collectDetailed, bestTimeBase , 40000 , 50 ) ; # endif #endif diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 98505dac77..6c43daf5d8 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -107,7 +107,7 @@ long wxApp::s_lastModifiers = 0 ; bool wxApp::s_macDefaultEncodingIsPC = true ; bool wxApp::s_macSupportPCMenuShortcuts = true ; long wxApp::s_macAboutMenuItemId = wxID_ABOUT ; -long wxApp::s_macPreferencesMenuItemId = 0 ; +long wxApp::s_macPreferencesMenuItemId = wxID_PREFERENCES ; long wxApp::s_macExitMenuItemId = wxID_EXIT ; wxString wxApp::s_macHelpMenuTitleName = wxT("&Help") ; @@ -570,7 +570,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv) #ifndef __DARWIN__ # if __option(profile) - ProfilerInit( collectDetailed, bestTimeBase , 20000 , 40 ) ; + ProfilerInit( collectDetailed, bestTimeBase , 40000 , 50 ) ; # endif #endif -- 2.45.2