mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Remove some superfluous arguments from some wx control creations
wx has these as default parameters.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user