From 454a21e9cd5bbe38e4de210216b17782c51ccce5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 2 Feb 2006 02:20:02 +0000 Subject: [PATCH] use UNICODE=1 by default git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/b.win32 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/wxPython/b.win32 b/wxPython/b.win32 index 77ff580765..8444a1dece 100644 --- a/wxPython/b.win32 +++ b/wxPython/b.win32 @@ -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 -- 2.47.2