+
+
+# Extension for the controls module
+swig_sources = run_swig(['controls.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force, swig_args, swig_deps +
+ [ 'src/_controls_rename.i', 'src/_controls_reverse.txt',
+ 'src/_toolbar.i',
+ 'src/_button.i', 'src/_checkbox.i',
+ 'src/_choice.i', 'src/_combobox.i',
+ 'src/_gauge.i', 'src/_statctrls.i',
+ 'src/_listbox.i', 'src/_textctrl.i',
+ 'src/_scrolbar.i', 'src/_spin.i',
+ 'src/_radio.i', 'src/_slider.i',
+ 'src/_tglbtn.i', 'src/_notebook.i',
+ 'src/_listctrl.i', 'src/_treectrl.i',
+ 'src/_dirctrl.i', 'src/_pycontrol.i',
+ 'src/_cshelp.i', 'src/_dragimg.i',
+ ])
+ext = Extension('_controls', swig_sources,
+ include_dirs = includes,
+ define_macros = defines,
+ library_dirs = libdirs,
+ libraries = libs,
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ depends = depends
+ )
+wxpExtensions.append(ext)
+
+
+
+
+# Extension for the misc module
+swig_sources = run_swig(['misc.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force, swig_args, swig_deps +
+ [ 'src/_settings.i', 'src/_functions.i',
+ 'src/_misc.i', 'src/_tipdlg.i',
+ 'src/_timer.i', 'src/_log.i',
+ 'src/_process.i', 'src/_joystick.i',
+ 'src/_sound.i', 'src/_mimetype.i',
+ 'src/_artprov.i', 'src/_config.i',
+ 'src/_datetime.i', 'src/_dataobj.i',
+ 'src/_dnd.i',
+ 'src/_clipbrd.i',
+ ])
+ext = Extension('_misc', swig_sources,
+ include_dirs = includes,
+ define_macros = defines,
+ library_dirs = libdirs,
+ libraries = libs,
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ depends = depends
+ )
+wxpExtensions.append(ext)
+
+
+
+##
+## Core modules that are not in the "core" namespace start here
+##
+