X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/741cca6b380ccacd162d1c662b6063021c8ee3ee..33d8353fa58dbc66fc9d22fcd510ded6b26ce719:/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)