]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/setup.py
check that the bitmap is valid before getting its size to avoid asserts
[wxWidgets.git] / wxPython / setup.py
index 34b0b5dacc50ebb6c25f0636130d6661cd5ae87f..b860e78ae778007ddcf1af43db5fad84cc023164 100755 (executable)
@@ -156,8 +156,8 @@ CLEANUP.append('licence')
 
 
 if os.name == 'nt':
-    build_locale_dir(opj(PKGDIR, 'i18n'))
-    DATA_FILES += build_locale_list(opj(PKGDIR, 'i18n'))
+    build_locale_dir(opj(PKGDIR, 'locale'))
+    DATA_FILES += build_locale_list(opj(PKGDIR, 'locale'))
 
 
 if os.name == 'nt':
@@ -193,6 +193,7 @@ swig_sources = run_swig(['gdi.i'], 'src', GENDIR, PKGDIR,
                          'src/_bitmap.i',
                          'src/_colour.i',
                          'src/_dc.i',
+                         'src/_graphics.i',
                          'src/_gdiobj.i',
                          'src/_imaglist.i',
                          'src/_region.i',
@@ -331,6 +332,7 @@ swig_sources = run_swig(['misc.i'], 'src', GENDIR, PKGDIR,
                           'src/_clipbrd.i',
                           'src/_stdpaths.i',
                           'src/_power.i',
+                          'src/_about.i',
                           ],
                         True)
 ext = Extension('_misc_', swig_sources,