git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41931
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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_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
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
echo "Building the wx DLLs..."
if [ $CHARTYPE = both -o $CHARTYPE = ansi ]; then
+ .make hybrid USE_GDIPLUS=1
fi
if [ $CHARTYPE = both -o $CHARTYPE = unicode ]; then
fi
if [ $CHARTYPE = both -o $CHARTYPE = unicode ]; then
+ .make hybrid-uni USE_GDIPLUS=1
--enable-sound \
--enable-display \
--enable-geometry \
--enable-sound \
--enable-display \
--enable-geometry \
+ --enable-graphics_ctx \
$DEBUG_FLAG \
--enable-precomp=no \
--enable-optimise \
$DEBUG_FLAG \
--enable-precomp=no \
--enable-optimise \
+Source: "distrib\msw\gdiplus.dll"; DestDir: "{code:GetPythonDir}"; OnlyBelowVersion: 5.1; CopyMode: alwaysskipifsameorolder; Flags: sharedfile; Components: core
Source: "%(WXDIR)s\lib\vc_dll\wx*%(WXDLLVER)s_*.dll"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
%(MSLU)s
Source: "%(WXDIR)s\lib\vc_dll\wx*%(WXDLLVER)s_*.dll"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
%(MSLU)s
+Source: "distrib\msw\gdiplus.dll"; DestDir: "{code:GetPythonDir}"; OnlyBelowVersion: 5.1; CopyMode: alwaysskipifsameorolder; Flags: sharedfile; Components: core
Source: "%(WXDIR)s\lib\vc_dll\wx*%(WXDLLVER)s_*.dll"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
%(MSLU)s
Source: "%(WXDIR)s\lib\vc_dll\wx*%(WXDLLVER)s_*.dll"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
%(MSLU)s
--with-opengl \
--with-gnomeprint \
--enable-geometry \
--with-opengl \
--with-gnomeprint \
--enable-geometry \
+ --enable-graphics_ctx \
--enable-optimise \
--enable-sound --with-sdl \
%if %{mediactrl}
--enable-optimise \
--enable-sound --with-sdl \
%if %{mediactrl}