summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/GeckoCodeDiag.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-03-05 23:02:34 -0500
committerLioncash <mathew1800@gmail.com>2014-03-05 23:02:34 -0500
commitb2d47401b20483ef0217b272960803a6a2a335da (patch)
tree6bb3218b61658aac04e049d0de32e2d585696049 /Source/Core/DolphinWX/GeckoCodeDiag.cpp
parente5b250fa792ab48f8c4d6adb94c544312f13acd1 (diff)
Remove some superfluous arguments from some wx control creations
wx has these as default parameters.
Diffstat (limited to 'Source/Core/DolphinWX/GeckoCodeDiag.cpp')
-rw-r--r--Source/Core/DolphinWX/GeckoCodeDiag.cpp4
1 files changed, 2 insertions, 2 deletions
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);