]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/b.win32
Added wxDataViewColumn
[wxWidgets.git] / wxPython / b.win32
index 77ff58076597a15ccd797fe23eee40ae4a5a17fb..8444a1decec832d1a7daad8e359a8b81976b5306 100644 (file)
@@ -9,7 +9,6 @@ if [ "$SWIGDIR" = "" ]; then
   SWIGDIR=$PROJECTS\\SWIG-1.3.27
 fi
 
-FLAGS="USE_SWIG=1 SWIG=$SWIGDIR\\swig.exe"
 
 #  Use non-default python?
 case $1 in
@@ -27,6 +26,22 @@ SETUP="$PYTHON -u setup.py"
 $PYTHON -c "import sys;print '\n', sys.version, '\n'"
 
 
+FLAGS="USE_SWIG=1 SWIG=$SWIGDIR\\swig.exe"
+UNIFLAG="UNICODE=1"
+
+for p in $*; do
+    if [ "$p" = "UNICODE=0" -o "$p" = "UNICODE=1" ]; then
+       UNIFLAG=""
+       break
+    fi
+done
+
+FLAGS="$FLAGS $UNIFLAG"
+
+
+
+
+
 
 # "c" --> clean
 if [ "$1" = "c" ]; then