]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/setup.py
added support for polygons to wxRegion
[wxWidgets.git] / wxPython / setup.py
index e9e5779cf53dbe566c53c42faa325768eff0f2ca..e0c545f162a73f79bfd6b905f06f89b2e410c01c 100755 (executable)
@@ -204,7 +204,7 @@ if os.name == 'nt':
             'advapi32', 'wsock32']
 
 
-    cflags = [] #['/GX-']  # workaround for internal compiler error in MSVC 5
+    cflags = [] #['/GX-']  # workaround for internal compiler error in MSVC on some machines
     lflags = None
 
 
@@ -377,6 +377,20 @@ if not GL_ONLY:
     wxpExtensions.append(ext)
 
 
+    # Extension for the help module
+    swig_sources = run_swig(['help.i'], 'src', GENDIR, PKGDIR,
+                            USE_SWIG, swig_force, swig_args, swig_deps)
+    ext = Extension('helpc', swig_sources,
+                    include_dirs =  includes,
+                    define_macros = defines,
+                    library_dirs = libdirs,
+                    libraries = libs,
+                    extra_compile_args = cflags,
+                    extra_link_args = lflags,
+                    )
+    wxpExtensions.append(ext)
+
+
 #----------------------------------------------------------------------
 # Define the GLCanvas extension module
 #----------------------------------------------------------------------