diff options
| author | Matthew Parlane <parlane@gmail.com> | 2014-03-08 15:50:34 +1300 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2014-03-08 15:50:34 +1300 |
| commit | 6704832f3d78988ca694c23d8ea0f1262cc37d58 (patch) | |
| tree | 291dacbc804ba38a5d2c31fcbbe1bf309d3d336e /Source/Core/DolphinWX/FrameAui.cpp | |
| parent | ca6946bcbf8506668cfa60deb4648cad1a652487 (diff) | |
| parent | b2d47401b20483ef0217b272960803a6a2a335da (diff) | |
Merge pull request #139 from lioncash/wx-clean
Remove some superfluous arguments from some wx control creations
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); |
