mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +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
|
@ -129,8 +129,7 @@ void CLogWindow::CreateGUIControls()
|
|||
}
|
||||
|
||||
// Font
|
||||
m_FontChoice = new wxChoice(this, IDM_FONT,
|
||||
wxDefaultPosition, wxDefaultSize, 0, NULL, 0, wxDefaultValidator);
|
||||
m_FontChoice = new wxChoice(this, IDM_FONT);
|
||||
m_FontChoice->Append(_("Default font"));
|
||||
m_FontChoice->Append(_("Monospaced font"));
|
||||
m_FontChoice->Append(_("Selected font"));
|
||||
|
@ -161,8 +160,7 @@ void CLogWindow::CreateGUIControls()
|
|||
|
||||
// Sizers
|
||||
wxBoxSizer *sTop = new wxBoxSizer(wxHORIZONTAL);
|
||||
sTop->Add(new wxButton(this, IDM_CLEARLOG, _("Clear"),
|
||||
wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT));
|
||||
sTop->Add(new wxButton(this, IDM_CLEARLOG, _("Clear"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT));
|
||||
sTop->Add(m_FontChoice, 0, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 3);
|
||||
sTop->Add(m_WrapLine, 0, wxALIGN_CENTER_VERTICAL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue