From f33da324c06545a99d3d5af62876fc3dab5848fd Mon Sep 17 00:00:00 2001 From: New Pagodi Date: Tue, 7 Mar 2017 19:07:38 +0100 Subject: [PATCH] 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. --- samples/stc/edit.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/samples/stc/edit.cpp b/samples/stc/edit.cpp index 05aeba9898..46b4154a3e 100644 --- a/samples/stc/edit.cpp +++ b/samples/stc/edit.cpp @@ -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);