From eebadf34835285fd962b59ae23e6ececfdbed020 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 21 Apr 2019 02:03:05 +0200 Subject: [PATCH] Rename m_UseXXX variables to m_useXXX for consistency And also to follow the usual naming convention. --- src/stc/PlatWX.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 03230714ae..c9fdfe9ee8 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -2347,8 +2347,8 @@ private: bool m_hasListCtrlAppearance; wxColour m_currentBgColour; wxColour m_currentTextColour; - bool m_UseDefaultCurrentBgColour; - bool m_UseDefaultCurrentTextColour; + bool m_useDefaultCurrentBgColour; + bool m_useDefaultCurrentTextColour; }; wxSTCListBoxVisualData::wxSTCListBoxVisualData(int d):m_desiredVisibleRows(d), @@ -2357,8 +2357,8 @@ wxSTCListBoxVisualData::wxSTCListBoxVisualData(int d):m_desiredVisibleRows(d), m_useDefaultHighlightBgColour(true), m_useDefaultHighlightTextColour(true), m_hasListCtrlAppearance(false), - m_UseDefaultCurrentBgColour(true), - m_UseDefaultCurrentTextColour(true) + m_useDefaultCurrentBgColour(true), + m_useDefaultCurrentTextColour(true) { ComputeColours(); } @@ -2452,7 +2452,7 @@ void wxSTCListBoxVisualData::ComputeColours() if ( m_useDefaultHighlightBgColour ) m_highlightBgColour = wxNullColour; - if ( m_UseDefaultCurrentBgColour ) + if ( m_useDefaultCurrentBgColour ) m_currentBgColour = wxNullColour; #ifdef __WXMSW__ @@ -2465,7 +2465,7 @@ void wxSTCListBoxVisualData::ComputeColours() wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT); #endif - if ( m_UseDefaultCurrentTextColour ) + if ( m_useDefaultCurrentTextColour ) m_currentTextColour = wxSystemSettings::GetColour( wxSYS_COLOUR_LISTBOXTEXT); } @@ -2536,8 +2536,8 @@ void wxSTCListBoxVisualData::UseListCtrlStyle(bool useListCtrlStyle, const wxColour& curText) { m_hasListCtrlAppearance = useListCtrlStyle; - SetColourHelper(m_UseDefaultCurrentBgColour, m_currentBgColour, curBg); - SetColourHelper(m_UseDefaultCurrentTextColour, m_currentTextColour, + SetColourHelper(m_useDefaultCurrentBgColour, m_currentBgColour, curBg); + SetColourHelper(m_useDefaultCurrentTextColour, m_currentTextColour, curText); ComputeColours(); }