]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/stc/prefs.h
fix sizing of extra control
[wxWidgets.git] / samples / stc / prefs.h
index d95f90a115f500f2168b66431b0c2ffe0d184c07..90513dde3f901364f82bb8906f6130e2cbf34146 100644 (file)
@@ -121,12 +121,12 @@ extern const CommonInfo g_CommonPrefs;
 // LanguageInfo
 
 struct LanguageInfo {
-    const wxChar *name;
-    const 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;