projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do only what is necessary in SetScrollbars(), let the base class do the rest
[wxWidgets.git]
/
samples
/
stc
/
prefs.h
diff --git
a/samples/stc/prefs.h
b/samples/stc/prefs.h
index 4ac01745e36cf83df226eed2ac67903eb367f9a0..90513dde3f901364f82bb8906f6130e2cbf34146 100644
(file)
--- a/
samples/stc/prefs.h
+++ b/
samples/stc/prefs.h
@@
-121,12
+121,12
@@
extern const CommonInfo g_CommonPrefs;
// LanguageInfo
struct LanguageInfo {
// LanguageInfo
struct LanguageInfo {
-
wxC
har *name;
-
wxC
har *filepattern;
+
const c
har *name;
+
const c
har *filepattern;
int lexer;
struct {
int type;
int lexer;
struct {
int type;
- const
wxC
har *words;
+ const
c
har *words;
} styles [STYLE_TYPES_COUNT];
int folds;
};
} styles [STYLE_TYPES_COUNT];
int folds;
};
@@
-137,10
+137,10
@@
extern const int g_LanguagePrefsSize;
//----------------------------------------------------------------------------
// StyleInfo
struct StyleInfo {
//----------------------------------------------------------------------------
// 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;
int fontsize;
int fontstyle;
int lettercase;