From d50b4c2ffc7e8bee6f480e8f85536363fb8bfe9b Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 1 Sep 2009 02:41:48 +0000 Subject: GUI: Linux problem, wxAuiNotebook can't have wxFrame pages git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4133 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/Src/CodeWindow.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp') diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index 1b3588f263..60bdf715e8 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -149,13 +149,11 @@ END_EVENT_TABLE() -// Class, input event handler and host message handler -CCodeWindow::CCodeWindow(const SCoreStartupParameter& _LocalCoreStartupParameter, CFrame *ParentObject, wxWindow* Parent, - wxWindowID Id) - : wxPanel(Parent, Id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL | wxNO_BORDER, wxT("Dolphin-Debugger")) +// Class +CCodeWindow::CCodeWindow(const SCoreStartupParameter& _LocalCoreStartupParameter, CFrame *ParentObject, wxWindow* parent, + wxWindowID id, const wxPoint& position, const wxSize& size, long style, const wxString& name) + : wxPanel(parent, id, position, size, style, name) , Parent(ParentObject) - /* Remember to initialize potential new controls with NULL there, otherwise m_dialog = true and - things may crash */ , m_RegisterWindow(NULL) , m_BreakpointWindow(NULL) , m_MemoryWindow(NULL) -- cgit v1.2.3