Don't build the old versions of OGL or iewin by default anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-02-28 19:19:25 +00:00
parent 1bdd1007d1
commit a0c70b7642
6 changed files with 25 additions and 19 deletions

View File

@@ -3576,7 +3576,7 @@ wxWindowMSW::MSWOnDrawItem(int WXUNUSED_UNLESS_ODRAWN(id),
if ( id == 0 && pDrawStruct->CtlType == ODT_MENU ) if ( id == 0 && pDrawStruct->CtlType == ODT_MENU )
{ {
wxMenuItem *pMenuItem = (wxMenuItem *)(pDrawStruct->itemData); wxMenuItem *pMenuItem = (wxMenuItem *)(pDrawStruct->itemData);
if (!pMenuItem) return false;
wxCHECK_MSG( pMenuItem && pMenuItem->IsKindOf(CLASSINFO(wxMenuItem)), wxCHECK_MSG( pMenuItem && pMenuItem->IsKindOf(CLASSINFO(wxMenuItem)),
false, _T("MSWOnDrawItem: bad wxMenuItem pointer") ); false, _T("MSWOnDrawItem: bad wxMenuItem pointer") );

View File

@@ -40,7 +40,7 @@ VER_MAJOR = 2 # The first three must match wxWidgets
VER_MINOR = 5 VER_MINOR = 5
VER_RELEASE = 4 VER_RELEASE = 4
VER_SUBREL = 1 # wxPython release num for x.y.z release of wxWidgets VER_SUBREL = 1 # wxPython release num for x.y.z release of wxWidgets
VER_FLAGS = "rc1" # release flags, such as prerelease num, unicode, etc. VER_FLAGS = "pre" # release flags, such as prerelease num, unicode, etc.
DESCRIPTION = "Cross platform GUI toolkit for Python" DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn" AUTHOR = "Robin Dunn"
@@ -79,14 +79,14 @@ Topic :: Software Development :: User Interfaces
# Config values below this point can be reset on the setup.py command line. # Config values below this point can be reset on the setup.py command line.
BUILD_GLCANVAS = 1 # If true, build the contrib/glcanvas extension module BUILD_GLCANVAS = 1 # If true, build the contrib/glcanvas extension module
BUILD_OGL = 1 # If true, build the contrib/ogl extension module BUILD_OGL = 0 # If true, build the contrib/ogl extension module
BUILD_STC = 1 # If true, build the contrib/stc extension module BUILD_STC = 1 # If true, build the contrib/stc extension module
BUILD_GIZMOS = 1 # Build a module for the gizmos contrib library BUILD_GIZMOS = 1 # Build a module for the gizmos contrib library
BUILD_DLLWIDGET = 0# Build a module that enables unknown wx widgets BUILD_DLLWIDGET = 0# Build a module that enables unknown wx widgets
# to be loaded from a DLL and to be used from Python. # to be loaded from a DLL and to be used from Python.
# Internet Explorer wrapper (experimental) # Internet Explorer wrapper (experimental)
BUILD_IEWIN = (os.name == 'nt') BUILD_IEWIN = 0 #(os.name == 'nt')
BUILD_ACTIVEX = (os.name == 'nt') # new version of IEWIN and more BUILD_ACTIVEX = (os.name == 'nt') # new version of IEWIN and more

View File

@@ -89,9 +89,9 @@ Source: "wx\_html.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; C
Source: "wx\_wizard.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core Source: "wx\_wizard.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
Source: "wx\_gizmos.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core Source: "wx\_gizmos.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
Source: "wx\_glcanvas.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core Source: "wx\_glcanvas.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
Source: "wx\_iewin.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core ;;Source: "wx\_iewin.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
Source: "wx\_activex.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core Source: "wx\_activex.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
Source: "wx\_ogl.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core ;;Source: "wx\_ogl.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
Source: "wx\_stc.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core Source: "wx\_stc.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
Source: "wx\_xrc.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core Source: "wx\_xrc.pyd"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
@@ -390,7 +390,7 @@ Source: "demo\data\*.swf"; DestDir: "{app}\demo\data";
Source: "licence\*.txt"; DestDir: "{app}\docs\licence"; Source: "licence\*.txt"; DestDir: "{app}\docs\licence";
Source: "%(WXDIR)s\docs\htmlhelp\wx.chm"; DestDir: "{app}\docs"; Source: "%(WXDIR)s\docs\htmlhelp\wx.chm"; DestDir: "{app}\docs";
Source: "%(WXDIR)s\docs\htmlhelp\ogl.chm"; DestDir: "{app}\docs"; ;;Source: "%(WXDIR)s\docs\htmlhelp\ogl.chm"; DestDir: "{app}\docs";
Source: "docs\README.txt"; DestDir: "{app}\docs"; Flags: isreadme; Source: "docs\README.txt"; DestDir: "{app}\docs"; Flags: isreadme;
Source: "docs\*.txt"; DestDir: "{app}\docs"; Source: "docs\*.txt"; DestDir: "{app}\docs";
Source: "docs\*.css"; DestDir: "{app}\docs"; Source: "docs\*.css"; DestDir: "{app}\docs";

View File

@@ -115,12 +115,12 @@ if [ ! $? = 0 ]; then error; fi
cd - cd -
echo ------------------ # echo ------------------
echo cd ../../contrib/build/ogl # echo cd ../../contrib/build/ogl
cd ../../contrib/build/ogl # cd ../../contrib/build/ogl
$WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@ # $WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@
if [ ! $? = 0 ]; then error; fi # if [ ! $? = 0 ]; then error; fi
cd - # cd -

View File

@@ -100,12 +100,12 @@ if %? != 0 goto done
cd - cd -
echo ------------------ REM echo ------------------
echo cd ..\..\contrib\build\ogl REM echo cd ..\..\contrib\build\ogl
cd ..\..\contrib\build\ogl REM cd ..\..\contrib\build\ogl
call %WXWIN%\build\msw\.mymake.btm %BUILD_TYPE% CXX="cl -DwxUSE_DEPRECATED=0" %$ REM call %WXWIN%\build\msw\.mymake.btm %BUILD_TYPE% CXX="cl -DwxUSE_DEPRECATED=0" %$
if %? != 0 goto done REM if %? != 0 goto done
cd - REM cd -

View File

@@ -246,6 +246,12 @@ lead. Boa needs them to help keep track of what kind of item is being
managed by the sizer. They are now just simple compatibility aliases managed by the sizer. They are now just simple compatibility aliases
for Add, and etc. for Add, and etc.
The old C++ version of the OGL lib is no longer built by default. Use
the Python version in the wx.lib.ogl package instead.
The wx.iewin module is no longer built by default. You can use the
wx.lib.iewin version instead.