s/wxUSE_DISPLAY *0/wxUSE_DISPLAY 1/g
s/wxUSE_DIB_FOR_BITMAP *0/wxUSE_DIB_FOR_BITMAP 1/g
s/wxUSE_DEBUGREPORT *1/wxUSE_DEBUGREPORT 0/g
+s/wxUSE_GRAPHICS_CONTEXT *0/wxUSE_GRAPHICS_CONTEXT 1/g
EOF
cat $WXDIR/include/wx/msw/setup0.h | sed -f .my.sedexpr > $WXDIR/include/wx/msw/setup.h
rm .my.sedexpr
echo "Building the wx DLLs..."
if [ $CHARTYPE = both -o $CHARTYPE = ansi ]; then
- .make hybrid
+ .make hybrid USE_GDIPLUS=1
fi
if [ $CHARTYPE = both -o $CHARTYPE = unicode ]; then
- .make hybrid-uni
+ .make hybrid-uni USE_GDIPLUS=1
fi
# $WXDIR/lib/vc_dll/tex2rtf.exe $DOCSRC $DOCDEST -twice -html -macros $DOCINI
-echo "Extracting html docs..."
-mkdir -p $WXDIR/docs/html/wx
-cd $WXDIR/docs/html/wx
-rm -rf *
-tar xjf $DESTDIR/wxPython-docs-$VERSION.tar.bz2
-rm $DESTDIR/wxPython-docs-$VERSION.tar.bz2
-unzip wxPython-$VERSION/docs/wx.zip
+# echo "Extracting html docs..."
+# mkdir -p $WXDIR/docs/html/wx
+# cd $WXDIR/docs/html/wx
+# rm -rf *
+# tar xjf $DESTDIR/wxPython-docs-$VERSION.tar.bz2
+# rm $DESTDIR/wxPython-docs-$VERSION.tar.bz2
+# unzip wxPython-$VERSION/docs/wx.zip
+
echo "Building the HTMLHelp file..."
cd $WXDIR/docs/html/wx
b $PYVER r UNICODE=1 USE_SWIG=0
fi
+
echo "Building the developer package..."
WXWIN=`cygpath -w $WXDIR`
export WXWIN