X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c40691a0644cb0e08ec2c0cb7cda1c10b5a84e1b..d5cc191c9cd48a915ce0dfc6e49511b2fddb6746:/samples/stc/prefs.h diff --git a/samples/stc/prefs.h b/samples/stc/prefs.h index 4ac01745e3..90513dde3f 100644 --- a/samples/stc/prefs.h +++ b/samples/stc/prefs.h @@ -121,12 +121,12 @@ extern const CommonInfo g_CommonPrefs; // LanguageInfo struct LanguageInfo { - wxChar *name; - wxChar *filepattern; + const char *name; + const char *filepattern; int lexer; struct { int type; - const wxChar *words; + const char *words; } styles [STYLE_TYPES_COUNT]; int folds; }; @@ -137,10 +137,10 @@ extern const int g_LanguagePrefsSize; //---------------------------------------------------------------------------- // StyleInfo struct StyleInfo { - wxChar *name; - wxChar *foreground; - wxChar *background; - wxChar *fontname; + const wxChar *name; + const wxChar *foreground; + const wxChar *background; + const wxChar *fontname; int fontsize; int fontstyle; int lettercase;