Don't use deprecated function in stc sample
Call to deprecated wxStyledTextCtrl::SetStyleBits() function can be omitted because underlying SCI_SETSTYLEBITS API is not operational anymore. See #17671.
This commit is contained in:
committed by
Artur Wieczorek
parent
da66e81fb9
commit
f33da324c0
@@ -133,9 +133,6 @@ Edit::Edit (wxWindow *parent, wxWindowID id,
|
||||
// initialize language
|
||||
m_language = NULL;
|
||||
|
||||
// Use all the bits in the style byte as styles, not indicators.
|
||||
SetStyleBits(8);
|
||||
|
||||
// default font for all styles
|
||||
SetViewEOL (g_CommonPrefs.displayEOLEnable);
|
||||
SetIndentationGuides (g_CommonPrefs.indentGuideEnable);
|
||||
|
Reference in New Issue
Block a user