From: Robin Dunn Date: Sat, 16 Apr 2005 05:25:48 +0000 (+0000) Subject: Store the type table name in a variable so it can be reused X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/77bef39a474d9f955225959554bfcd88fe4ca529 Store the type table name in a variable so it can be reused git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/config.py b/wxPython/config.py index d3d070b3ac..6b8d5199e6 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -234,6 +234,7 @@ if sys.platform[:6] == "darwin": if os.name == 'nt': WXPORT = 'msw' +WXPYTHON_TYPE_TABLE = '_wxPython_table' #---------------------------------------------------------------------- # Check for build flags on the command line @@ -679,7 +680,7 @@ if os.name == 'nt': (WXPLAT, None), ('WXUSINGDLL', '1'), - ('SWIG_TYPE_TABLE', '_wxPython_table'), + ('SWIG_TYPE_TABLE', WXPYTHON_TYPE_TABLE), ('WXP_USE_THREAD', '1'), ] @@ -733,7 +734,7 @@ if os.name == 'nt': elif os.name == 'posix': WXDIR = '..' includes = ['include', 'src'] - defines = [('SWIG_TYPE_TABLE', 'wxPython_type_table'), + defines = [('SWIG_TYPE_TABLE', WXPYTHON_TYPE_TABLE), ('HAVE_CONFIG_H', None), ('WXP_USE_THREAD', '1'), ]