From 36336840bad2f3bcdd493a098fa2c2d8c145dc72 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 18 Nov 2018 14:24:42 -0600 Subject: [PATCH] prepend this-> to own variables. --- src/GUI/Settings.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/GUI/Settings.cpp b/src/GUI/Settings.cpp index 44aa321ea..7da207f22 100644 --- a/src/GUI/Settings.cpp +++ b/src/GUI/Settings.cpp @@ -7,15 +7,15 @@ std::unique_ptr ui_settings {nullptr}; Settings::Settings() { // Initialize fonts - _small_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); + this->_small_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); if (the_os == OS::Mac) _small_font.SetPointSize(11); - _small_bold_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); + this->_small_bold_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); if (the_os == OS::Mac) _small_bold_font.SetPointSize(11); - _small_bold_font.MakeBold(); - _medium_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); - _medium_font.SetPointSize(12); + this->_small_bold_font.MakeBold(); + this->_medium_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); + this->_medium_font.SetPointSize(12); - _scroll_step = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetPointSize(); + this->_scroll_step = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetPointSize(); } void Settings::save_settings() { /*