diff options
| author | nakeee <nakeee@gmail.com> | 2009-03-04 22:29:03 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-03-04 22:29:03 +0000 |
| commit | 0708677b53c3a7b9b9ba2c92c777edabef612bc8 (patch) | |
| tree | e9feabb94261b48c076f2bf5060942c84cfefe5a /Source/Core/DebuggerWX/Src/CodeWindow.cpp | |
| parent | 0ade8bfc5622053f04dee6a20f1a8302ae67bc91 (diff) | |
Added LOGLEVEL support, release will now defined LOGLEVEL 2 (errors and warnings)
LOGGING should not be affected.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2550 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index 0c4f96e029..868031e18e 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -376,7 +376,7 @@ void CCodeWindow::CreateGUIControls(const SCoreStartupParameter& _LocalCoreStart // Additional dialogs -#ifdef LOGGING +#if LOGLEVEL > 0 if (bLogWindow) { m_LogWindow = new CLogWindow(this); @@ -504,7 +504,7 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParam // --------------- wxMenu* pDebugDialogs = new wxMenu; - if (LogManager::Enabled()) + if (LogManager::GetLevel() > 0) { wxMenuItem* pLogWindow = pDebugDialogs->Append(IDM_LOGWINDOW, _T("&LogManager"), wxEmptyString, wxITEM_CHECK); pLogWindow->Check(bLogWindow); |
