X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88b98c53acd58f819968abe7a9fcc92fb4b28ac5..5064e6eff3ca35cb20130dc9e5e53fb3ac02127e:/samples/stc/prefs.cpp diff --git a/samples/stc/prefs.cpp b/samples/stc/prefs.cpp index 2ef7735318..d1e443c175 100644 --- a/samples/stc/prefs.cpp +++ b/samples/stc/prefs.cpp @@ -1,5 +1,5 @@ ////////////////////////////////////////////////////////////////////////////// -// File: prefs.cpp +// File: contrib/samples/stc/prefs.cpp // Purpose: STC test Preferences initialization // Maintainer: Wyo // Created: 2003-09-01 @@ -12,22 +12,22 @@ // headers //---------------------------------------------------------------------------- -// For compilers that support precompilation, includes . -#include +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif // for all others, include the necessary headers (this file is usually all you -// need because it includes almost all 'standard' wxWindows headers) +// need because it includes almost all 'standard' wxWidgets headers) #ifndef WX_PRECOMP - #include + #include "wx/wx.h" #endif -//! wxWindows headers +//! wxWidgets headers -//! wxWindows/contrib headers +//! wxWidgets/contrib headers //! application headers #include "defsext.h" // Additional definitions @@ -175,7 +175,7 @@ const LanguageInfo g_LanguagePrefs [] = { {-1, NULL}}, mySTC_FOLD_COMMENTPY | mySTC_FOLD_QUOTESPY}, // * (any) - {(wxChar *)DEFAULT_LANGUAGE, + {(const wxChar *)DEFAULT_LANGUAGE, _T("*.*"), wxSTC_LEX_PROPERTIES, {{mySTC_TYPE_DEFAULT, NULL}, @@ -376,4 +376,3 @@ const StyleInfo g_StylePrefs [] = { }; const int g_StylePrefsSize = WXSIZEOF(g_StylePrefs); -