projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MSVS autoexp.dat fragment for some common wxWidgets types.
[wxWidgets.git]
/
samples
/
stc
/
prefs.h
diff --git
a/samples/stc/prefs.h
b/samples/stc/prefs.h
index 523362545ce024d094ace127f5c0fd26096cb39b..90513dde3f901364f82bb8906f6130e2cbf34146 100644
(file)
--- a/
samples/stc/prefs.h
+++ b/
samples/stc/prefs.h
@@
-1,4
+1,4
@@
-
//////////////////////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////
// File: prefs.h
// Purpose: STC test Preferences initialization
// Maintainer: Wyo
// File: prefs.h
// Purpose: STC test Preferences initialization
// Maintainer: Wyo
@@
-20,10
+20,10
@@
// headers
//----------------------------------------------------------------------------
// headers
//----------------------------------------------------------------------------
-//! wxWi
ndow
s headers
+//! wxWi
dget
s headers
-//! wxWi
ndow
s/contrib headers
-#include
<wx/stc/stc.h>
// styled text control
+//! wxWi
dget
s/contrib headers
+#include
"wx/stc/stc.h"
// styled text control
//! application headers
//! application headers
@@
-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;
@@
-150,4
+150,3
@@
extern const StyleInfo g_StylePrefs[];
extern const int g_StylePrefsSize;
#endif // _PREFS_H_
extern const int g_StylePrefsSize;
#endif // _PREFS_H_
-