From b2d47401b20483ef0217b272960803a6a2a335da Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 5 Mar 2014 23:02:34 -0500 Subject: Remove some superfluous arguments from some wx control creations wx has these as default parameters. --- Source/Core/DolphinWX/GeckoCodeDiag.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinWX/GeckoCodeDiag.cpp') diff --git a/Source/Core/DolphinWX/GeckoCodeDiag.cpp b/Source/Core/DolphinWX/GeckoCodeDiag.cpp index cbdb19e0f5..345fa9143d 100644 --- a/Source/Core/DolphinWX/GeckoCodeDiag.cpp +++ b/Source/Core/DolphinWX/GeckoCodeDiag.cpp @@ -39,9 +39,9 @@ static const wxString wxstr_name(wxTRANSLATE("Name: ")), wxstr_creator(wxTRANSLATE("Creator: ")); CodeConfigPanel::CodeConfigPanel(wxWindow* const parent) - : wxPanel(parent, -1, wxDefaultPosition, wxDefaultSize) + : wxPanel(parent, -1) { - m_listbox_gcodes = new wxCheckListBox(this, -1, wxDefaultPosition, wxDefaultSize); + m_listbox_gcodes = new wxCheckListBox(this, -1); m_listbox_gcodes->Bind(wxEVT_COMMAND_LISTBOX_SELECTED, &CodeConfigPanel::UpdateInfoBox, this); m_listbox_gcodes->Bind(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, &CodeConfigPanel::ToggleCode, this); -- cgit v1.2.3