Commit 5d40966f authored by twanvl's avatar twanvl

compatibility with wxWdigets 2.9+: wxString::iterator::operator* aparently...

compatibility with wxWdigets 2.9+: wxString::iterator::operator* aparently does not return a wxChar anymore, use cast to force conversion.
parent 5f1e61b0
...@@ -288,7 +288,7 @@ KeywordTrie* KeywordTrie::insert(Char c) { ...@@ -288,7 +288,7 @@ KeywordTrie* KeywordTrie::insert(Char c) {
KeywordTrie* KeywordTrie::insert(const String& match) { KeywordTrie* KeywordTrie::insert(const String& match) {
KeywordTrie* cur = this; KeywordTrie* cur = this;
FOR_EACH_CONST(c, match) { FOR_EACH_CONST(c, match) {
cur = cur->insert(c); cur = cur->insert(static_cast<Char>(c));
} }
return cur; return cur;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment