From 95660a55639fd55406f9d1a56bcc098b25c2aefc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 21 Sep 2014 13:59:20 -0400 Subject: [PATCH] DolphinWX: Fix case where the debugger would crash on hiding a pane. These ID values would clash with the window parent IDs of all the actual debugger panes (they are in the 350 range as well). For example, attempting to show and then close the memory window would cause an assertion, because it would attempt to destroy the text control for searching through memory, rather than destroying the actual parent window it's attached to. These IDs are only used locally, so their value doesn't matter. --- Source/Core/DolphinWX/Debugger/MemoryWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp index 10ff30f1c8..73dead18d1 100644 --- a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp @@ -44,7 +44,7 @@ class DebugInterface; enum { - IDM_MEM_ADDRBOX = 350, + IDM_MEM_ADDRBOX, IDM_SYMBOLLIST, IDM_SETVALBUTTON, IDM_DUMP_MEMORY,