X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/741cca6b380ccacd162d1c662b6063021c8ee3ee..ab78328d2a81c8ef5f8211124b50f09687a207e7:/misc/languages/genlang.py?ds=sidebyside

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)