diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-04-30 18:04:49 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-04-30 18:05:30 -0400 |
| commit | 2b89350868ec537ba2fdd57ff85a73fb113e7bd6 (patch) | |
| tree | 8b9a49882681b9bbb62961ed335f4e886c549944 /Source/Core | |
| parent | 4b00ccbe4ed79a3fd3369ca1b2972f0b8e4224ef (diff) | |
AboutDolphin: Remove unnecessary code
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/AboutDolphin.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/Core/DolphinWX/AboutDolphin.cpp b/Source/Core/DolphinWX/AboutDolphin.cpp index 0ff183c464..8ac4dd8ec3 100644 --- a/Source/Core/DolphinWX/AboutDolphin.cpp +++ b/Source/Core/DolphinWX/AboutDolphin.cpp @@ -75,15 +75,15 @@ AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id, const wxString SupportText = _("Support"); wxStaticText* const Dolphin = new wxStaticText(this, wxID_ANY, DolphinText); - wxTextCtrl* const Revision = new wxTextCtrl(this, wxID_ANY, RevisionText, wxDefaultPosition, wxDefaultSize, wxNO_BORDER | wxTE_NO_VSCROLL); + wxTextCtrl* const Revision = new wxTextCtrl(this, wxID_ANY, RevisionText, wxDefaultPosition, wxDefaultSize, wxNO_BORDER | wxTE_READONLY | wxTE_NO_VSCROLL); BanishBackground(Revision); wxStaticText* const Copyright = new wxStaticText(this, wxID_ANY, CopyrightText); - wxTextCtrl* const Branch = new wxTextCtrl(this, wxID_ANY, "", wxDefaultPosition, wxSize(300, 50), wxNO_BORDER | wxTE_NO_VSCROLL); + wxTextCtrl* const Branch = new wxTextCtrl(this, wxID_ANY, "", wxDefaultPosition, wxSize(300, 50), wxNO_BORDER | wxTE_READONLY | wxTE_NO_VSCROLL); BanishBackground(Branch); wxStaticText* const Message = new wxStaticText(this, wxID_ANY, Text); wxStaticText* const UpdateText = new wxStaticText(this, wxID_ANY, CheckUpdateText); - wxStaticText* const FirstSpacer = new wxStaticText(this, wxID_ANY, wxString(" | ")); - wxStaticText* const SecondSpacer = new wxStaticText(this, wxID_ANY, wxString(" | ")); + wxStaticText* const FirstSpacer = new wxStaticText(this, wxID_ANY, " | "); + wxStaticText* const SecondSpacer = new wxStaticText(this, wxID_ANY, " | "); wxHyperlinkCtrl* const Download = new wxHyperlinkCtrl(this, wxID_ANY, "dolphin-emu.org/download", "https://dolphin-emu.org/download/"); wxHyperlinkCtrl* const License = new wxHyperlinkCtrl(this, wxID_ANY, LicenseText, "https://github.com/dolphin-emu/dolphin/blob/master/license.txt"); wxHyperlinkCtrl* const Authors = new wxHyperlinkCtrl(this, wxID_ANY, AuthorsText, "https://github.com/dolphin-emu/dolphin/graphs/contributors"); @@ -100,13 +100,8 @@ AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id, RevisionFont.SetWeight(wxFONTWEIGHT_BOLD); Revision->SetFont(RevisionFont); - Revision->SetEditable(false); - Revision->SetWindowStyle(wxNO_BORDER); - BranchFont.SetPointSize(7); Branch->SetFont(BranchFont); - - Branch->SetEditable(false); Branch->AppendText(BranchText + "\n"); Branch->AppendText(BranchRevText + "\n"); Branch->AppendText(CompiledText); |
