]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/stc/prefs.h
added wxDirCtrl to the sample to allow testing of the file names dragging (based...
[wxWidgets.git] / samples / stc / prefs.h
index b17ad6de7ef2a6a74c7e906db05bcc2b327b87ae..d95f90a115f500f2168b66431b0c2ffe0d184c07 100644 (file)
@@ -1,4 +1,4 @@
-    //////////////////////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////
 // File:        prefs.h
 // Purpose:     STC test Preferences initialization
 // Maintainer:  Wyo
@@ -23,7 +23,7 @@
 //! wxWidgets headers
 
 //! wxWidgets/contrib headers
-#include <wx/stc/stc.h>  // styled text control
+#include "wx/stc/stc.h"  // styled text control
 
 //! application headers
 
@@ -121,8 +121,8 @@ extern const CommonInfo g_CommonPrefs;
 // LanguageInfo
 
 struct LanguageInfo {
-    wxChar *name;
-    wxChar *filepattern;
+    const wxChar *name;
+    const wxChar *filepattern;
     int lexer;
     struct {
         int type;
@@ -150,4 +150,3 @@ extern const StyleInfo g_StylePrefs[];
 extern const int g_StylePrefsSize;
 
 #endif // _PREFS_H_
-