mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
Remove some superfluous arguments from some wx control creations
wx has these as default parameters.
This commit is contained in:
parent
e5b250fa79
commit
b2d47401b2
21 changed files with 224 additions and 300 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue