diff --git a/pcsx2/gui/Debugger/DebuggerLists.cpp b/pcsx2/gui/Debugger/DebuggerLists.cpp index 67c0eef405..f92b981a78 100644 --- a/pcsx2/gui/Debugger/DebuggerLists.cpp +++ b/pcsx2/gui/Debugger/DebuggerLists.cpp @@ -73,6 +73,7 @@ void GenericListView::resizeColumns(int totalWidth) void GenericListView::sizeEvent(wxSizeEvent& evt) { resizeColumns(GetClientSize().x); + evt.Skip(); } void GenericListView::keydownEvent(wxKeyEvent& evt) @@ -178,11 +179,6 @@ GenericListViewColumn breakpointColumns[BPL_COLUMNCOUNT] = { BreakpointList::BreakpointList(wxWindow* parent, DebugInterface* _cpu, CtrlDisassemblyView* _disassembly) : GenericListView(parent,breakpointColumns,BPL_COLUMNCOUNT), cpu(_cpu),disasm(_disassembly) { -#ifdef __linux__ - // On linux wx failed to resize properly the page. I don't know why so for the moment I just create a static size page - // Far from ideal but at least I can use the memory window! - this->SetSize(wxSize(1000, 200)); -#endif } int BreakpointList::getRowCount() @@ -513,11 +509,6 @@ GenericListViewColumn threadColumns[TL_COLUMNCOUNT] = { ThreadList::ThreadList(wxWindow* parent, DebugInterface* _cpu) : GenericListView(parent,threadColumns,TL_COLUMNCOUNT), cpu(_cpu) { -#ifdef __linux__ - // On linux wx failed to resize properly the page. I don't know why so for the moment I just create a static size page - // Far from ideal but at least I can use the memory window! - this->SetSize(wxSize(1000, 200)); -#endif } void ThreadList::reloadThreads() @@ -658,11 +649,6 @@ GenericListViewColumn stackFrameolumns[SF_COLUMNCOUNT] = { StackFramesList::StackFramesList(wxWindow* parent, DebugInterface* _cpu, CtrlDisassemblyView* _disassembly) : GenericListView(parent,stackFrameolumns,SF_COLUMNCOUNT), cpu(_cpu), disassembly(_disassembly) { -#ifdef __linux__ - // On linux wx failed to resize properly the page. I don't know why so for the moment I just create a static size page - // Far from ideal but at least I can use the memory window! - this->SetSize(wxSize(1000, 200)); -#endif } void StackFramesList::loadStackFrames(EEThread& currentThread)