X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/741cca6b380ccacd162d1c662b6063021c8ee3ee..fa699cbaaf217af186cd04dd10d6ec67c8667136:/misc/languages/genlang.py diff --git a/misc/languages/genlang.py b/misc/languages/genlang.py index c877902025..f9c9ae6354 100755 --- a/misc/languages/genlang.py +++ b/misc/languages/genlang.py @@ -115,7 +115,6 @@ def WriteTable(f, table): void wxLocale::InitLanguagesDB() { wxLanguageInfo info; - wxStringTokenizer tkn; %s } @@ -165,6 +164,6 @@ def ReplaceGeneratedPartOfFile(fname, func): os.rename(fnameNew, fname) table = ReadTable() -ReplaceGeneratedPartOfFile('include/wx/intl.h', WriteEnum) -ReplaceGeneratedPartOfFile('interface/wx/intl.h', WriteEnum) -ReplaceGeneratedPartOfFile('src/common/intl.cpp', WriteTable) +ReplaceGeneratedPartOfFile('include/wx/language.h', WriteEnum) +ReplaceGeneratedPartOfFile('interface/wx/language.h', WriteEnum) +ReplaceGeneratedPartOfFile('src/common/languageinfo.cpp', WriteTable)