]> git.saurik.com Git - wxWidgets.git/commitdiff
Reserve the whole style byte for styles. See #14688
authorRobin Dunn <robin@alldunn.com>
Tue, 25 Sep 2012 23:53:40 +0000 (23:53 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 25 Sep 2012 23:53:40 +0000 (23:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/stc/edit.cpp

index 8d33382b67805d9611f6610b281f498956485ff4..ed4c804711f78969a2d49201fe79ebb320457c37 100644 (file)
@@ -120,6 +120,9 @@ 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);