From 1c6bdbd99d8923d44a451121691b8972a586678e Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Tue, 18 Nov 2014 17:51:55 +0000 Subject: [PATCH] Fix building with wxWidgets 2.8 --- src/compiledata.cpp | 2 +- src/espeakedit.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiledata.cpp b/src/compiledata.cpp index 9aa52be2..74033501 100644 --- a/src/compiledata.cpp +++ b/src/compiledata.cpp @@ -3749,7 +3749,7 @@ fprintf(f_errors,"\nRefs %d, Reused %d\n",count_references,duplicate_references #include -void CompileMbrola(const char *mbrola_file) +void CompileMbrola(const wxChar *mbrola_file) {//================= char *p; FILE *f_in; diff --git a/src/espeakedit.cpp b/src/espeakedit.cpp index 34fa3cf8..493aa158 100644 --- a/src/espeakedit.cpp +++ b/src/espeakedit.cpp @@ -63,7 +63,7 @@ extern void DictionarySort(const char *dictname); extern void init_z(); extern void CompilePhonemeData(void); extern void CompileSampleRate(void); -extern void CompileMbrola(const char *mbrola_file = NULL); +extern void CompileMbrola(const wxChar *mbrola_file = NULL); extern void CompileIntonation(); extern void InitSpectrumDisplay(); extern void InitProsodyDisplay();