summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.h')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.h b/Source/Core/DolphinWX/Debugger/CodeWindow.h
index b3f5bca191..423e86d6eb 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.h
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.h
@@ -75,9 +75,10 @@ struct DebugPanelToID<GFXDebuggerPanel>
class CCodeWindow : public wxPanel
{
public:
- CCodeWindow(const SConfig& _LocalCoreStartupParameter, CFrame* parent, wxWindowID id = wxID_ANY,
- const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
- long style = wxTAB_TRAVERSAL | wxBORDER_NONE, const wxString& name = _("Code"));
+ explicit CCodeWindow(CFrame* parent, wxWindowID id = wxID_ANY,
+ const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
+ long style = wxTAB_TRAVERSAL | wxBORDER_NONE,
+ const wxString& name = _("Code"));
~CCodeWindow();
void Load();
@@ -156,7 +157,7 @@ private:
// Sibling debugger panels
// FIXME: This obviously belongs in some manager class above this one.
- std::array<wxPanel*, IDM_DEBUG_WINDOW_LIST_END - IDM_DEBUG_WINDOW_LIST_START> m_sibling_panels;
+ std::array<wxPanel*, IDM_DEBUG_WINDOW_LIST_END - IDM_DEBUG_WINDOW_LIST_START> m_sibling_panels{};
CFrame* Parent;
CCodeView* codeview;