]> git.saurik.com Git - wxWidgets.git/commitdiff
Store the type table name in a variable so it can be reused
authorRobin Dunn <robin@alldunn.com>
Sat, 16 Apr 2005 05:25:48 +0000 (05:25 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 16 Apr 2005 05:25:48 +0000 (05:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/config.py

index d3d070b3ac3a2bf2b7c4b42bf0b14640163fd830..6b8d5199e68e9abd9058363f137c8a993ac70245 100644 (file)
@@ -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'),
                ]