]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/stc/prefs.h
eliminate possibility of configure enabling gnomeprint with GTK3
[wxWidgets.git] / samples / stc / prefs.h
index 4ac01745e36cf83df226eed2ac67903eb367f9a0..90513dde3f901364f82bb8906f6130e2cbf34146 100644 (file)
@@ -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;