diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-03-05 23:02:34 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-03-05 23:02:34 -0500 |
| commit | b2d47401b20483ef0217b272960803a6a2a335da (patch) | |
| tree | 6bb3218b61658aac04e049d0de32e2d585696049 /Source/Core/DolphinWX/FrameAui.cpp | |
| parent | e5b250fa792ab48f8c4d6adb94c544312f13acd1 (diff) | |
Remove some superfluous arguments from some wx control creations
wx has these as default parameters.
Diffstat (limited to 'Source/Core/DolphinWX/FrameAui.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameAui.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/FrameAui.cpp b/Source/Core/DolphinWX/FrameAui.cpp index 55190dd51b..66d47d4ecc 100644 --- a/Source/Core/DolphinWX/FrameAui.cpp +++ b/Source/Core/DolphinWX/FrameAui.cpp @@ -1080,15 +1080,13 @@ wxWindow * CFrame::GetNotebookPageFromId(wxWindowID Id) return NULL; } -wxFrame * CFrame::CreateParentFrame(wxWindowID Id, const wxString& Title, - wxWindow * Child) +wxFrame* CFrame::CreateParentFrame(wxWindowID Id, const wxString& Title, wxWindow* Child) { - wxFrame * Frame = new wxFrame(this, Id, Title, - wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE); + wxFrame* Frame = new wxFrame(this, Id, Title); Child->Reparent(Frame); - wxBoxSizer * m_MainSizer = new wxBoxSizer(wxHORIZONTAL); + wxBoxSizer* m_MainSizer = new wxBoxSizer(wxHORIZONTAL); m_MainSizer->Add(Child, 1, wxEXPAND); |
