X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..f1d5aa4eca541a2f90044a63f555985d6bd4adf3:/samples/stc/prefs.h diff --git a/samples/stc/prefs.h b/samples/stc/prefs.h index b17ad6de7e..90513dde3f 100644 --- a/samples/stc/prefs.h +++ b/samples/stc/prefs.h @@ -1,4 +1,4 @@ - ////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// // File: prefs.h // Purpose: STC test Preferences initialization // Maintainer: Wyo @@ -23,7 +23,7 @@ //! wxWidgets headers //! wxWidgets/contrib headers -#include // styled text control +#include "wx/stc/stc.h" // styled text control //! application headers @@ -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; @@ -150,4 +150,3 @@ extern const StyleInfo g_StylePrefs[]; extern const int g_StylePrefsSize; #endif // _PREFS_H_ -