diff --git a/configure b/configure index 0d289f40ec..a9ee665289 100755 --- a/configure +++ b/configure @@ -1654,7 +1654,7 @@ test -n "$target_alias" && wx_major_version_number=2 wx_minor_version_number=5 wx_release_number=3 -wx_subrelease_number=0 +wx_subrelease_number=1 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number WX_VERSION=$WX_RELEASE.$wx_release_number @@ -37472,7 +37472,7 @@ if test "$wxUSE_MAC" = 1 ; then LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System" fi if test "$wxUSE_COCOA" = 1 ; then - LDFLAGS="$LDFLAGS -framework Cocoa" + LDFLAGS="$LDFLAGS -framework Cocoa -framework System" fi diff --git a/configure.in b/configure.in index acf701009e..3e429055ad 100644 --- a/configure.in +++ b/configure.in @@ -56,7 +56,7 @@ dnl libwx_$(TOOLKIT)-$(WX_RELEASE).so.$(WX_CURRENT).$(WX_REVISION).$(WX_AGE) wx_major_version_number=2 wx_minor_version_number=5 wx_release_number=3 -wx_subrelease_number=0 +wx_subrelease_number=1 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number WX_VERSION=$WX_RELEASE.$wx_release_number @@ -5808,7 +5808,7 @@ if test "$wxUSE_MAC" = 1 ; then LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System" fi if test "$wxUSE_COCOA" = 1 ; then - LDFLAGS="$LDFLAGS -framework Cocoa" + LDFLAGS="$LDFLAGS -framework Cocoa -framework System" fi dnl FIXME: should this be covered by the conditional above diff --git a/contrib/build/animate/animate_animatedll.dsp b/contrib/build/animate/animate_animatedll.dsp deleted file mode 100644 index f57686ce8e..0000000000 --- a/contrib/build/animate/animate_animatedll.dsp +++ /dev/null @@ -1,266 +0,0 @@ -# Microsoft Developer Studio Project File - Name="animatedll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=animatedll - Win32 DLL Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "animate_animatedll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "animate_animatedll.mak" CFG="animatedll - Win32 DLL Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "animatedll - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "animatedll - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "animatedll - Win32 DLL Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "animatedll - Win32 DLL Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "animatedll - Win32 DLL Universal Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "animatedll - Win32 DLL Universal Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "animatedll - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "animatedll - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "animatedll - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswddll" -# PROP BASE Intermediate_Dir "vc_mswddll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswddll" -# PROP Intermediate_Dir "vc_mswddll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswddll\wxmsw250d_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswddll\wxmsw250d_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswddll\wxmsw250d_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswddll\wxmsw25d_animate.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswddll\wxmsw250d_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswddll\wxmsw25d_animate.lib" /debug - -!ELSEIF "$(CFG)" == "animatedll - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswdll" -# PROP BASE Intermediate_Dir "vc_mswdll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswdll" -# PROP Intermediate_Dir "vc_mswdll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswdll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswdll\wxmsw250_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswdll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswdll\wxmsw250_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswdll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswdll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswdll\wxmsw250_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswdll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswdll\wxmsw25_animate.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswdll\wxmsw250_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswdll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswdll\wxmsw25_animate.lib" - -!ELSEIF "$(CFG)" == "animatedll - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswuddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswuddll\wxmsw250ud_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswuddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswuddll\wxmsw250ud_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswuddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswuddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswuddll\wxmsw250ud_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswuddll\wxmsw25ud_animate.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswuddll\wxmsw250ud_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswuddll\wxmsw25ud_animate.lib" /debug - -!ELSEIF "$(CFG)" == "animatedll - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswudll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswudll\wxmsw250u_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswudll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswudll\wxmsw250u_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswudll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswudll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswudll\wxmsw250u_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswudll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswudll\wxmsw25u_animate.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswudll\wxmsw250u_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswudll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswudll\wxmsw25u_animate.lib" - -!ELSEIF "$(CFG)" == "animatedll - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivddll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivddll" -# PROP Intermediate_Dir "vc_mswunivddll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_animate.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_animate.lib" /debug - -!ELSEIF "$(CFG)" == "animatedll - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivdll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivdll" -# PROP Intermediate_Dir "vc_mswunivdll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivdll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswunivdll\wxmswuniv250_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivdll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswunivdll\wxmswuniv250_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivdll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivdll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivdll\wxmswuniv250_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivdll\wxmswuniv25_animate.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivdll\wxmswuniv250_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivdll\wxmswuniv25_animate.lib" - -!ELSEIF "$(CFG)" == "animatedll - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_animatedll.pch" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_animate.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_animate.lib" /debug - -!ELSEIF "$(CFG)" == "animatedll - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\animatedll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\animatedll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivudll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivudll" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_animatedll.pch" /Fd..\..\src\animate\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_animate_vc_custom.pdb /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_ANIMATE" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivudll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\animate\..\..\..\include" /i "..\..\src\animate\..\..\..\lib\vc_mswunivudll" /i "..\..\src\animate\..\..\..\src\tiff" /i "..\..\src\animate\..\..\..\src\jpeg" /i "..\..\src\animate\..\..\..\src\png" /i "..\..\src\animate\..\..\..\src\zlib" /i "..\..\src\animate\..\..\..\src\regex" /i "..\..\src\animate\..\..\..\src\expat\lib" /i "..\..\src\animate\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_ANIMATE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_animate.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\animate\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_animate_vc_custom.dll" /libpath:"..\..\src\animate\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\animate\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_animate.lib" - -!ENDIF - -# Begin Target - -# Name "animatedll - Win32 DLL Debug" -# Name "animatedll - Win32 DLL Release" -# Name "animatedll - Win32 DLL Unicode Debug" -# Name "animatedll - Win32 DLL Unicode Release" -# Name "animatedll - Win32 DLL Universal Debug" -# Name "animatedll - Win32 DLL Universal Release" -# Name "animatedll - Win32 DLL Universal Unicode Debug" -# Name "animatedll - Win32 DLL Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/animate\animate.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/animate\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/animate/animate_animatelib.dsp b/contrib/build/animate/animate_animatelib.dsp deleted file mode 100644 index 29c5d673d9..0000000000 --- a/contrib/build/animate/animate_animatelib.dsp +++ /dev/null @@ -1,249 +0,0 @@ -# Microsoft Developer Studio Project File - Name="animatelib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=animatelib - Win32 Unicode Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "animate_animatelib.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "animate_animatelib.mak" CFG="animatelib - Win32 Unicode Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "animatelib - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "animatelib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "animatelib - Win32 Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "animatelib - Win32 Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE "animatelib - Win32 Universal Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "animatelib - Win32 Universal Release" (based on "Win32 (x86) Static Library") -!MESSAGE "animatelib - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "animatelib - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "animatelib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswd" -# PROP BASE Intermediate_Dir "vc_mswd\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswd" -# PROP Intermediate_Dir "vc_mswd\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswd" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswd\wxmsw25d_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswd" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswd\wxmsw25d_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswd\wxmsw25d_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswd\wxmsw25d_animate.lib" - -!ELSEIF "$(CFG)" == "animatelib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_msw" -# PROP BASE Intermediate_Dir "vc_msw\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_msw" -# PROP Intermediate_Dir "vc_msw\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_msw" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_msw\wxmsw25_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_msw" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_msw\wxmsw25_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_msw\wxmsw25_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_msw\wxmsw25_animate.lib" - -!ELSEIF "$(CFG)" == "animatelib - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswud" -# PROP Intermediate_Dir "vc_mswud\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswud" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswud\wxmsw25ud_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswud" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswud\wxmsw25ud_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswud\wxmsw25ud_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswud\wxmsw25ud_animate.lib" - -!ELSEIF "$(CFG)" == "animatelib - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswu" -# PROP Intermediate_Dir "vc_mswu\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswu" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_mswu\wxmsw25u_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswu" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_mswu\wxmsw25u_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswu\wxmsw25u_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswu\wxmsw25u_animate.lib" - -!ELSEIF "$(CFG)" == "animatelib - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivd" -# PROP BASE Intermediate_Dir "vc_mswunivd\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivd" -# PROP Intermediate_Dir "vc_mswunivd\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivd" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivd\wxmswuniv25d_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivd" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivd\wxmswuniv25d_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswunivd\wxmswuniv25d_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswunivd\wxmswuniv25d_animate.lib" - -!ELSEIF "$(CFG)" == "animatelib - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswuniv" -# PROP BASE Intermediate_Dir "vc_mswuniv\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswuniv" -# PROP Intermediate_Dir "vc_mswuniv\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswuniv" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_mswuniv\wxmswuniv25_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswuniv" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_mswuniv\wxmswuniv25_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswuniv\wxmswuniv25_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswuniv\wxmswuniv25_animate.lib" - -!ELSEIF "$(CFG)" == "animatelib - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivud" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivud" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\animate\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_animate.lib" - -!ELSEIF "$(CFG)" == "animatelib - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\animatelib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\animate\..\..\..\lib\vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\animatelib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivu" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_mswunivu\wxmswuniv25u_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\animate\..\..\..\include" /I "..\..\src\animate\..\..\..\lib\vc_mswunivu" /I "..\..\src\animate\..\..\..\src\tiff" /I "..\..\src\animate\..\..\..\src\jpeg" /I "..\..\src\animate\..\..\..\src\png" /I "..\..\src\animate\..\..\..\src\zlib" /I "..\..\src\animate\..\..\..\src\regex" /I "..\..\src\animate\..\..\..\src\expat\lib" /Fd..\..\src\animate\..\..\..\lib\vc_mswunivu\wxmswuniv25u_animate.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_animatelib.pch" /I "..\..\src\animate\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswunivu\wxmswuniv25u_animate.lib" -# ADD LIB32 /nologo /out:"..\..\src\animate\..\..\..\lib\vc_mswunivu\wxmswuniv25u_animate.lib" - -!ENDIF - -# Begin Target - -# Name "animatelib - Win32 Debug" -# Name "animatelib - Win32 Release" -# Name "animatelib - Win32 Unicode Debug" -# Name "animatelib - Win32 Unicode Release" -# Name "animatelib - Win32 Universal Debug" -# Name "animatelib - Win32 Universal Release" -# Name "animatelib - Win32 Universal Unicode Debug" -# Name "animatelib - Win32 Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/animate\animate.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/animate\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/fl/fl_fldll.dsp b/contrib/build/fl/fl_fldll.dsp deleted file mode 100644 index 899e49dfe6..0000000000 --- a/contrib/build/fl/fl_fldll.dsp +++ /dev/null @@ -1,330 +0,0 @@ -# Microsoft Developer Studio Project File - Name="fldll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=fldll - Win32 DLL Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "fl_fldll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "fl_fldll.mak" CFG="fldll - Win32 DLL Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "fldll - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "fldll - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "fldll - Win32 DLL Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "fldll - Win32 DLL Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "fldll - Win32 DLL Universal Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "fldll - Win32 DLL Universal Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "fldll - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "fldll - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "fldll - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswddll" -# PROP BASE Intermediate_Dir "vc_mswddll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswddll" -# PROP Intermediate_Dir "vc_mswddll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswddll\wxmsw250d_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswddll\wxmsw250d_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswddll\wxmsw250d_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswddll\wxmsw25d_fl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswddll\wxmsw250d_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswddll\wxmsw25d_fl.lib" /debug - -!ELSEIF "$(CFG)" == "fldll - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswdll" -# PROP BASE Intermediate_Dir "vc_mswdll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswdll" -# PROP Intermediate_Dir "vc_mswdll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswdll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswdll\wxmsw250_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswdll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswdll\wxmsw250_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswdll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswdll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswdll\wxmsw250_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswdll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswdll\wxmsw25_fl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswdll\wxmsw250_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswdll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswdll\wxmsw25_fl.lib" - -!ELSEIF "$(CFG)" == "fldll - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswuddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswuddll\wxmsw250ud_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswuddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswuddll\wxmsw250ud_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswuddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswuddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswuddll\wxmsw250ud_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswuddll\wxmsw25ud_fl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswuddll\wxmsw250ud_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswuddll\wxmsw25ud_fl.lib" /debug - -!ELSEIF "$(CFG)" == "fldll - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswudll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswudll\wxmsw250u_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswudll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswudll\wxmsw250u_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswudll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswudll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswudll\wxmsw250u_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswudll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswudll\wxmsw25u_fl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswudll\wxmsw250u_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswudll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswudll\wxmsw25u_fl.lib" - -!ELSEIF "$(CFG)" == "fldll - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivddll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivddll" -# PROP Intermediate_Dir "vc_mswunivddll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_fl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_fl.lib" /debug - -!ELSEIF "$(CFG)" == "fldll - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivdll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivdll" -# PROP Intermediate_Dir "vc_mswunivdll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivdll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivdll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivdll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivdll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivdll\wxmswuniv25_fl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivdll\wxmswuniv25_fl.lib" - -!ELSEIF "$(CFG)" == "fldll - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_fldll.pch" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_fl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_fl.lib" /debug - -!ELSEIF "$(CFG)" == "fldll - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\fldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\fldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivudll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivudll" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_fldll.pch" /Fd..\..\src\fl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_fl_vc_custom.pdb /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_FL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivudll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\fl\..\..\..\include" /i "..\..\src\fl\..\..\..\lib\vc_mswunivudll" /i "..\..\src\fl\..\..\..\src\tiff" /i "..\..\src\fl\..\..\..\src\jpeg" /i "..\..\src\fl\..\..\..\src\png" /i "..\..\src\fl\..\..\..\src\zlib" /i "..\..\src\fl\..\..\..\src\regex" /i "..\..\src\fl\..\..\..\src\expat\lib" /i "..\..\src\fl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_FL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_fl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\fl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_fl_vc_custom.dll" /libpath:"..\..\src\fl\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\fl\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_fl.lib" - -!ENDIF - -# Begin Target - -# Name "fldll - Win32 DLL Debug" -# Name "fldll - Win32 DLL Release" -# Name "fldll - Win32 DLL Unicode Debug" -# Name "fldll - Win32 DLL Unicode Release" -# Name "fldll - Win32 DLL Universal Debug" -# Name "fldll - Win32 DLL Universal Release" -# Name "fldll - Win32 DLL Universal Unicode Debug" -# Name "fldll - Win32 DLL Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/fl\antiflickpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\bardragpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\barhintspl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\cbcustom.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\controlbar.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# Begin Source File - -SOURCE=../../src/fl\dyntbar.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\dyntbarhnd.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\frmview.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\garbagec.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\gcupdatesmgr.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\hintanimpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\newbmpbtn.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\panedrawpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\rowdragpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\rowlayoutpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\toolwnd.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\updatesmgr.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/fl/fl_fllib.dsp b/contrib/build/fl/fl_fllib.dsp deleted file mode 100644 index cb52972bba..0000000000 --- a/contrib/build/fl/fl_fllib.dsp +++ /dev/null @@ -1,313 +0,0 @@ -# Microsoft Developer Studio Project File - Name="fllib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=fllib - Win32 Unicode Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "fl_fllib.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "fl_fllib.mak" CFG="fllib - Win32 Unicode Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "fllib - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "fllib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "fllib - Win32 Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "fllib - Win32 Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE "fllib - Win32 Universal Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "fllib - Win32 Universal Release" (based on "Win32 (x86) Static Library") -!MESSAGE "fllib - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "fllib - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "fllib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswd" -# PROP BASE Intermediate_Dir "vc_mswd\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswd" -# PROP Intermediate_Dir "vc_mswd\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswd" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswd\wxmsw25d_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswd" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswd\wxmsw25d_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswd\wxmsw25d_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswd\wxmsw25d_fl.lib" - -!ELSEIF "$(CFG)" == "fllib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_msw" -# PROP BASE Intermediate_Dir "vc_msw\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_msw" -# PROP Intermediate_Dir "vc_msw\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_msw" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_msw\wxmsw25_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_msw" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_msw\wxmsw25_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_msw\wxmsw25_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_msw\wxmsw25_fl.lib" - -!ELSEIF "$(CFG)" == "fllib - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswud" -# PROP Intermediate_Dir "vc_mswud\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswud" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswud\wxmsw25ud_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswud" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswud\wxmsw25ud_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswud\wxmsw25ud_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswud\wxmsw25ud_fl.lib" - -!ELSEIF "$(CFG)" == "fllib - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswu" -# PROP Intermediate_Dir "vc_mswu\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswu" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_mswu\wxmsw25u_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswu" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_mswu\wxmsw25u_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswu\wxmsw25u_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswu\wxmsw25u_fl.lib" - -!ELSEIF "$(CFG)" == "fllib - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivd" -# PROP BASE Intermediate_Dir "vc_mswunivd\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivd" -# PROP Intermediate_Dir "vc_mswunivd\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivd" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivd" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_fl.lib" - -!ELSEIF "$(CFG)" == "fllib - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswuniv" -# PROP BASE Intermediate_Dir "vc_mswuniv\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswuniv" -# PROP Intermediate_Dir "vc_mswuniv\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswuniv" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_mswuniv\wxmswuniv25_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswuniv" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_mswuniv\wxmswuniv25_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswuniv\wxmswuniv25_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswuniv\wxmswuniv25_fl.lib" - -!ELSEIF "$(CFG)" == "fllib - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivud" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivud" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\fl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_fl.lib" - -!ELSEIF "$(CFG)" == "fllib - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\fllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\fl\..\..\..\lib\vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\fllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivu" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\fl\..\..\..\include" /I "..\..\src\fl\..\..\..\lib\vc_mswunivu" /I "..\..\src\fl\..\..\..\src\tiff" /I "..\..\src\fl\..\..\..\src\jpeg" /I "..\..\src\fl\..\..\..\src\png" /I "..\..\src\fl\..\..\..\src\zlib" /I "..\..\src\fl\..\..\..\src\regex" /I "..\..\src\fl\..\..\..\src\expat\lib" /Fd..\..\src\fl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_fl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_fllib.pch" /I "..\..\src\fl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_fl.lib" -# ADD LIB32 /nologo /out:"..\..\src\fl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_fl.lib" - -!ENDIF - -# Begin Target - -# Name "fllib - Win32 Debug" -# Name "fllib - Win32 Release" -# Name "fllib - Win32 Unicode Debug" -# Name "fllib - Win32 Unicode Release" -# Name "fllib - Win32 Universal Debug" -# Name "fllib - Win32 Universal Release" -# Name "fllib - Win32 Universal Unicode Debug" -# Name "fllib - Win32 Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/fl\antiflickpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\bardragpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\barhintspl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\cbcustom.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\controlbar.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# Begin Source File - -SOURCE=../../src/fl\dyntbar.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\dyntbarhnd.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\frmview.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\garbagec.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\gcupdatesmgr.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\hintanimpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\newbmpbtn.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\panedrawpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\rowdragpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\rowlayoutpl.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\toolwnd.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/fl\updatesmgr.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/net/netutils.dsp b/contrib/build/net/netutils.dsp deleted file mode 100644 index 14e8e27738..0000000000 --- a/contrib/build/net/netutils.dsp +++ /dev/null @@ -1,474 +0,0 @@ -# Microsoft Developer Studio Project File - Name="netutils" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=netutils - Win32 DLL Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "netutils.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "netutils.mak" CFG="netutils - Win32 DLL Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "netutils - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 Universal Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 Universal Release" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE "netutils - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netutils - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netutils - Win32 DLL Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netutils - Win32 DLL Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netutils - Win32 DLL Universal Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netutils - Win32 DLL Universal Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netutils - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netutils - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "netutils - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_mswd\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_mswd\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswd" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25d_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswd" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25d_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25d_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25d_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_msw\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_msw\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\msw" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\msw" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_mswud\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_mswud\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswud" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25ud_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswud" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25ud_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25ud_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25ud_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_mswu\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_mswu\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswu" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25u_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "_UNICODE" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswu" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmsw25u_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "_UNICODE" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25u_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmsw25u_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_mswunivd\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_mswunivd\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswunivd" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25d_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswunivd" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25d_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25d_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25d_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_mswuniv\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_mswuniv\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswuniv" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswuniv" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_mswunivud\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_mswunivud\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswunivud" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25ud_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswunivud" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25ud_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25ud_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25ud_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP BASE Intermediate_Dir "vc_mswunivu\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_lib" -# PROP Intermediate_Dir "vc_mswunivu\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswunivu" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25u_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_lib\mswunivu" /Fd..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25u_netutils.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_netutilslib.pch" /I "..\..\src\net\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25u_netutils.lib" -# ADD LIB32 /nologo /out:"..\..\src\net\..\..\..\lib\vc_lib\wxmswuniv25u_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswddll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswddll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswd" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250d_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswd" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250d_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswd" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswd" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250d_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25d_netutils.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250d_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25d_netutils.lib" /debug - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswdll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswdll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\msw" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\msw" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\msw" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\msw" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25_netutils.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswuddll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswuddll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswud" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250ud_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswud" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250ud_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswud" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswud" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250ud_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25ud_netutils.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250ud_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25ud_netutils.lib" /debug - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswudll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswudll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswu" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250u_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswu" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmsw250u_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswu" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswu" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250u_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25u_netutils.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw250u_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmsw25u_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswunivddll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswunivd" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250d_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswunivd" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250d_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswunivd" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswunivd" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250d_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25d_netutils.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250d_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25d_netutils.lib" /debug - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswunivdll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswuniv" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswuniv" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswuniv" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswuniv" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25_netutils.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25_netutils.lib" - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswunivuddll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswunivud" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250ud_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MDd /Od /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswunivud" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_netutilsdll.pch" /Zi /Gm /GZ /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250ud_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswunivud" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswunivud" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250ud_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25ud_netutils.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250ud_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25ud_netutils.lib" /debug - -!ELSEIF "$(CFG)" == "netutils - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\netutils" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\net\..\..\..\lib\vc_dll" -# PROP Intermediate_Dir "vc_mswunivudll\netutils" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswunivu" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250u_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD CPP /nologo /FD /W4 /GR /GX /MD /O1 /I "..\..\src\net\..\..\..\include" /I "..\..\src\net\..\..\..\lib\vc_dll\mswunivu" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_netutilsdll.pch" /Fd..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250u_netutils_vc_custom.pdb /I "..\..\src\net\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "WXMAKINGDLL_NETUTILS" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswunivu" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i "..\..\src\net\..\..\..\include" /i "..\..\src\net\..\..\..\lib\vc_dll\mswunivu" /i "..\..\src\net\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_NETUTILS -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250u_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25u_netutils.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv250u_netutils_vc_custom.dll" /libpath:"..\..\src\net\..\..\..\lib\vc_dll" /implib:"..\..\src\net\..\..\..\lib\vc_dll\wxmswuniv25u_netutils.lib" - -!ENDIF - -# Begin Target - -# Name "netutils - Win32 Debug" -# Name "netutils - Win32 Release" -# Name "netutils - Win32 Unicode Debug" -# Name "netutils - Win32 Unicode Release" -# Name "netutils - Win32 Universal Debug" -# Name "netutils - Win32 Universal Release" -# Name "netutils - Win32 Universal Unicode Debug" -# Name "netutils - Win32 Universal Unicode Release" -# Name "netutils - Win32 DLL Debug" -# Name "netutils - Win32 DLL Release" -# Name "netutils - Win32 DLL Unicode Debug" -# Name "netutils - Win32 DLL Unicode Release" -# Name "netutils - Win32 DLL Universal Debug" -# Name "netutils - Win32 DLL Universal Release" -# Name "netutils - Win32 DLL Universal Unicode Debug" -# Name "netutils - Win32 DLL Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/net\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# Begin Source File - -SOURCE=../../src/net\email.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/net\smapi.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/net\web.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/ogl/ogl_ogldll.dsp b/contrib/build/ogl/ogl_ogldll.dsp deleted file mode 100644 index 5dfa984e7d..0000000000 --- a/contrib/build/ogl/ogl_ogldll.dsp +++ /dev/null @@ -1,310 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ogldll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=ogldll - Win32 DLL Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ogl_ogldll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ogl_ogldll.mak" CFG="ogldll - Win32 DLL Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ogldll - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ogldll - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ogldll - Win32 DLL Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ogldll - Win32 DLL Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ogldll - Win32 DLL Universal Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ogldll - Win32 DLL Universal Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ogldll - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ogldll - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ogldll - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswddll" -# PROP BASE Intermediate_Dir "vc_mswddll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswddll" -# PROP Intermediate_Dir "vc_mswddll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswddll\wxmsw250d_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswddll\wxmsw250d_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswddll\wxmsw250d_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswddll\wxmsw25d_ogl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswddll\wxmsw250d_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswddll\wxmsw25d_ogl.lib" /debug - -!ELSEIF "$(CFG)" == "ogldll - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswdll" -# PROP BASE Intermediate_Dir "vc_mswdll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswdll" -# PROP Intermediate_Dir "vc_mswdll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswdll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswdll\wxmsw250_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswdll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswdll\wxmsw250_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswdll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswdll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswdll\wxmsw250_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswdll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswdll\wxmsw25_ogl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswdll\wxmsw250_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswdll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswdll\wxmsw25_ogl.lib" - -!ELSEIF "$(CFG)" == "ogldll - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswuddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswuddll\wxmsw250ud_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswuddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswuddll\wxmsw250ud_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswuddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswuddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswuddll\wxmsw250ud_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswuddll\wxmsw25ud_ogl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswuddll\wxmsw250ud_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswuddll\wxmsw25ud_ogl.lib" /debug - -!ELSEIF "$(CFG)" == "ogldll - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswudll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswudll\wxmsw250u_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswudll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswudll\wxmsw250u_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswudll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswudll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswudll\wxmsw250u_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswudll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswudll\wxmsw25u_ogl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswudll\wxmsw250u_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswudll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswudll\wxmsw25u_ogl.lib" - -!ELSEIF "$(CFG)" == "ogldll - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivddll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivddll" -# PROP Intermediate_Dir "vc_mswunivddll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_ogl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_ogl.lib" /debug - -!ELSEIF "$(CFG)" == "ogldll - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivdll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivdll" -# PROP Intermediate_Dir "vc_mswunivdll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivdll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivdll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivdll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivdll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivdll\wxmswuniv25_ogl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivdll\wxmswuniv250_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivdll\wxmswuniv25_ogl.lib" - -!ELSEIF "$(CFG)" == "ogldll - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_ogldll.pch" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_ogl.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_ogl.lib" /debug - -!ELSEIF "$(CFG)" == "ogldll - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\ogldll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\ogldll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivudll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivudll" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_ogldll.pch" /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_ogl_vc_custom.pdb /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_OGL" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivudll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\ogl\..\..\..\include" /i "..\..\src\ogl\..\..\..\lib\vc_mswunivudll" /i "..\..\src\ogl\..\..\..\src\tiff" /i "..\..\src\ogl\..\..\..\src\jpeg" /i "..\..\src\ogl\..\..\..\src\png" /i "..\..\src\ogl\..\..\..\src\zlib" /i "..\..\src\ogl\..\..\..\src\regex" /i "..\..\src\ogl\..\..\..\src\expat\lib" /i "..\..\src\ogl\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_OGL -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_ogl.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_ogl_vc_custom.dll" /libpath:"..\..\src\ogl\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\ogl\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_ogl.lib" - -!ENDIF - -# Begin Target - -# Name "ogldll - Win32 DLL Debug" -# Name "ogldll - Win32 DLL Release" -# Name "ogldll - Win32 DLL Unicode Debug" -# Name "ogldll - Win32 DLL Unicode Release" -# Name "ogldll - Win32 DLL Universal Debug" -# Name "ogldll - Win32 DLL Universal Release" -# Name "ogldll - Win32 DLL Universal Unicode Debug" -# Name "ogldll - Win32 DLL Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/ogl\basic.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\basic2.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\bmpshape.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\canvas.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\composit.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\constrnt.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\divided.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\drawn.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\lines.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\mfutils.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\ogldiag.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\oglmisc.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/ogl/ogl_ogllib.dsp b/contrib/build/ogl/ogl_ogllib.dsp deleted file mode 100644 index f15f18d6f9..0000000000 --- a/contrib/build/ogl/ogl_ogllib.dsp +++ /dev/null @@ -1,293 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ogllib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=ogllib - Win32 Unicode Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ogl_ogllib.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ogl_ogllib.mak" CFG="ogllib - Win32 Unicode Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ogllib - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "ogllib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "ogllib - Win32 Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "ogllib - Win32 Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE "ogllib - Win32 Universal Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "ogllib - Win32 Universal Release" (based on "Win32 (x86) Static Library") -!MESSAGE "ogllib - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "ogllib - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ogllib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswd" -# PROP BASE Intermediate_Dir "vc_mswd\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswd" -# PROP Intermediate_Dir "vc_mswd\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswd" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswd\wxmsw25d_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswd" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswd\wxmsw25d_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswd\wxmsw25d_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswd\wxmsw25d_ogl.lib" - -!ELSEIF "$(CFG)" == "ogllib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_msw" -# PROP BASE Intermediate_Dir "vc_msw\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_msw" -# PROP Intermediate_Dir "vc_msw\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_msw" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_msw\wxmsw25_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_msw" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_msw\wxmsw25_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_msw\wxmsw25_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_msw\wxmsw25_ogl.lib" - -!ELSEIF "$(CFG)" == "ogllib - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswud" -# PROP Intermediate_Dir "vc_mswud\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswud" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswud\wxmsw25ud_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswud" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswud\wxmsw25ud_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswud\wxmsw25ud_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswud\wxmsw25ud_ogl.lib" - -!ELSEIF "$(CFG)" == "ogllib - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswu" -# PROP Intermediate_Dir "vc_mswu\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswu" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_mswu\wxmsw25u_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswu" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_mswu\wxmsw25u_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswu\wxmsw25u_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswu\wxmsw25u_ogl.lib" - -!ELSEIF "$(CFG)" == "ogllib - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivd" -# PROP BASE Intermediate_Dir "vc_mswunivd\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivd" -# PROP Intermediate_Dir "vc_mswunivd\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivd" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivd" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivd\wxmswuniv25d_ogl.lib" - -!ELSEIF "$(CFG)" == "ogllib - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswuniv" -# PROP BASE Intermediate_Dir "vc_mswuniv\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswuniv" -# PROP Intermediate_Dir "vc_mswuniv\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswuniv" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_mswuniv\wxmswuniv25_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswuniv" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_mswuniv\wxmswuniv25_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswuniv\wxmswuniv25_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswuniv\wxmswuniv25_ogl.lib" - -!ELSEIF "$(CFG)" == "ogllib - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivud" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivud" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_ogl.lib" - -!ELSEIF "$(CFG)" == "ogllib - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\ogllib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\ogl\..\..\..\lib\vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\ogllib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivu" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\ogl\..\..\..\include" /I "..\..\src\ogl\..\..\..\lib\vc_mswunivu" /I "..\..\src\ogl\..\..\..\src\tiff" /I "..\..\src\ogl\..\..\..\src\jpeg" /I "..\..\src\ogl\..\..\..\src\png" /I "..\..\src\ogl\..\..\..\src\zlib" /I "..\..\src\ogl\..\..\..\src\regex" /I "..\..\src\ogl\..\..\..\src\expat\lib" /Fd..\..\src\ogl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_ogl.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_ogllib.pch" /I "..\..\src\ogl\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_ogl.lib" -# ADD LIB32 /nologo /out:"..\..\src\ogl\..\..\..\lib\vc_mswunivu\wxmswuniv25u_ogl.lib" - -!ENDIF - -# Begin Target - -# Name "ogllib - Win32 Debug" -# Name "ogllib - Win32 Release" -# Name "ogllib - Win32 Unicode Debug" -# Name "ogllib - Win32 Unicode Release" -# Name "ogllib - Win32 Universal Debug" -# Name "ogllib - Win32 Universal Release" -# Name "ogllib - Win32 Universal Unicode Debug" -# Name "ogllib - Win32 Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/ogl\basic.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\basic2.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\bmpshape.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\canvas.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\composit.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\constrnt.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\divided.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\drawn.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\lines.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\mfutils.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\ogldiag.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/ogl\oglmisc.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/stc/stc_stcdll.dsp b/contrib/build/stc/stc_stcdll.dsp deleted file mode 100644 index 6c609728c8..0000000000 --- a/contrib/build/stc/stc_stcdll.dsp +++ /dev/null @@ -1,452 +0,0 @@ -# Microsoft Developer Studio Project File - Name="stcdll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=stcdll - Win32 DLL Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "stc_stcdll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "stc_stcdll.mak" CFG="stcdll - Win32 DLL Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "stcdll - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "stcdll - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "stcdll - Win32 DLL Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "stcdll - Win32 DLL Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "stcdll - Win32 DLL Universal Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "stcdll - Win32 DLL Universal Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "stcdll - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "stcdll - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "stcdll - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswddll" -# PROP BASE Intermediate_Dir "vc_mswddll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswddll" -# PROP Intermediate_Dir "vc_mswddll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswddll\wxmsw250d_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswddll\wxmsw250d_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswddll\wxmsw250d_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswddll\wxmsw25d_stc.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswddll\wxmsw250d_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswddll\wxmsw25d_stc.lib" /debug - -!ELSEIF "$(CFG)" == "stcdll - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswdll" -# PROP BASE Intermediate_Dir "vc_mswdll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswdll" -# PROP Intermediate_Dir "vc_mswdll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswdll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswdll\wxmsw250_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswdll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswdll\wxmsw250_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswdll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswdll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswdll\wxmsw250_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswdll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswdll\wxmsw25_stc.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswdll\wxmsw250_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswdll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswdll\wxmsw25_stc.lib" - -!ELSEIF "$(CFG)" == "stcdll - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswuddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswuddll\wxmsw250ud_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswuddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswuddll\wxmsw250ud_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswuddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswuddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswuddll\wxmsw250ud_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswuddll\wxmsw25ud_stc.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswuddll\wxmsw250ud_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswuddll\wxmsw25ud_stc.lib" /debug - -!ELSEIF "$(CFG)" == "stcdll - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswudll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswudll\wxmsw250u_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswudll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswudll\wxmsw250u_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswudll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswudll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswudll\wxmsw250u_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswudll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswudll\wxmsw25u_stc.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswudll\wxmsw250u_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswudll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswudll\wxmsw25u_stc.lib" - -!ELSEIF "$(CFG)" == "stcdll - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivddll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivddll" -# PROP Intermediate_Dir "vc_mswunivddll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_stc.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_stc.lib" /debug - -!ELSEIF "$(CFG)" == "stcdll - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivdll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivdll" -# PROP Intermediate_Dir "vc_mswunivdll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivdll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswunivdll\wxmswuniv250_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivdll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswunivdll\wxmswuniv250_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivdll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivdll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivdll\wxmswuniv250_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivdll\wxmswuniv25_stc.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivdll\wxmswuniv250_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivdll\wxmswuniv25_stc.lib" - -!ELSEIF "$(CFG)" == "stcdll - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_stc.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_stc.lib" /debug - -!ELSEIF "$(CFG)" == "stcdll - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\stcdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\stcdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivudll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivudll" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_stc_vc_custom.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /D "WXUSINGDLL" /D "WXMAKINGDLL_STC" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivudll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\stc\..\..\..\include" /i "..\..\src\stc\..\..\..\lib\vc_mswunivudll" /i "..\..\src\stc\..\..\..\src\tiff" /i "..\..\src\stc\..\..\..\src\jpeg" /i "..\..\src\stc\..\..\..\src\png" /i "..\..\src\stc\..\..\..\src\zlib" /i "..\..\src\stc\..\..\..\src\regex" /i "..\..\src\stc\..\..\..\src\expat\lib" /i "..\..\src\stc\..\..\include" /i "..\..\src\stc\scintilla\include" /i "..\..\src\stc\scintilla\src" /d "__WX__" /d "SCI_LEXER" /d "LINK_LEXERS" /d "WXUSINGDLL" /d WXMAKINGDLL_STC -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_stc.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\stc\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_stc_vc_custom.dll" /libpath:"..\..\src\stc\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\stc\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_stc.lib" - -!ENDIF - -# Begin Target - -# Name "stcdll - Win32 DLL Debug" -# Name "stcdll - Win32 DLL Release" -# Name "stcdll - Win32 DLL Unicode Debug" -# Name "stcdll - Win32 DLL Unicode Release" -# Name "stcdll - Win32 DLL Universal Debug" -# Name "stcdll - Win32 DLL Universal Release" -# Name "stcdll - Win32 DLL Universal Unicode Debug" -# Name "stcdll - Win32 DLL Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\AutoComplete.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\CallTip.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\CellBuffer.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ContractionState.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Document.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\DocumentAccessor.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Editor.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ExternalLexer.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Indicator.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\KeyMap.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\KeyWords.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexAVE.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexAda.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexAsm.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexBaan.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexBullant.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexCPP.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexCSS.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexConf.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexCrontab.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexEScript.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexEiffel.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexFortran.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexHTML.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexLisp.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexLout.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexLua.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexMatlab.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexOthers.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPOV.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPascal.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPerl.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPython.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexRuby.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexSQL.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexVB.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LineMarker.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\PlatWX.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\PropSet.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\RESearch.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ScintillaBase.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\ScintillaWX.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Style.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\StyleContext.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\UniConversion.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ViewStyle.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\WindowAccessor.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\XPM.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\stc.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/stc/stc_stclib.dsp b/contrib/build/stc/stc_stclib.dsp deleted file mode 100644 index 5e90a35aa0..0000000000 --- a/contrib/build/stc/stc_stclib.dsp +++ /dev/null @@ -1,435 +0,0 @@ -# Microsoft Developer Studio Project File - Name="stclib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=stclib - Win32 Unicode Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "stc_stclib.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "stc_stclib.mak" CFG="stclib - Win32 Unicode Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "stclib - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "stclib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "stclib - Win32 Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "stclib - Win32 Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE "stclib - Win32 Universal Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "stclib - Win32 Universal Release" (based on "Win32 (x86) Static Library") -!MESSAGE "stclib - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "stclib - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "stclib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswd" -# PROP BASE Intermediate_Dir "vc_mswd\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswd" -# PROP Intermediate_Dir "vc_mswd\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswd" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswd\wxmsw25d_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswd" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswd\wxmsw25d_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswd\wxmsw25d_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswd\wxmsw25d_stc.lib" - -!ELSEIF "$(CFG)" == "stclib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_msw" -# PROP BASE Intermediate_Dir "vc_msw\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_msw" -# PROP Intermediate_Dir "vc_msw\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_msw" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_msw\wxmsw25_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_msw" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_msw\wxmsw25_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_msw\wxmsw25_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_msw\wxmsw25_stc.lib" - -!ELSEIF "$(CFG)" == "stclib - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswud" -# PROP Intermediate_Dir "vc_mswud\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswud" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswud\wxmsw25ud_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswud" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswud\wxmsw25ud_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswud\wxmsw25ud_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswud\wxmsw25ud_stc.lib" - -!ELSEIF "$(CFG)" == "stclib - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswu" -# PROP Intermediate_Dir "vc_mswu\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswu" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswu\wxmsw25u_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswu" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswu\wxmsw25u_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswu\wxmsw25u_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswu\wxmsw25u_stc.lib" - -!ELSEIF "$(CFG)" == "stclib - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivd" -# PROP BASE Intermediate_Dir "vc_mswunivd\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivd" -# PROP Intermediate_Dir "vc_mswunivd\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivd" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivd\wxmswuniv25d_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivd" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivd\wxmswuniv25d_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswunivd\wxmswuniv25d_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswunivd\wxmswuniv25d_stc.lib" - -!ELSEIF "$(CFG)" == "stclib - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswuniv" -# PROP BASE Intermediate_Dir "vc_mswuniv\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswuniv" -# PROP Intermediate_Dir "vc_mswuniv\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswuniv" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswuniv\wxmswuniv25_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswuniv" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswuniv\wxmswuniv25_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswuniv\wxmswuniv25_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswuniv\wxmswuniv25_stc.lib" - -!ELSEIF "$(CFG)" == "stclib - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivud" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivud" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\stc\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_stc.lib" - -!ELSEIF "$(CFG)" == "stclib - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\stclib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\stc\..\..\..\lib\vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\stclib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivu" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswunivu\wxmswuniv25u_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\stc\..\..\..\include" /I "..\..\src\stc\..\..\..\lib\vc_mswunivu" /I "..\..\src\stc\..\..\..\src\tiff" /I "..\..\src\stc\..\..\..\src\jpeg" /I "..\..\src\stc\..\..\..\src\png" /I "..\..\src\stc\..\..\..\src\zlib" /I "..\..\src\stc\..\..\..\src\regex" /I "..\..\src\stc\..\..\..\src\expat\lib" /Fd..\..\src\stc\..\..\..\lib\vc_mswunivu\wxmswuniv25u_stc.pdb /I "..\..\src\stc\..\..\include" /I "..\..\src\stc\scintilla\include" /I "..\..\src\stc\scintilla\src" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "__WX__" /D "SCI_LEXER" /D "LINK_LEXERS" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswunivu\wxmswuniv25u_stc.lib" -# ADD LIB32 /nologo /out:"..\..\src\stc\..\..\..\lib\vc_mswunivu\wxmswuniv25u_stc.lib" - -!ENDIF - -# Begin Target - -# Name "stclib - Win32 Debug" -# Name "stclib - Win32 Release" -# Name "stclib - Win32 Unicode Debug" -# Name "stclib - Win32 Unicode Release" -# Name "stclib - Win32 Universal Debug" -# Name "stclib - Win32 Universal Release" -# Name "stclib - Win32 Universal Unicode Debug" -# Name "stclib - Win32 Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\AutoComplete.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\CallTip.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\CellBuffer.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ContractionState.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Document.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\DocumentAccessor.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Editor.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ExternalLexer.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Indicator.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\KeyMap.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\KeyWords.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexAVE.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexAda.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexAsm.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexBaan.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexBullant.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexCPP.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexCSS.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexConf.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexCrontab.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexEScript.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexEiffel.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexFortran.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexHTML.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexLisp.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexLout.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexLua.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexMatlab.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexOthers.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPOV.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPascal.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPerl.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexPython.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexRuby.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexSQL.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LexVB.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\LineMarker.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\PlatWX.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\PropSet.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\RESearch.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ScintillaBase.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\ScintillaWX.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\Style.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\StyleContext.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\UniConversion.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\ViewStyle.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\WindowAccessor.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\scintilla\src\XPM.cxx -# End Source File -# Begin Source File - -SOURCE=../../src/stc\stc.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/svg/svg_svgdll.dsp b/contrib/build/svg/svg_svgdll.dsp deleted file mode 100644 index 867f3db1b8..0000000000 --- a/contrib/build/svg/svg_svgdll.dsp +++ /dev/null @@ -1,266 +0,0 @@ -# Microsoft Developer Studio Project File - Name="svgdll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=svgdll - Win32 DLL Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "svg_svgdll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "svg_svgdll.mak" CFG="svgdll - Win32 DLL Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "svgdll - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "svgdll - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "svgdll - Win32 DLL Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "svgdll - Win32 DLL Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "svgdll - Win32 DLL Universal Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "svgdll - Win32 DLL Universal Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "svgdll - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "svgdll - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "svgdll - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswddll" -# PROP BASE Intermediate_Dir "vc_mswddll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswddll" -# PROP Intermediate_Dir "vc_mswddll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswddll\wxmsw250d_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswddll\wxmsw250d_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswddll\wxmsw250d_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswddll\wxmsw25d_svg.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswddll\wxmsw250d_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswddll\wxmsw25d_svg.lib" /debug - -!ELSEIF "$(CFG)" == "svgdll - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswdll" -# PROP BASE Intermediate_Dir "vc_mswdll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswdll" -# PROP Intermediate_Dir "vc_mswdll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswdll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswdll\wxmsw250_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswdll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswdll\wxmsw250_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswdll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "__WXMSW__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswdll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswdll\wxmsw250_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswdll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswdll\wxmsw25_svg.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswdll\wxmsw250_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswdll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswdll\wxmsw25_svg.lib" - -!ELSEIF "$(CFG)" == "svgdll - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswuddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswuddll\wxmsw250ud_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswuddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswuddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswuddll\wxmsw250ud_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswuddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswuddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswuddll\wxmsw250ud_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswuddll\wxmsw25ud_svg.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswuddll\wxmsw250ud_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswuddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswuddll\wxmsw25ud_svg.lib" /debug - -!ELSEIF "$(CFG)" == "svgdll - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswudll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswudll\wxmsw250u_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswudll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswudll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswudll\wxmsw250u_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswudll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "__WXMSW__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswudll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswudll\wxmsw250u_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswudll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswudll\wxmsw25u_svg.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmsw25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswudll\wxmsw250u_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswudll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswudll\wxmsw25u_svg.lib" - -!ELSEIF "$(CFG)" == "svgdll - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivddll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivddll" -# PROP Intermediate_Dir "vc_mswunivddll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_svg.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25d_core.lib wxbase25d.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivddll\wxmswuniv250d_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivddll\wxmswuniv25d_svg.lib" /debug - -!ELSEIF "$(CFG)" == "svgdll - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivdll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivdll" -# PROP Intermediate_Dir "vc_mswunivdll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivdll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswunivdll\wxmswuniv250_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivdll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivdll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswunivdll\wxmswuniv250_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivdll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivdll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivdll\wxmswuniv250_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivdll\wxmswuniv25_svg.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25_core.lib wxbase25.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivdll\wxmswuniv250_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivdll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivdll\wxmswuniv25_svg.lib" - -!ELSEIF "$(CFG)" == "svgdll - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivuddll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivuddll\wxprec_svgdll.pch" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivuddll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_svg.lib" /debug -# ADD LINK32 wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25ud_core.lib wxbase25ud.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivuddll\wxmswuniv250ud_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivuddll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivuddll\wxmswuniv25ud_svg.lib" /debug - -!ELSEIF "$(CFG)" == "svgdll - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\svgdll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\svgdll" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivudll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivudll" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Yu"wx/wxprec.h" /Fp"vc_mswunivudll\wxprec_svgdll.pch" /Fd..\..\src\svg\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_svg_vc_custom.pdb /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_USRDLL" /D "DLL_EXPORTS" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /D "WXUSINGDLL" /D "WXMAKINGDLL_SVG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivudll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d wxUSE_UNICODE=1 /i "..\..\src\svg\..\..\..\include" /i "..\..\src\svg\..\..\..\lib\vc_mswunivudll" /i "..\..\src\svg\..\..\..\src\tiff" /i "..\..\src\svg\..\..\..\src\jpeg" /i "..\..\src\svg\..\..\..\src\png" /i "..\..\src\svg\..\..\..\src\zlib" /i "..\..\src\svg\..\..\..\src\regex" /i "..\..\src\svg\..\..\..\src\expat\lib" /i "..\..\src\svg\..\..\include" /d "WXUSINGDLL" /d WXMAKINGDLL_SVG -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_svg.lib" -# ADD LINK32 wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wxmswuniv25u_core.lib wxbase25u.lib /nologo /dll /machine:i386 /out:"..\..\src\svg\..\..\..\lib\vc_mswunivudll\wxmswuniv250u_svg_vc_custom.dll" /libpath:"..\..\src\svg\..\..\..\lib\vc_mswunivudll" /implib:"..\..\src\svg\..\..\..\lib\vc_mswunivudll\wxmswuniv25u_svg.lib" - -!ENDIF - -# Begin Target - -# Name "svgdll - Win32 DLL Debug" -# Name "svgdll - Win32 DLL Release" -# Name "svgdll - Win32 DLL Unicode Debug" -# Name "svgdll - Win32 DLL Unicode Release" -# Name "svgdll - Win32 DLL Universal Debug" -# Name "svgdll - Win32 DLL Universal Release" -# Name "svgdll - Win32 DLL Universal Unicode Debug" -# Name "svgdll - Win32 DLL Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/svg\dcsvg.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/svg\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/build/svg/svg_svglib.dsp b/contrib/build/svg/svg_svglib.dsp deleted file mode 100644 index 135662f173..0000000000 --- a/contrib/build/svg/svg_svglib.dsp +++ /dev/null @@ -1,249 +0,0 @@ -# Microsoft Developer Studio Project File - Name="svglib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=svglib - Win32 Unicode Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "svg_svglib.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "svg_svglib.mak" CFG="svglib - Win32 Unicode Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "svglib - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "svglib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "svglib - Win32 Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "svglib - Win32 Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE "svglib - Win32 Universal Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "svglib - Win32 Universal Release" (based on "Win32 (x86) Static Library") -!MESSAGE "svglib - Win32 Universal Unicode Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "svglib - Win32 Universal Unicode Release" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "svglib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswd" -# PROP BASE Intermediate_Dir "vc_mswd\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswd" -# PROP Intermediate_Dir "vc_mswd\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswd" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswd\wxmsw25d_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswd" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswd\wxmsw25d_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswd\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswd\wxmsw25d_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswd\wxmsw25d_svg.lib" - -!ELSEIF "$(CFG)" == "svglib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_msw" -# PROP BASE Intermediate_Dir "vc_msw\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_msw" -# PROP Intermediate_Dir "vc_msw\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_msw" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_msw\wxmsw25_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_msw" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_msw\wxmsw25_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_msw\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_msw\wxmsw25_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_msw\wxmsw25_svg.lib" - -!ELSEIF "$(CFG)" == "svglib - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswud" -# PROP Intermediate_Dir "vc_mswud\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswud" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswud\wxmsw25ud_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswud" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswud\wxmsw25ud_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswud\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswud\wxmsw25ud_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswud\wxmsw25ud_svg.lib" - -!ELSEIF "$(CFG)" == "svglib - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswu" -# PROP Intermediate_Dir "vc_mswu\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswu" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_mswu\wxmsw25u_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswu" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_mswu\wxmsw25u_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswu\wxmsw25u_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswu\wxmsw25u_svg.lib" - -!ELSEIF "$(CFG)" == "svglib - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivd" -# PROP BASE Intermediate_Dir "vc_mswunivd\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivd" -# PROP Intermediate_Dir "vc_mswunivd\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivd" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivd\wxmswuniv25d_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivd" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivd\wxmswuniv25d_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivd\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswunivd\wxmswuniv25d_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswunivd\wxmswuniv25d_svg.lib" - -!ELSEIF "$(CFG)" == "svglib - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswuniv" -# PROP BASE Intermediate_Dir "vc_mswuniv\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswuniv" -# PROP Intermediate_Dir "vc_mswuniv\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswuniv" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_mswuniv\wxmswuniv25_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswuniv" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_mswuniv\wxmswuniv25_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswuniv\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswuniv\wxmswuniv25_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswuniv\wxmswuniv25_svg.lib" - -!ELSEIF "$(CFG)" == "svglib - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivud" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MDd /Od /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivud" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Zi /Gm /GZ /Fd..\..\src\svg\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivud\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswunivud\wxmswuniv25ud_svg.lib" - -!ELSEIF "$(CFG)" == "svglib - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\svglib" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\src\svg\..\..\..\lib\vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\svglib" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivu" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_mswunivu\wxmswuniv25u_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD CPP /nologo /FD /W4 /MD /O1 /I "..\..\src\svg\..\..\..\include" /I "..\..\src\svg\..\..\..\lib\vc_mswunivu" /I "..\..\src\svg\..\..\..\src\tiff" /I "..\..\src\svg\..\..\..\src\jpeg" /I "..\..\src\svg\..\..\..\src\png" /I "..\..\src\svg\..\..\..\src\zlib" /I "..\..\src\svg\..\..\..\src\regex" /I "..\..\src\svg\..\..\..\src\expat\lib" /Fd..\..\src\svg\..\..\..\lib\vc_mswunivu\wxmswuniv25u_svg.pdb /Yu"wx/wxprec.h" /Fp"vc_mswunivu\wxprec_svglib.pch" /I "..\..\src\svg\..\..\include" /D "WIN32" /D "_LIB" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D wxUSE_UNICODE=1 /c -# ADD BASE RSC /l 0x405 -# ADD RSC /l 0x405 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswunivu\wxmswuniv25u_svg.lib" -# ADD LIB32 /nologo /out:"..\..\src\svg\..\..\..\lib\vc_mswunivu\wxmswuniv25u_svg.lib" - -!ENDIF - -# Begin Target - -# Name "svglib - Win32 Debug" -# Name "svglib - Win32 Release" -# Name "svglib - Win32 Unicode Debug" -# Name "svglib - Win32 Unicode Release" -# Name "svglib - Win32 Universal Debug" -# Name "svglib - Win32 Universal Release" -# Name "svglib - Win32 Universal Unicode Debug" -# Name "svglib - Win32 Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=../../src/svg\dcsvg.cpp -# End Source File -# Begin Source File - -SOURCE=../../src/svg\..\..\..\src\msw\dummy.cpp -# ADD BASE CPP /Yc"wx/wxprec.h" -# ADD CPP /Yc"wx/wxprec.h" -# End Source File -# End Group -# End Target -# End Project - diff --git a/contrib/include/wx/stc/stc.h b/contrib/include/wx/stc/stc.h index 1da2e8342c..72044be5af 100644 --- a/contrib/include/wx/stc/stc.h +++ b/contrib/include/wx/stc/stc.h @@ -3109,36 +3109,26 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&); // Utility functions used within wxSTC #ifndef SWIG +#if wxUSE_UNICODE + +wxString stc2wx(const char* str); +wxString stc2wx(const char* str, size_t len); +const wxWX2MBbuf wx2stc(const wxString& str); + +#else // not UNICODE inline wxString stc2wx(const char* str) { -#if wxUSE_UNICODE - return wxString(str, wxConvUTF8); -#else return wxString(str); -#endif } - -#if wxUSE_UNICODE -wxString stc2wx(const char* str, size_t len); -#else inline wxString stc2wx(const char* str, size_t len) { return wxString(str, len); } -#endif - - -#if wxUSE_UNICODE -inline const wxWX2MBbuf wx2stc(const wxString& str) { - return str.mb_str(wxConvUTF8); -} -#else inline const wxWX2MBbuf wx2stc(const wxString& str) { return str.mbc_str(); } -#endif - -#endif +#endif // UNICODE +#endif // SWIG //---------------------------------------------------------------------- #endif diff --git a/contrib/src/gizmos/splittree.cpp b/contrib/src/gizmos/splittree.cpp index 5f189b2235..60f4129f8f 100644 --- a/contrib/src/gizmos/splittree.cpp +++ b/contrib/src/gizmos/splittree.cpp @@ -299,7 +299,9 @@ void wxRemotelyScrolledTreeCtrl::OnPaint(wxPaintEvent& event) wxSize clientSize = GetClientSize(); wxRect itemRect; wxTreeItemId h, lastH; - for(h=GetFirstVisibleItem();h;h=GetNextVisible(h)) + for (h=GetFirstVisibleItem(); + h.IsOk(); + h=GetNextVisible(h)) { if (GetBoundingRect(h, itemRect)) { @@ -307,6 +309,8 @@ void wxRemotelyScrolledTreeCtrl::OnPaint(wxPaintEvent& event) dc.DrawLine(0, cy, clientSize.x, cy); lastH = h; } + if (! IsVisible(h)) + break; } if (lastH.IsOk() && GetBoundingRect(lastH, itemRect)) { @@ -508,7 +512,9 @@ void wxTreeCompanionWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) wxSize clientSize = GetClientSize(); wxRect itemRect; wxTreeItemId h, lastH; - for(h=m_treeCtrl->GetFirstVisibleItem();h;h=m_treeCtrl->GetNextVisible(h)) + for (h=m_treeCtrl->GetFirstVisibleItem(); + h.IsOk(); + h=m_treeCtrl->GetNextVisible(h)) { if (m_treeCtrl->GetBoundingRect(h, itemRect)) { @@ -521,6 +527,8 @@ void wxTreeCompanionWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) DrawItem(dc, h, drawItemRect); dc.DrawLine(0, cy, clientSize.x, cy); } + if (! m_treeCtrl->IsVisible(h)) + break; } if (lastH.IsOk() && m_treeCtrl->GetBoundingRect(lastH, itemRect)) { diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 4b983f1cd6..ec10a85950 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -1249,25 +1249,47 @@ double ElapsedTime::Duration(bool reset) { //---------------------------------------------------------------------- #if wxUSE_UNICODE + +#include "UniConversion.h" + +// Convert using Scintilla's functions instead of wx's, Scintilla's are more +// forgiving and won't assert... + wxString stc2wx(const char* str, size_t len) { - // note: we assume that str is of length len not including the terminating null. - if (!len) return wxEmptyString; - else if (str[len-1] == 0) - // It's already terminated correctly. - return wxString(str, wxConvUTF8, len); - char *buffer=new char[len+1]; - strncpy(buffer, str, len); - buffer[len]=0; + size_t wclen = UCS2Length(str, len); + wxWCharBuffer buffer(wclen+1); - wxString cstr(buffer, wxConvUTF8, len); - - delete[] buffer; - return cstr; + size_t actualLen = UCS2FromUTF8(str, len, buffer.data(), wclen+1); + return wxString(buffer.data(), actualLen); } + + + +wxString stc2wx(const char* str) +{ + return stc2wx(str, strlen(str)); +} + + +const wxWX2MBbuf wx2stc(const wxString& str) +{ + const wchar_t* wcstr = str.c_str(); + size_t wclen = str.length(); + size_t len = UTF8Length(wcstr, wclen); + + wxCharBuffer buffer(len+1); + UTF8FromUCS2(wcstr, wclen, buffer.data(), len); + + // TODO check NULL termination!! + + + return buffer; +} + #endif diff --git a/contrib/src/stc/stc.h.in b/contrib/src/stc/stc.h.in index c74907d01f..e48912f1c4 100644 --- a/contrib/src/stc/stc.h.in +++ b/contrib/src/stc/stc.h.in @@ -463,36 +463,26 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&); // Utility functions used within wxSTC #ifndef SWIG +#if wxUSE_UNICODE + +wxString stc2wx(const char* str); +wxString stc2wx(const char* str, size_t len); +const wxWX2MBbuf wx2stc(const wxString& str); + +#else // not UNICODE inline wxString stc2wx(const char* str) { -#if wxUSE_UNICODE - return wxString(str, wxConvUTF8); -#else return wxString(str); -#endif } - -#if wxUSE_UNICODE -wxString stc2wx(const char* str, size_t len); -#else inline wxString stc2wx(const char* str, size_t len) { return wxString(str, len); } -#endif - - -#if wxUSE_UNICODE -inline const wxWX2MBbuf wx2stc(const wxString& str) { - return str.mb_str(wxConvUTF8); -} -#else inline const wxWX2MBbuf wx2stc(const wxString& str) { return str.mbc_str(); } -#endif - -#endif +#endif // UNICODE +#endif // SWIG //---------------------------------------------------------------------- #endif diff --git a/demos/dbbrowse/makefile.gtk b/demos/dbbrowse/makefile.gtk deleted file mode 100644 index cd8a960812..0000000000 --- a/demos/dbbrowse/makefile.gtk +++ /dev/null @@ -1,15 +0,0 @@ - -# Top dir of wxWindows -top_builddir = /gtm/bart/wxGTK - -PROGRAM=dbbrowser_gtk - - -OBJECTS= dbbrowse.o doc.o pgmctrl.o tabpgwin.o\ - browsedb.o dbtree.o dbgrid.o dlguser.o - - - - -include $(top_builddir)/src/makeprog.env - diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex index e69699fb3c..39cdacecbc 100644 --- a/docs/latex/wx/list.tex +++ b/docs/latex/wx/list.tex @@ -206,12 +206,6 @@ Deletes the given node from the list, returning {\tt true} if successful. Finds the given client {\it object} and deletes the appropriate node from the list, returning {\tt true} if successful. The application must delete the actual object separately. -\membersection{wxList::Erase}\label{wxlisterase} - -\func{void}{Erase}{\param{wxNode *}{node}} - -Removes element at given position. - \membersection{wxList::Find}\label{wxlistfind} \func{wxNode *}{Find}{\param{T *}{ object}} diff --git a/include/wx/cocoa/NSView.h b/include/wx/cocoa/NSView.h index 50a583c5d2..ffff7fdf92 100644 --- a/include/wx/cocoa/NSView.h +++ b/include/wx/cocoa/NSView.h @@ -16,7 +16,6 @@ #include "wx/cocoa/ObjcAssociate.h" typedef struct _NSRect NSRect; -class wxWindow; WX_DECLARE_OBJC_HASHMAP(NSView); class wxCocoaNSView @@ -29,8 +28,6 @@ public: protected: static void *sm_cocoaObserver; public: - virtual wxWindow* GetWxWindow() const - { return NULL; } virtual void Cocoa_FrameChanged(void) = 0; virtual bool Cocoa_drawRect(const NSRect &rect) { return false; } diff --git a/include/wx/cocoa/window.h b/include/wx/cocoa/window.h index d9d55e3218..3f0138d6ce 100644 --- a/include/wx/cocoa/window.h +++ b/include/wx/cocoa/window.h @@ -81,7 +81,6 @@ protected: void CocoaCreateNSScrollView(); void InitMouseEvent(wxMouseEvent &event, WX_NSEvent cocoaEvent); - virtual wxWindow* GetWxWindow() const; virtual void Cocoa_FrameChanged(void); virtual bool Cocoa_drawRect(const NSRect &rect); virtual bool Cocoa_mouseDown(WX_NSEvent theEvent); diff --git a/include/wx/confbase.h b/include/wx/confbase.h index 15c4919896..0e23972e4c 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -117,7 +117,7 @@ public: long style = 0); // empty but ensures that dtor of all derived classes is virtual - virtual ~wxConfigBase(){}; + virtual ~wxConfigBase(); // path management // set current path: if the first character is '/', it's the absolute path, diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 6303d40250..2ed9826fea 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -1327,7 +1327,7 @@ public: static void AddAuthority(wxDateTimeHolidayAuthority *auth); // the base class must have a virtual dtor - virtual ~wxDateTimeHolidayAuthority(){}; + virtual ~wxDateTimeHolidayAuthority(); protected: // this function is called to determine whether a given day is a holiday diff --git a/include/wx/html/helpdata.h b/include/wx/html/helpdata.h index a59c6f76d6..ff2feb6ab5 100644 --- a/include/wx/html/helpdata.h +++ b/include/wx/html/helpdata.h @@ -84,7 +84,7 @@ struct WXDLLIMPEXP_HTML wxHtmlHelpDataItem { wxHtmlHelpDataItem() : level(0), parent(NULL), id(wxID_ANY), book(NULL) {} - int level; + short int level; wxHtmlHelpDataItem *parent; int id; wxString name; @@ -110,7 +110,7 @@ struct wxHtmlContentsItem wxHtmlContentsItem& operator=(const wxHtmlContentsItem& d); ~wxHtmlContentsItem(); - int m_Level; + short int m_Level; int m_ID; wxChar *m_Name; wxChar *m_Page; diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index d0d0172bd5..166d4ac623 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -39,7 +39,7 @@ public: long style = wxCONFIG_USE_GLOBAL_FILE); // dtor will save unsaved data - virtual ~wxRegConfig(){}; + virtual ~wxRegConfig(); // implement inherited pure virtual functions // ------------------------------------------ diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 1da2e8342c..72044be5af 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -3109,36 +3109,26 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&); // Utility functions used within wxSTC #ifndef SWIG +#if wxUSE_UNICODE + +wxString stc2wx(const char* str); +wxString stc2wx(const char* str, size_t len); +const wxWX2MBbuf wx2stc(const wxString& str); + +#else // not UNICODE inline wxString stc2wx(const char* str) { -#if wxUSE_UNICODE - return wxString(str, wxConvUTF8); -#else return wxString(str); -#endif } - -#if wxUSE_UNICODE -wxString stc2wx(const char* str, size_t len); -#else inline wxString stc2wx(const char* str, size_t len) { return wxString(str, len); } -#endif - - -#if wxUSE_UNICODE -inline const wxWX2MBbuf wx2stc(const wxString& str) { - return str.mb_str(wxConvUTF8); -} -#else inline const wxWX2MBbuf wx2stc(const wxString& str) { return str.mbc_str(); } -#endif - -#endif +#endif // UNICODE +#endif // SWIG //---------------------------------------------------------------------- #endif diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index ac8b14a3b3..8da8b29454 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -165,7 +165,7 @@ public: wxMBConv& conv = wxConvUTF8); // dtor - virtual ~wxTextBuffer(){}; + virtual ~wxTextBuffer(); protected: // ctors diff --git a/include/wx/version.h b/include/wx/version.h index 837c611b91..2183825d88 100644 --- a/include/wx/version.h +++ b/include/wx/version.h @@ -22,7 +22,7 @@ #define wxMAJOR_VERSION 2 #define wxMINOR_VERSION 5 #define wxRELEASE_NUMBER 3 -#define wxSUBRELEASE_NUMBER 0 +#define wxSUBRELEASE_NUMBER 1 #define wxVERSION_STRING _T("wxWidgets 2.5.3") /* nothing to update below this line when updating the version */ diff --git a/samples/resource/makefile.wat b/samples/resource/makefile.wat deleted file mode 100644 index 1d277645e2..0000000000 --- a/samples/resource/makefile.wat +++ /dev/null @@ -1,12 +0,0 @@ -# -# Makefile for WATCOM -# -# Created by Julian Smart, January 1999 -# -# -# -# -PROGRAM = resource -OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj -# -!include $(%WXWIN)\src\makeprog.wat diff --git a/samples/treectrl/treetest.dsp b/samples/treectrl/treetest.dsp deleted file mode 100644 index f362ccfe96..0000000000 --- a/samples/treectrl/treetest.dsp +++ /dev/null @@ -1,155 +0,0 @@ -# Microsoft Developer Studio Project File - Name="treetest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=treetest - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "treetest.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "treetest.mak" CFG="treetest - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "treetest - Win32 Release DLL" (based on "Win32 (x86) Application") -!MESSAGE "treetest - Win32 Debug DLL" (based on "Win32 (x86) Application") -!MESSAGE "treetest - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "treetest - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "treetest - Win32 Release DLL" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ReleaseDll" -# PROP BASE Intermediate_Dir "ReleaseDll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "ReleaseDll" -# PROP Intermediate_Dir "ReleaseDll" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "..\..\lib\mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw250.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "treetest - Win32 Debug DLL" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "DebugDll" -# PROP BASE Intermediate_Dir "DebugDll" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "DebugDll" -# PROP Intermediate_Dir "DebugDll" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "..\..\lib\mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw250d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ELSEIF "$(CFG)" == "treetest - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "..\..\lib\msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\png.lib ..\..\lib\jpeg.lib ..\..\lib\tiff.lib ..\..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "treetest - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "..\..\lib\mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\pngd.lib ..\..\lib\jpegd.lib ..\..\lib\tiffd.lib ..\..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "treetest - Win32 Release DLL" -# Name "treetest - Win32 Debug DLL" -# Name "treetest - Win32 Release" -# Name "treetest - Win32 Debug" -# Begin Source File - -SOURCE=.\treetest.cpp -# End Source File -# Begin Source File - -SOURCE=.\treetest.rc -# End Source File -# End Target -# End Project diff --git a/src/cocoa/window.mm b/src/cocoa/window.mm index 630b14bd65..0395a461c1 100644 --- a/src/cocoa/window.mm +++ b/src/cocoa/window.mm @@ -695,11 +695,6 @@ WXWidget wxWindow::GetHandle() const return m_cocoaNSView; } -wxWindow* wxWindow::GetWxWindow() const -{ - return (wxWindow*) this; -} - void wxWindow::Refresh(bool eraseBack, const wxRect *rect) { [m_cocoaNSView setNeedsDisplay:YES]; @@ -707,14 +702,7 @@ void wxWindow::Refresh(bool eraseBack, const wxRect *rect) void wxWindow::SetFocus() { -#ifdef __WXDEBUG__ - bool bOK = -#endif - [GetNSView() lockFocusIfCanDraw]; - - //Note that the normal lockFocus works on hidden and minimized windows - //and has no return value - which probably isn't what we want - wxASSERT(bOK); + // TODO } void wxWindow::DoCaptureMouse() @@ -895,12 +883,8 @@ bool wxWindow::DoPopupMenu(wxMenu *menu, int x, int y) // Get the window with the focus wxWindow *wxWindowBase::DoFindFocus() { - wxCocoaNSView *win = wxCocoaNSView::GetFromCocoa([NSView focusView]); - - if (!win) - return NULL; - - return win->GetWxWindow(); + // TODO + return NULL; } /* static */ wxWindow *wxWindowBase::GetCapture() diff --git a/src/common/config.cpp b/src/common/config.cpp index 00f2daa6b7..80b43e4b9a 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -73,6 +73,10 @@ wxConfigBase::wxConfigBase(const wxString& appName, m_bRecordDefaults = false; } +wxConfigBase::~wxConfigBase() +{ +} + wxConfigBase *wxConfigBase::Set(wxConfigBase *pConfig) { wxConfigBase *pOld = ms_pConfig; diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 1d85ebbbd8..a20bf2a381 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -1168,16 +1168,11 @@ wxDateTime& wxDateTime::Set(const struct tm& tm) // less than timezone - try to make it work for this case if ( tm2.tm_year == 70 && tm2.tm_mon == 0 && tm2.tm_mday == 1 ) { - // add timezone to make sure that date is in range - tm2.tm_sec -= GetTimeZone(); - - timet = mktime(&tm2); - if ( timet != (time_t)-1 ) - { - timet += GetTimeZone(); - - return Set(timet); - } + return Set((time_t)( + GetTimeZone() + + tm2.tm_hour * MIN_PER_HOUR * SEC_PER_MIN + + tm2.tm_min * SEC_PER_MIN + + tm2.tm_sec)); } wxFAIL_MSG( _T("mktime() failed") ); @@ -1262,7 +1257,10 @@ wxDateTime& wxDateTime::Set(wxDateTime_t day, (void)Set(tm); // and finally adjust milliseconds - return SetMillisecond(millisec); + if (IsValid()) + SetMillisecond(millisec); + + return *this; } else { @@ -1974,7 +1972,7 @@ wxDateTime& wxDateTime::SetToYearDay(wxDateTime::wxDateTime_t yday) // yday lies in December then if ( (mon == Dec) || (yday <= gs_cumulatedDays[isLeap][mon + 1]) ) { - Set((wxDateTime::wxDateTime_t)(yday - gs_cumulatedDays[isLeap][mon]), mon, year); + Set(yday - gs_cumulatedDays[isLeap][mon], mon, year); break; } @@ -2565,7 +2563,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) return (wxChar *)NULL; } - wxDateTime_t hour = (wxDateTime_t)(*p++ - _T('0')); + wxDateTime_t hour = *p++ - _T('0'); if ( !wxIsdigit(*p) ) { @@ -2573,7 +2571,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) } hour *= 10; - hour = (wxDateTime_t)(hour + (*p++ - _T('0'))); + hour += *p++ - _T('0'); if ( *p++ != _T(':') ) { @@ -2585,7 +2583,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) return (wxChar *)NULL; } - wxDateTime_t min = (wxDateTime_t)(*p++ - _T('0')); + wxDateTime_t min = *p++ - _T('0'); if ( !wxIsdigit(*p) ) { @@ -2593,7 +2591,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) } min *= 10; - min = (wxDateTime_t)(min + *p++ - _T('0')); + min += *p++ - _T('0'); wxDateTime_t sec = 0; if ( *p++ == _T(':') ) @@ -2603,7 +2601,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) return (wxChar *)NULL; } - sec = (wxDateTime_t)(*p++ - _T('0')); + sec = *p++ - _T('0'); if ( !wxIsdigit(*p) ) { @@ -2611,7 +2609,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) } sec *= 10; - sec = (wxDateTime_t)(sec + *p++ - _T('0')); + sec += *p++ - _T('0'); } if ( *p++ != _T(' ') ) @@ -3463,11 +3461,9 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date) } else // may be either day or year { - wxDateTime_t maxDays = (wxDateTime_t)( - haveMon + wxDateTime_t maxDays = haveMon ? GetNumOfDaysInMonth(haveYear ? year : Inv_Year, mon) - : 31 - ); + : 31; // can it be day? if ( (val == 0) || (val > (unsigned long)maxDays) ) @@ -3521,7 +3517,7 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date) { // no need to check in month range as always < 12, but // the days are counted from 1 unlike the months - day = (wxDateTime_t)(mon + 1); + day = (wxDateTime_t)mon + 1; haveDay = true; } else @@ -3643,7 +3639,7 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date) // we're in the current year then if ( (year > 0) && (year <= (int)GetNumOfDaysInMonth(Inv_Year, mon)) ) { - day = (wxDateTime_t)year; + day = year; haveMon = true; haveYear = false; @@ -4030,6 +4026,11 @@ void wxDateTimeHolidayAuthority::AddAuthority(wxDateTimeHolidayAuthority *auth) ms_authorities.push_back(auth); } +wxDateTimeHolidayAuthority::~wxDateTimeHolidayAuthority() +{ + // nothing to do here +} + // ---------------------------------------------------------------------------- // wxDateTimeWorkDays // ---------------------------------------------------------------------------- diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 10c928e505..fadb078d01 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -316,6 +316,10 @@ void wxDCBase::DoDrawSpline( wxList *points ) double x1, y1, x2, y2; wxList::compatibility_iterator node = points->GetFirst(); + if (node == NULL) + // empty list + return; + p = (wxPoint *)node->GetData(); x1 = p->x; diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index 9f73688a00..475867e17b 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -1351,7 +1351,7 @@ void wxBoxSizer::RecalcSizes() } wxPoint child_pos( pt ); - wxSize child_size( size.x, height ); + wxSize child_size( wxSize( size.x, height) ); if (item->GetFlag() & (wxEXPAND | wxSHAPED)) child_size.x = m_size.x; @@ -1377,7 +1377,7 @@ void wxBoxSizer::RecalcSizes() } wxPoint child_pos( pt ); - wxSize child_size( width, size.y ); + wxSize child_size( wxSize(width, size.y) ); if (item->GetFlag() & (wxEXPAND | wxSHAPED)) child_size.y = m_size.y; diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index e0e0def4da..667874bdef 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -1286,701 +1286,6 @@ private: #endif // wxHAVE_WIN32_MB2WC -// ============================================================================ -// Cocoa conversion classes -// ============================================================================ - -#if defined(__WXCOCOA__) - -// RN: There is no UTF-32 support in either Core Foundation or -// Cocoa. Strangely enough, internally Core Foundation uses -// UTF 32 internally quite a bit - its just not public (yet). - -#include -#include - -CFStringEncoding wxCFStringEncFromFontEnc(wxFontEncoding encoding) -{ - CFStringEncoding enc = 0 ; - if ( encoding == wxFONTENCODING_DEFAULT ) - { -#if wxUSE_GUI - encoding = wxFont::GetDefaultEncoding() ; -#else - encoding = wxLocale::GetSystemEncoding() ; -#endif - } - else switch( encoding) - { - case wxFONTENCODING_ISO8859_1 : - enc = kCFStringEncodingISOLatin1 ; - break ; - case wxFONTENCODING_ISO8859_2 : - enc = kCFStringEncodingISOLatin2; - break ; - case wxFONTENCODING_ISO8859_3 : - enc = kCFStringEncodingISOLatin3 ; - break ; - case wxFONTENCODING_ISO8859_4 : - enc = kCFStringEncodingISOLatin4; - break ; - case wxFONTENCODING_ISO8859_5 : - enc = kCFStringEncodingISOLatinCyrillic; - break ; - case wxFONTENCODING_ISO8859_6 : - enc = kCFStringEncodingISOLatinArabic; - break ; - case wxFONTENCODING_ISO8859_7 : - enc = kCFStringEncodingISOLatinGreek; - break ; - case wxFONTENCODING_ISO8859_8 : - enc = kCFStringEncodingISOLatinHebrew; - break ; - case wxFONTENCODING_ISO8859_9 : - enc = kCFStringEncodingISOLatin5; - break ; - case wxFONTENCODING_ISO8859_10 : - enc = kCFStringEncodingISOLatin6; - break ; - case wxFONTENCODING_ISO8859_11 : - enc = kCFStringEncodingISOLatinThai; - break ; - case wxFONTENCODING_ISO8859_13 : - enc = kCFStringEncodingISOLatin7; - break ; - case wxFONTENCODING_ISO8859_14 : - enc = kCFStringEncodingISOLatin8; - break ; - case wxFONTENCODING_ISO8859_15 : - enc = kCFStringEncodingISOLatin9; - break ; - - case wxFONTENCODING_KOI8 : - enc = kCFStringEncodingKOI8_R; - break ; - case wxFONTENCODING_ALTERNATIVE : // MS-DOS CP866 - enc = kCFStringEncodingDOSRussian; - break ; - -// case wxFONTENCODING_BULGARIAN : -// enc = ; -// break ; - - case wxFONTENCODING_CP437 : - enc =kCFStringEncodingDOSLatinUS ; - break ; - case wxFONTENCODING_CP850 : - enc = kCFStringEncodingDOSLatin1; - break ; - case wxFONTENCODING_CP852 : - enc = kCFStringEncodingDOSLatin2; - break ; - case wxFONTENCODING_CP855 : - enc = kCFStringEncodingDOSCyrillic; - break ; - case wxFONTENCODING_CP866 : - enc =kCFStringEncodingDOSRussian ; - break ; - case wxFONTENCODING_CP874 : - enc = kCFStringEncodingDOSThai; - break ; - case wxFONTENCODING_CP932 : - enc = kCFStringEncodingDOSJapanese; - break ; - case wxFONTENCODING_CP936 : - enc =kCFStringEncodingDOSChineseSimplif ; - break ; - case wxFONTENCODING_CP949 : - enc = kCFStringEncodingDOSKorean; - break ; - case wxFONTENCODING_CP950 : - enc = kCFStringEncodingDOSChineseTrad; - break ; - - case wxFONTENCODING_CP1250 : - enc = kCFStringEncodingWindowsLatin2; - break ; - case wxFONTENCODING_CP1251 : - enc =kCFStringEncodingWindowsCyrillic ; - break ; - case wxFONTENCODING_CP1252 : - enc =kCFStringEncodingWindowsLatin1 ; - break ; - case wxFONTENCODING_CP1253 : - enc = kCFStringEncodingWindowsGreek; - break ; - case wxFONTENCODING_CP1254 : - enc = kCFStringEncodingWindowsLatin5; - break ; - case wxFONTENCODING_CP1255 : - enc =kCFStringEncodingWindowsHebrew ; - break ; - case wxFONTENCODING_CP1256 : - enc =kCFStringEncodingWindowsArabic ; - break ; - case wxFONTENCODING_CP1257 : - enc = kCFStringEncodingWindowsBalticRim; - break ; - case wxFONTENCODING_UTF7 : - enc = kCFStringEncodingNonLossyASCII ; - break ; - case wxFONTENCODING_UTF8 : - enc = kCFStringEncodingUTF8 ; - break ; - case wxFONTENCODING_EUC_JP : - enc = kCFStringEncodingEUC_JP; - break ; - case wxFONTENCODING_UTF16 : - enc = kCFStringEncodingUnicode ; - break ; - case wxFONTENCODING_MACROMAN : - enc = kCFStringEncodingMacRoman ; - break ; - case wxFONTENCODING_MACJAPANESE : - enc = kCFStringEncodingMacJapanese ; - break ; - case wxFONTENCODING_MACCHINESETRAD : - enc = kCFStringEncodingMacChineseTrad ; - break ; - case wxFONTENCODING_MACKOREAN : - enc = kCFStringEncodingMacKorean ; - break ; - case wxFONTENCODING_MACARABIC : - enc = kCFStringEncodingMacArabic ; - break ; - case wxFONTENCODING_MACHEBREW : - enc = kCFStringEncodingMacHebrew ; - break ; - case wxFONTENCODING_MACGREEK : - enc = kCFStringEncodingMacGreek ; - break ; - case wxFONTENCODING_MACCYRILLIC : - enc = kCFStringEncodingMacCyrillic ; - break ; - case wxFONTENCODING_MACDEVANAGARI : - enc = kCFStringEncodingMacDevanagari ; - break ; - case wxFONTENCODING_MACGURMUKHI : - enc = kCFStringEncodingMacGurmukhi ; - break ; - case wxFONTENCODING_MACGUJARATI : - enc = kCFStringEncodingMacGujarati ; - break ; - case wxFONTENCODING_MACORIYA : - enc = kCFStringEncodingMacOriya ; - break ; - case wxFONTENCODING_MACBENGALI : - enc = kCFStringEncodingMacBengali ; - break ; - case wxFONTENCODING_MACTAMIL : - enc = kCFStringEncodingMacTamil ; - break ; - case wxFONTENCODING_MACTELUGU : - enc = kCFStringEncodingMacTelugu ; - break ; - case wxFONTENCODING_MACKANNADA : - enc = kCFStringEncodingMacKannada ; - break ; - case wxFONTENCODING_MACMALAJALAM : - enc = kCFStringEncodingMacMalayalam ; - break ; - case wxFONTENCODING_MACSINHALESE : - enc = kCFStringEncodingMacSinhalese ; - break ; - case wxFONTENCODING_MACBURMESE : - enc = kCFStringEncodingMacBurmese ; - break ; - case wxFONTENCODING_MACKHMER : - enc = kCFStringEncodingMacKhmer ; - break ; - case wxFONTENCODING_MACTHAI : - enc = kCFStringEncodingMacThai ; - break ; - case wxFONTENCODING_MACLAOTIAN : - enc = kCFStringEncodingMacLaotian ; - break ; - case wxFONTENCODING_MACGEORGIAN : - enc = kCFStringEncodingMacGeorgian ; - break ; - case wxFONTENCODING_MACARMENIAN : - enc = kCFStringEncodingMacArmenian ; - break ; - case wxFONTENCODING_MACCHINESESIMP : - enc = kCFStringEncodingMacChineseSimp ; - break ; - case wxFONTENCODING_MACTIBETAN : - enc = kCFStringEncodingMacTibetan ; - break ; - case wxFONTENCODING_MACMONGOLIAN : - enc = kCFStringEncodingMacMongolian ; - break ; - case wxFONTENCODING_MACETHIOPIC : - enc = kCFStringEncodingMacEthiopic ; - break ; - case wxFONTENCODING_MACCENTRALEUR : - enc = kCFStringEncodingMacCentralEurRoman ; - break ; - case wxFONTENCODING_MACVIATNAMESE : - enc = kCFStringEncodingMacVietnamese ; - break ; - case wxFONTENCODING_MACARABICEXT : - enc = kCFStringEncodingMacExtArabic ; - break ; - case wxFONTENCODING_MACSYMBOL : - enc = kCFStringEncodingMacSymbol ; - break ; - case wxFONTENCODING_MACDINGBATS : - enc = kCFStringEncodingMacDingbats ; - break ; - case wxFONTENCODING_MACTURKISH : - enc = kCFStringEncodingMacTurkish ; - break ; - case wxFONTENCODING_MACCROATIAN : - enc = kCFStringEncodingMacCroatian ; - break ; - case wxFONTENCODING_MACICELANDIC : - enc = kCFStringEncodingMacIcelandic ; - break ; - case wxFONTENCODING_MACROMANIAN : - enc = kCFStringEncodingMacRomanian ; - break ; - case wxFONTENCODING_MACCELTIC : - enc = kCFStringEncodingMacCeltic ; - break ; - case wxFONTENCODING_MACGAELIC : - enc = kCFStringEncodingMacGaelic ; - break ; -// case wxFONTENCODING_MACKEYBOARD : -// enc = kCFStringEncodingMacKeyboardGlyphs ; -// break ; - default : - // because gcc is picky - break ; - } ; - return enc ; -} - -wxFontEncoding wxFontEncFromCFStringEnc(CFStringEncoding encoding) -{ - wxFontEncoding enc = wxFONTENCODING_DEFAULT ; - - switch( encoding) - { - case kCFStringEncodingISOLatin1 : - enc = wxFONTENCODING_ISO8859_1 ; - break ; - case kCFStringEncodingISOLatin2 : - enc = wxFONTENCODING_ISO8859_2; - break ; - case kCFStringEncodingISOLatin3 : - enc = wxFONTENCODING_ISO8859_3 ; - break ; - case kCFStringEncodingISOLatin4 : - enc = wxFONTENCODING_ISO8859_4; - break ; - case kCFStringEncodingISOLatinCyrillic : - enc = wxFONTENCODING_ISO8859_5; - break ; - case kCFStringEncodingISOLatinArabic : - enc = wxFONTENCODING_ISO8859_6; - break ; - case kCFStringEncodingISOLatinGreek : - enc = wxFONTENCODING_ISO8859_7; - break ; - case kCFStringEncodingISOLatinHebrew : - enc = wxFONTENCODING_ISO8859_8; - break ; - case kCFStringEncodingISOLatin5 : - enc = wxFONTENCODING_ISO8859_9; - break ; - case kCFStringEncodingISOLatin6 : - enc = wxFONTENCODING_ISO8859_10; - break ; - case kCFStringEncodingISOLatin7 : - enc = wxFONTENCODING_ISO8859_13; - break ; - case kCFStringEncodingISOLatin8 : - enc = wxFONTENCODING_ISO8859_14; - break ; - case kCFStringEncodingISOLatin9 : - enc =wxFONTENCODING_ISO8859_15 ; - break ; - - case kCFStringEncodingKOI8_R : - enc = wxFONTENCODING_KOI8; - break ; - -// case : -// enc = wxFONTENCODING_BULGARIAN; -// break ; - - case kCFStringEncodingDOSLatinUS : - enc = wxFONTENCODING_CP437; - break ; - case kCFStringEncodingDOSLatin1 : - enc = wxFONTENCODING_CP850; - break ; - case kCFStringEncodingDOSLatin2 : - enc =wxFONTENCODING_CP852 ; - break ; - case kCFStringEncodingDOSCyrillic : - enc = wxFONTENCODING_CP855; - break ; - case kCFStringEncodingDOSRussian : - enc = wxFONTENCODING_CP866; - break ; - case kCFStringEncodingDOSThai : - enc =wxFONTENCODING_CP874 ; - break ; - case kCFStringEncodingDOSJapanese : - enc = wxFONTENCODING_CP932; - break ; - case kCFStringEncodingDOSChineseSimplif : - enc = wxFONTENCODING_CP936; - break ; - case kCFStringEncodingDOSKorean : - enc = wxFONTENCODING_CP949; - break ; - case kCFStringEncodingDOSChineseTrad : - enc = wxFONTENCODING_CP950; - break ; - - case kCFStringEncodingWindowsLatin2 : - enc = wxFONTENCODING_CP1250; - break ; - case kCFStringEncodingWindowsCyrillic : - enc = wxFONTENCODING_CP1251; - break ; - case kCFStringEncodingWindowsLatin1 : - enc = wxFONTENCODING_CP1252; - break ; - case kCFStringEncodingWindowsGreek : - enc = wxFONTENCODING_CP1253; - break ; - case kCFStringEncodingWindowsLatin5 : - enc = wxFONTENCODING_CP1254; - break ; - case kCFStringEncodingWindowsHebrew : - enc = wxFONTENCODING_CP1255; - break ; - case kCFStringEncodingWindowsArabic : - enc = wxFONTENCODING_CP1256; - break ; - case kCFStringEncodingWindowsBalticRim : - enc =wxFONTENCODING_CP1257 ; - break ; - case kCFStringEncodingEUC_JP : - enc = wxFONTENCODING_EUC_JP; - break ; - case kCFStringEncodingUnicode : - enc = wxFONTENCODING_UTF16; - break; - case kCFStringEncodingMacRoman : - enc = wxFONTENCODING_MACROMAN ; - break ; - case kCFStringEncodingMacJapanese : - enc = wxFONTENCODING_MACJAPANESE ; - break ; - case kCFStringEncodingMacChineseTrad : - enc = wxFONTENCODING_MACCHINESETRAD ; - break ; - case kCFStringEncodingMacKorean : - enc = wxFONTENCODING_MACKOREAN ; - break ; - case kCFStringEncodingMacArabic : - enc =wxFONTENCODING_MACARABIC ; - break ; - case kCFStringEncodingMacHebrew : - enc = wxFONTENCODING_MACHEBREW ; - break ; - case kCFStringEncodingMacGreek : - enc = wxFONTENCODING_MACGREEK ; - break ; - case kCFStringEncodingMacCyrillic : - enc = wxFONTENCODING_MACCYRILLIC ; - break ; - case kCFStringEncodingMacDevanagari : - enc = wxFONTENCODING_MACDEVANAGARI ; - break ; - case kCFStringEncodingMacGurmukhi : - enc = wxFONTENCODING_MACGURMUKHI ; - break ; - case kCFStringEncodingMacGujarati : - enc = wxFONTENCODING_MACGUJARATI ; - break ; - case kCFStringEncodingMacOriya : - enc =wxFONTENCODING_MACORIYA ; - break ; - case kCFStringEncodingMacBengali : - enc =wxFONTENCODING_MACBENGALI ; - break ; - case kCFStringEncodingMacTamil : - enc = wxFONTENCODING_MACTAMIL ; - break ; - case kCFStringEncodingMacTelugu : - enc = wxFONTENCODING_MACTELUGU ; - break ; - case kCFStringEncodingMacKannada : - enc = wxFONTENCODING_MACKANNADA ; - break ; - case kCFStringEncodingMacMalayalam : - enc = wxFONTENCODING_MACMALAJALAM ; - break ; - case kCFStringEncodingMacSinhalese : - enc = wxFONTENCODING_MACSINHALESE ; - break ; - case kCFStringEncodingMacBurmese : - enc = wxFONTENCODING_MACBURMESE ; - break ; - case kCFStringEncodingMacKhmer : - enc = wxFONTENCODING_MACKHMER ; - break ; - case kCFStringEncodingMacThai : - enc = wxFONTENCODING_MACTHAI ; - break ; - case kCFStringEncodingMacLaotian : - enc = wxFONTENCODING_MACLAOTIAN ; - break ; - case kCFStringEncodingMacGeorgian : - enc = wxFONTENCODING_MACGEORGIAN ; - break ; - case kCFStringEncodingMacArmenian : - enc = wxFONTENCODING_MACARMENIAN ; - break ; - case kCFStringEncodingMacChineseSimp : - enc = wxFONTENCODING_MACCHINESESIMP ; - break ; - case kCFStringEncodingMacTibetan : - enc = wxFONTENCODING_MACTIBETAN ; - break ; - case kCFStringEncodingMacMongolian : - enc = wxFONTENCODING_MACMONGOLIAN ; - break ; - case kCFStringEncodingMacEthiopic : - enc = wxFONTENCODING_MACETHIOPIC ; - break ; - case kCFStringEncodingMacCentralEurRoman: - enc = wxFONTENCODING_MACCENTRALEUR ; - break ; - case kCFStringEncodingMacVietnamese: - enc = wxFONTENCODING_MACVIATNAMESE ; - break ; - case kCFStringEncodingMacExtArabic : - enc = wxFONTENCODING_MACARABICEXT ; - break ; - case kCFStringEncodingMacSymbol : - enc = wxFONTENCODING_MACSYMBOL ; - break ; - case kCFStringEncodingMacDingbats : - enc = wxFONTENCODING_MACDINGBATS ; - break ; - case kCFStringEncodingMacTurkish : - enc = wxFONTENCODING_MACTURKISH ; - break ; - case kCFStringEncodingMacCroatian : - enc = wxFONTENCODING_MACCROATIAN ; - break ; - case kCFStringEncodingMacIcelandic : - enc = wxFONTENCODING_MACICELANDIC ; - break ; - case kCFStringEncodingMacRomanian : - enc = wxFONTENCODING_MACROMANIAN ; - break ; - case kCFStringEncodingMacCeltic : - enc = wxFONTENCODING_MACCELTIC ; - break ; - case kCFStringEncodingMacGaelic : - enc = wxFONTENCODING_MACGAELIC ; - break ; -// case kCFStringEncodingMacKeyboardGlyphs : -// enc = wxFONTENCODING_MACKEYBOARD ; -// break ; - } ; - return enc ; -} - -class wxMBConv_cocoa : public wxMBConv -{ -public: - wxMBConv_cocoa() - { - Init(CFStringGetSystemEncoding()) ; - } - - wxMBConv_cocoa(const wxChar* name) - { - Init( wxCFStringEncFromFontEnc(wxFontMapper::Get()->CharsetToEncoding(name, false) ) ) ; - } - - wxMBConv_cocoa(wxFontEncoding encoding) - { - Init( wxCFStringEncFromFontEnc(encoding) ); - } - - ~wxMBConv_cocoa() - { - } - - void Init( CFStringEncoding encoding) - { - m_char_encoding = encoding ; - m_unicode_encoding = kCFStringEncodingUnicode; - } - - size_t MB2WC(wchar_t * szOut, const char * szUnConv, size_t nOutSize) const - { - wxASSERT(szUnConv); - - size_t nBufSize = strlen(szUnConv) + 1; - size_t nRealOutSize; - - UniChar* szUniCharBuffer = (UniChar*) szOut; - wchar_t* szConvBuffer = szOut; - - if (szConvBuffer == NULL && nOutSize != 0) - { - szConvBuffer = new wchar_t[nOutSize] ; - } - -#if SIZEOF_WCHAR_T == 4 - szUniCharBuffer = new UniChar[nOutSize]; -#endif - - CFDataRef theData = CFDataCreateWithBytesNoCopy ( - NULL, //allocator - (const UInt8*)szUnConv, - nBufSize - 1, - NULL //deallocator - ); - - wxASSERT(theData); - - CFStringRef theString = CFStringCreateFromExternalRepresentation ( - NULL, - theData, - m_char_encoding - ); - - wxASSERT(theString); - - if (nOutSize == 0) - { - nRealOutSize = CFStringGetLength(theString) + 1; - CFRelease(theString); - return nRealOutSize - 1; - } - - CFRange theRange = { 0, CFStringGetLength(theString) }; - - CFStringGetCharacters(theString, theRange, szUniCharBuffer); - - - nRealOutSize = (CFStringGetLength(theString) + 1); - - CFRelease(theString); - - szUniCharBuffer[nRealOutSize-1] = '\0' ; - -#if SIZEOF_WCHAR_T == 4 - wxMBConvUTF16 converter ; - converter.MB2WC(szConvBuffer , (const char*)szUniCharBuffer , nRealOutSize ) ; - delete[] szUniCharBuffer; -#endif - if ( szOut == NULL ) - delete [] szConvBuffer; - - return nRealOutSize ; - } - - size_t WC2MB(char *szOut, const wchar_t *szUnConv, size_t nOutSize) const - { - size_t nBufSize = wxWcslen(szUnConv) + 1; - size_t nRealOutSize; - char* szBuffer = szOut; - UniChar* szUniBuffer = (UniChar*) szUnConv; - - if (szOut == NULL) - { - // worst case - nRealOutSize = ((nBufSize - 1) << 1)+1 ; - szBuffer = new char[ nRealOutSize ] ; - } - else - nRealOutSize = nOutSize; - -#if SIZEOF_WCHAR_T == 4 - wxMBConvUTF16BE converter ; - nBufSize = converter.WC2MB( NULL , szUnConv , 0 ); - szUniBuffer = new UniChar[ (nBufSize / sizeof(UniChar)) + 1] ; - converter.WC2MB( (char*) szUniBuffer , szUnConv, nBufSize + sizeof(UniChar)) ; - nBufSize /= sizeof(UniChar); - ++nBufSize; -#endif - - CFStringRef theString = CFStringCreateWithCharactersNoCopy( - NULL, //allocator - szUniBuffer, - nBufSize, - NULL //deallocator - ); - - wxASSERT(theString); - - //Note that CER puts a BOM when converting to unicode - //so we may want to check and use getchars instead in that case - CFDataRef theData = CFStringCreateExternalRepresentation( - NULL, //allocator - theString, - m_char_encoding, - 0 //what to put in characters that can't be converted - - //0 tells CFString to return NULL if it meets such a character - ); - - if(!theData) - return (size_t)-1; - - CFRelease(theString); - - nRealOutSize = CFDataGetLength(theData); - - if ( szOut == NULL ) - delete[] szBuffer; - - if(nOutSize == 0) - { -//TODO: This gets flagged as a non-malloced address by the debugger... -//#if SIZEOF_WCHAR_T == 4 -// delete[] szUniBuffer; -//#endif - CFRelease(theData); - return nRealOutSize - 1; - } - - CFRange theRange = {0, CFDataGetLength(theData) }; - CFDataGetBytes(theData, theRange, (UInt8*) szBuffer); - - CFRelease(theData); - -//TODO: This gets flagged as a non-malloced address by the debugger... -//#if SIZEOF_WCHAR_T == 4 -// delete[] szUniBuffer; -//#endif - return nRealOutSize - 1; - } - - bool IsOk() const - { - //TODO: check for invalid en/de/coding - return true; - } - -private: - CFStringEncoding m_char_encoding ; - CFStringEncoding m_unicode_encoding ; -}; - -#endif // defined(__WXCOCOA__) - // ============================================================================ // Mac conversion classes // ============================================================================ @@ -2335,20 +1640,6 @@ wxMBConv *wxCSConv::DoCreate() const } } #endif -#if defined(__WXCOCOA__) - { - if ( m_name || ( m_encoding <= wxFONTENCODING_UTF16 ) ) - { - - wxMBConv_cocoa *conv = m_name ? new wxMBConv_cocoa(m_name) - : new wxMBConv_cocoa(m_encoding); - if ( conv->IsOk() ) - return conv; - - delete conv; - } - } -#endif // step (2) wxFontEncoding enc = m_encoding; #if wxUSE_FONTMAP diff --git a/src/common/textbuf.cpp b/src/common/textbuf.cpp index 42268b62ed..6158973ff1 100644 --- a/src/common/textbuf.cpp +++ b/src/common/textbuf.cpp @@ -146,6 +146,10 @@ wxTextBuffer::wxTextBuffer(const wxString& strBufferName) m_isOpened = false; } +wxTextBuffer::~wxTextBuffer() +{ +} + // ---------------------------------------------------------------------------- // buffer operations // ---------------------------------------------------------------------------- diff --git a/src/generic/choicbkg.cpp b/src/generic/choicbkg.cpp index 15390adec2..9c3062d742 100644 --- a/src/generic/choicbkg.cpp +++ b/src/generic/choicbkg.cpp @@ -144,8 +144,7 @@ wxRect wxChoicebook::GetPageRect() const { const wxSize sizeChoice = m_choice->GetSize(); - wxPoint pt(0, 0); - wxRect rectPage(pt, GetClientSize()); + wxRect rectPage(wxPoint(0, 0), GetClientSize()); switch ( GetWindowStyle() & wxCHB_ALIGN_MASK ) { default: diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 64a0c40a1d..ac9b77b5e0 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -1072,8 +1072,7 @@ void wxGridCellFloatEditor::StartingKey(wxKeyEvent& event) char tmpbuf[2]; tmpbuf[0] = (char) keycode; tmpbuf[1] = '\0'; - wxString strbuf(tmpbuf, *wxConvCurrent); - bool is_decimal_point = ( strbuf == + bool is_decimal_point = ( wxString(tmpbuf, *wxConvCurrent) == wxLocale::GetInfo(wxLOCALE_DECIMAL_POINT, wxLOCALE_CAT_NUMBER) ); if ( wxIsdigit(keycode) || keycode == '+' || keycode == '-' || is_decimal_point @@ -8910,7 +8909,7 @@ void wxGrid::SetDefaultEditor(wxGridCellEditor *editor) { RegisterDataType(wxGRID_VALUE_STRING, GetDefaultRendererForType(wxGRID_VALUE_STRING), - editor); + editor); } // ---------------------------------------------------------------------------- @@ -9892,7 +9891,7 @@ wxSize wxGrid::DoGetBestSize() const if (!width) width=100; if (!height) height=80; - + // Round up to a multiple the scroll rate NOTE: this still doesn't get rid // of the scrollbars, is there any magic incantaion for that? int xpu, ypu; @@ -9901,16 +9900,16 @@ wxSize wxGrid::DoGetBestSize() const width += 1 + xpu - (width % xpu); if (ypu) height += 1 + ypu - (height % ypu); - + // limit to 1/4 of the screen size int maxwidth, maxheight; wxDisplaySize( & maxwidth, & maxheight ); maxwidth /= 2; - maxheight /= 2; + maxheight /= 2; if ( width > maxwidth ) width = maxwidth; if ( height > maxheight ) height = maxheight; - + wxSize best(width, height); // NOTE: This size should be cached, but first we need to add calls to // InvalidateBestSize everywhere that could change the results of this diff --git a/src/generic/listbkg.cpp b/src/generic/listbkg.cpp index 3b10666dcb..34d726efe7 100644 --- a/src/generic/listbkg.cpp +++ b/src/generic/listbkg.cpp @@ -172,8 +172,7 @@ wxRect wxListbook::GetPageRect() const { const wxSize sizeList = m_list->GetSize(); - wxPoint pt(0, 0); - wxRect rectPage(pt, GetClientSize()); + wxRect rectPage(wxPoint(0, 0), GetClientSize()); switch ( GetWindowStyle() & wxLB_ALIGN_MASK ) { default: @@ -402,7 +401,7 @@ wxListbook::InsertPage(size_t n, // index of the selected page if ( int(n) <= m_selection ) { - // one extra page added + // one extra page added m_selection++; m_list->Select(m_selection); m_list->Focus(m_selection); diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index e6469b11ee..ad855afdbc 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -483,10 +483,8 @@ void wxSashWindow::DrawSash(wxSashEdgePosition edge, wxDC& dc) wxPen darkShadowPen(m_darkShadowColour, 1, wxSOLID); wxPen lightShadowPen(m_lightShadowColour, 1, wxSOLID); wxPen hilightPen(m_hilightColour, 1, wxSOLID); - wxColour blackClr(0, 0, 0); - wxColour whiteClr(255, 255, 255); - wxPen blackPen(blackClr, 1, wxSOLID); - wxPen whitePen(whiteClr, 1, wxSOLID); + wxPen blackPen(wxColour(0, 0, 0), 1, wxSOLID); + wxPen whitePen(wxColour(255, 255, 255), 1, wxSOLID); if ( edge == wxSASH_LEFT || edge == wxSASH_RIGHT ) { diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index 99c278b2d5..36b2f789f0 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -170,17 +170,19 @@ void wxMDIParentFrame::OnInternalIdle() /* need to set the menubar of the child */ wxMDIChildFrame *active_child_frame = GetActiveChild(); - wxMenuBar *menu_bar = active_child_frame->m_menuBar; - if (menu_bar) + if (active_child_frame != NULL) { - menu_bar->m_width = m_width; - menu_bar->m_height = wxMENU_HEIGHT; - gtk_pizza_set_size( GTK_PIZZA(m_mainWidget), - menu_bar->m_widget, - 0, 0, m_width, wxMENU_HEIGHT ); - menu_bar->SetInvokingWindow(active_child_frame); + wxMenuBar *menu_bar = active_child_frame->m_menuBar; + if (menu_bar) + { + menu_bar->m_width = m_width; + menu_bar->m_height = wxMENU_HEIGHT; + gtk_pizza_set_size( GTK_PIZZA(m_mainWidget), + menu_bar->m_widget, + 0, 0, m_width, wxMENU_HEIGHT ); + menu_bar->SetInvokingWindow(active_child_frame); + } } - m_justInserted = false; return; } diff --git a/src/gtk1/mdi.cpp b/src/gtk1/mdi.cpp index 99c278b2d5..36b2f789f0 100644 --- a/src/gtk1/mdi.cpp +++ b/src/gtk1/mdi.cpp @@ -170,17 +170,19 @@ void wxMDIParentFrame::OnInternalIdle() /* need to set the menubar of the child */ wxMDIChildFrame *active_child_frame = GetActiveChild(); - wxMenuBar *menu_bar = active_child_frame->m_menuBar; - if (menu_bar) + if (active_child_frame != NULL) { - menu_bar->m_width = m_width; - menu_bar->m_height = wxMENU_HEIGHT; - gtk_pizza_set_size( GTK_PIZZA(m_mainWidget), - menu_bar->m_widget, - 0, 0, m_width, wxMENU_HEIGHT ); - menu_bar->SetInvokingWindow(active_child_frame); + wxMenuBar *menu_bar = active_child_frame->m_menuBar; + if (menu_bar) + { + menu_bar->m_width = m_width; + menu_bar->m_height = wxMENU_HEIGHT; + gtk_pizza_set_size( GTK_PIZZA(m_mainWidget), + menu_bar->m_widget, + 0, 0, m_width, wxMENU_HEIGHT ); + menu_bar->SetInvokingWindow(active_child_frame); + } } - m_justInserted = false; return; } diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 9d5e70638d..327cc5fa4e 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -82,7 +82,7 @@ wxHtmlHelpIndexCompareFunc(wxHtmlHelpDataItem **a, wxHtmlHelpDataItem **b) return -1; if (ib == NULL) return 1; - + if (ia->parent == ib->parent) { return ia->name.CmpNoCase(ib->name); @@ -686,7 +686,7 @@ bool wxHtmlHelpData::AddBook(const wxString& book) lineptr = ReadLine(lineptr, linebuf, 300); for (wxChar *ch = linebuf; *ch != wxT('\0') && *ch != wxT('='); ch++) - *ch = (wxChar)wxTolower(*ch); + *ch = tolower(*ch); if (wxStrstr(linebuf, _T("title=")) == linebuf) title = linebuf + wxStrlen(_T("title=")); diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 5858f92b08..bf3223b784 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -1674,7 +1674,7 @@ void wxHtmlHelpFrame::OnIndexFind(wxCommandEvent& event) // other items, show them as well, because they are refinements // of the displayed index entry (i.e. it is implicitly contained // in them: "foo" with parent "bar" reads as "bar, foo"): - int level = index[i].items[0]->level; + short int level = index[i].items[0]->level; i++; while (i < cnt && index[i].items[0]->level > level) { diff --git a/src/html/htmlfilter.cpp b/src/html/htmlfilter.cpp deleted file mode 100644 index 57508b1069..0000000000 --- a/src/html/htmlfilter.cpp +++ /dev/null @@ -1,172 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: filter.cpp -// Purpose: wxHtmlFilter - input filter for translating into HTML format -// Author: Vaclav Slavik -// Copyright: (c) 1999 Vaclav Slavik -// Licence: wxWindows Licence -///////////////////////////////////////////////////////////////////////////// - - -#ifdef __GNUG__ -#pragma implementation "htmlfilter.h" -#endif - -#include "wx/wxprec.h" - -#if wxUSE_HTML - -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif - -#ifndef WXPRECOMP -#endif - -#include "wx/html/htmlfilter.h" -#include "wx/html/htmlwin.h" - - -/* - -There is code for several default filters: - -*/ - -IMPLEMENT_ABSTRACT_CLASS(wxHtmlFilter, wxObject) - -//-------------------------------------------------------------------------------- -// wxHtmlFilterPlainText -// filter for text/plain or uknown -//-------------------------------------------------------------------------------- - -IMPLEMENT_DYNAMIC_CLASS(wxHtmlFilterPlainText, wxHtmlFilter) - -bool wxHtmlFilterPlainText::CanRead(const wxFSFile& WXUNUSED(file)) const -{ - return TRUE; -} - - - -wxString wxHtmlFilterPlainText::ReadFile(const wxFSFile& file) const -{ - wxInputStream *s = file.GetStream(); - char *src; - wxString doc, doc2; - - if (s == NULL) return wxEmptyString; - src = new char[s -> GetSize()+1]; - src[s -> GetSize()] = 0; - s -> Read(src, s -> GetSize()); - doc = src; - delete [] src; - - doc.Replace(_T("<"), _T("<"), TRUE); - doc.Replace(_T(">"), _T(">"), TRUE); - doc2 = _T("
\n") + doc + _T("\n
"); - return doc2; -} - - - - - -//-------------------------------------------------------------------------------- -// wxHtmlFilterImage -// filter for image/* -//-------------------------------------------------------------------------------- - -class wxHtmlFilterImage : public wxHtmlFilter -{ - DECLARE_DYNAMIC_CLASS(wxHtmlFilterImage) - - public: - virtual bool CanRead(const wxFSFile& file) const; - virtual wxString ReadFile(const wxFSFile& file) const; -}; - -IMPLEMENT_DYNAMIC_CLASS(wxHtmlFilterImage, wxHtmlFilter) - - - -bool wxHtmlFilterImage::CanRead(const wxFSFile& file) const -{ - return (file.GetMimeType().Left(6) == "image/"); -} - - - -wxString wxHtmlFilterImage::ReadFile(const wxFSFile& file) const -{ - return (""); -} - - - - -//-------------------------------------------------------------------------------- -// wxHtmlFilterPlainText -// filter for text/plain or uknown -//-------------------------------------------------------------------------------- - -class wxHtmlFilterHTML : public wxHtmlFilter -{ - DECLARE_DYNAMIC_CLASS(wxHtmlFilterHTML) - - public: - virtual bool CanRead(const wxFSFile& file) const; - virtual wxString ReadFile(const wxFSFile& file) const; -}; - - -IMPLEMENT_DYNAMIC_CLASS(wxHtmlFilterHTML, wxHtmlFilter) - -bool wxHtmlFilterHTML::CanRead(const wxFSFile& file) const -{ -// return (file.GetMimeType() == "text/html"); -// This is true in most case but some page can return: -// "text/html; char-encoding=...." -// So we use Find instead - return (file.GetMimeType().Find(_T("text/html")) == 0); -} - - - -wxString wxHtmlFilterHTML::ReadFile(const wxFSFile& file) const -{ - wxInputStream *s = file.GetStream(); - char *src; - wxString doc; - - if (s == NULL) return wxEmptyString; - src = new char[s -> GetSize() + 1]; - src[s -> GetSize()] = 0; - s -> Read(src, s -> GetSize()); - doc = src; - delete[] src; - - return doc; -} - - - - -///// Module: - -class wxHtmlFilterModule : public wxModule -{ - DECLARE_DYNAMIC_CLASS(wxHtmlFilterModule) - - public: - virtual bool OnInit() - { - wxHtmlWindow::AddFilter(new wxHtmlFilterHTML); - wxHtmlWindow::AddFilter(new wxHtmlFilterImage); - return TRUE; - } - virtual void OnExit() {} -}; - -IMPLEMENT_DYNAMIC_CLASS(wxHtmlFilterModule, wxModule) - -#endif diff --git a/src/html/htmlhelp.cpp b/src/html/htmlhelp.cpp deleted file mode 100644 index 8ea6466640..0000000000 --- a/src/html/htmlhelp.cpp +++ /dev/null @@ -1,839 +0,0 @@ -// Name: htmlhelp.cpp -// Purpose: Help controller -// Author: Vaclav Slavik -// Copyright: (c) 1999 Vaclav Slavik -// Licence: wxWindows Licence -///////////////////////////////////////////////////////////////////////////// - -#error This file should not be compiled! Update your build system! \ -(configure users, rerun configure to get a new Makefile) \ -Instead of htmlhelp[_io], use helpdata, helpfrm and helpctrl. This \ -file is only left to point out the problem and will be removed r.s.n. - -#ifdef __GNUG__ -#pragma implementation "htmlhelp.h" -#endif - -#include "wx/wxprec.h" - -#if wxUSE_HTML - -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif - -#ifndef WXPRECOMP -#endif - -#include -#include -#include -#include -#include -#include -#include -#include - -#if !((wxVERSION_NUMBER < 2100) || ((wxVERSION_NUMBER == 2100) && (wxBETA_NUMBER < 7))) -#include -#endif - - -// Bitmaps: - -#ifndef __WXMSW__ - // XPM hack: make the arrays const - #define static static const - - #include "bitmaps/panel.xpm" - #include "bitmaps/back.xpm" - #include "bitmaps/forward.xpm" - #include "bitmaps/book.xpm" - #include "bitmaps/folder.xpm" - #include "bitmaps/page.xpm" - - #undef static -#endif - -#include "search.h" - - - - -#include -WX_DEFINE_OBJARRAY(HtmlBookRecArray) - - - - - - - - - -//----------------------------------------------------------------------------- -// wxHtmlHelpController -//----------------------------------------------------------------------------- - - -IMPLEMENT_DYNAMIC_CLASS(wxHtmlHelpController, wxEvtHandler) - - -wxHtmlHelpController::wxHtmlHelpController() : wxEvtHandler() -{ - m_Frame = NULL; - m_Config = NULL; - m_ConfigRoot = wxEmptyString; - m_TitleFormat = _("Help : %s"); - m_TempPath = wxEmptyString; - - m_Cfg.x = m_Cfg.y = 0; - m_Cfg.w = 700; m_Cfg.h = 480; - m_Cfg.sashpos = 240; - m_Cfg.navig_on = TRUE; - - m_ContentsImageList = new wxImageList(12, 12); - m_ContentsImageList -> Add(wxICON(book)); - m_ContentsImageList -> Add(wxICON(folder)); - m_ContentsImageList -> Add(wxICON(page)); - - m_Contents = NULL; - m_ContentsCnt = 0; - m_Index = NULL; - m_IndexCnt = 0; - - m_IndexBox = NULL; - m_ContentsBox = NULL; - m_SearchList = NULL; - m_SearchText = NULL; - m_SearchButton = NULL; - m_HtmlWin = NULL; - m_Splitter = NULL; - m_NavigPan = NULL; -} - - - -wxHtmlHelpController::~wxHtmlHelpController() -{ - int i; - - m_BookRecords.Empty(); - delete m_ContentsImageList; - if (m_Contents) { - for (i = 0; i < m_ContentsCnt; i++) { - delete[] m_Contents[i].m_Page; - delete[] m_Contents[i].m_Name; - } - free(m_Contents); - } - if (m_Index) { - for (i = 0; i < m_IndexCnt; i++) { - delete[] m_Index[i].m_Page; - delete[] m_Index[i].m_Name; - } - free(m_Index); - } -} - - - -void wxHtmlHelpController::SetTempDir(const wxString& path) -{ - if (path == wxEmptyString) m_TempPath = path; - else { - if (wxIsAbsolutePath(path)) m_TempPath = path; - else m_TempPath = wxGetCwd() + "/" + path; - - if (m_TempPath[m_TempPath.Length() - 1] != '/') - m_TempPath << "/"; - } -} - - - - -// Reads one line, stores it into buf and returns pointer to new line or NULL. -static char* ReadLine(char *line, char *buf) -{ - char *writeptr = buf, *readptr = line; - - while (*readptr != 0 && *readptr != '\r' && *readptr != '\n') *(writeptr++) = *(readptr++); - *writeptr = 0; - while (*readptr == '\r' || *readptr == '\n') readptr++; - if (*readptr == 0) return NULL; - else return readptr; -} - - -static wxString SafeFileName(const wxString& s) -{ - wxString res = s; - res.Replace(_T(":"), _T("_"), TRUE); - res.Replace(_T(" "), _T("_"), TRUE); - res.Replace(_T("/"), _T("_"), TRUE); - res.Replace(_T("\\"), _T("_"), TRUE); - res.Replace(_T("#"), _T("_"), TRUE); - res.Replace(_T("."), _T("_"), TRUE); - return res; -} - - -static int IndexCompareFunc(const void *a, const void *b) -{ - return strcmp(((HtmlContentsItem*)a) -> m_Name, ((HtmlContentsItem*)b) -> m_Name); -} - - - -bool wxHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg) -{ - wxFSFile *fi; - wxFileSystem fsys; - wxInputStream *s; - HtmlBookRecord *bookr; - wxString bookFull; - - int sz; - char *buff, *lineptr; - char linebuf[300]; - - wxString title = _("noname"), - safetitle, - start = wxEmptyString, - contents = wxEmptyString, index = wxEmptyString; - - if (wxIsAbsolutePath(book)) bookFull = book; - else bookFull = wxGetCwd() + "/" + book; - - fi = fsys.OpenFile(bookFull); - if (fi == NULL) return FALSE; - fsys.ChangePathTo(bookFull); - s = fi -> GetStream(); - sz = s -> GetSize(); - buff = new char[sz+1]; - buff[sz] = 0; - s -> Read(buff, sz); - lineptr = buff; - delete fi; - - while ((lineptr = ReadLine(lineptr, linebuf)) != NULL) { - if (strstr(linebuf, "Title=") == linebuf) - title = linebuf + strlen("Title="); - if (strstr(linebuf, "Default topic=") == linebuf) - start = linebuf + strlen("Default topic="); - if (strstr(linebuf, "Index file=") == linebuf) - index = linebuf + strlen("Index file="); - if (strstr(linebuf, "Contents file=") == linebuf) - contents = linebuf + strlen("Contents file="); - } - delete[] buff; - - bookr = new HtmlBookRecord(fsys.GetPath(), title, start); - - if (m_ContentsCnt % HTML_REALLOC_STEP == 0) - m_Contents = (HtmlContentsItem*) realloc(m_Contents, (m_ContentsCnt + HTML_REALLOC_STEP) * sizeof(HtmlContentsItem)); - m_Contents[m_ContentsCnt].m_Level = 0; - m_Contents[m_ContentsCnt].m_ID = 0; - m_Contents[m_ContentsCnt].m_Page = new char[start.Length() + 1]; - strcpy(m_Contents[m_ContentsCnt].m_Page, start.c_str()); - m_Contents[m_ContentsCnt].m_Name = new char [title.Length() + 1]; - strcpy(m_Contents[m_ContentsCnt].m_Name, title.c_str()); - m_Contents[m_ContentsCnt].m_Book = bookr; - m_ContentsCnt++; - - // Try to find cached binary versions: - safetitle = SafeFileName(title); - fi = fsys.OpenFile(safetitle + ".cached"); - if (fi == NULL) fi = fsys.OpenFile(m_TempPath + safetitle + ".cached"); - if ((fi == NULL) || (m_TempPath == wxEmptyString)) { - LoadMSProject(bookr, fsys, index, contents, show_wait_msg); - if (m_TempPath != wxEmptyString) { - wxFileOutputStream *outs = new wxFileOutputStream(m_TempPath + safetitle + ".cached"); - SaveCachedBook(bookr, outs); - delete outs; - } - } - else { - LoadCachedBook(bookr, fi -> GetStream()); - delete fi; - } - - m_BookRecords.Add(bookr); - if (m_IndexCnt > 0) - qsort(m_Index, m_IndexCnt, sizeof(HtmlContentsItem), IndexCompareFunc); - - return TRUE; -} - - - - -void wxHtmlHelpController::Display(const wxString& x) -{ - int cnt; - int i; - wxFileSystem fsys; - wxFSFile *f; - - CreateHelpWindow(); - - /* 1. try to open given file: */ - - cnt = m_BookRecords.GetCount(); - for (i = 0; i < cnt; i++) { - f = fsys.OpenFile(m_BookRecords[i].GetBasePath() + x); - if (f) { - m_HtmlWin -> LoadPage(m_BookRecords[i].GetBasePath() + x); - delete f; - return; - } - } - - - /* 2. try to find a book: */ - - for (i = 0; i < cnt; i++) { - if (m_BookRecords[i].GetTitle() == x) { - m_HtmlWin -> LoadPage(m_BookRecords[i].GetBasePath() + m_BookRecords[i].GetStart()); - return; - } - } - - /* 3. try to find in contents: */ - - cnt = m_ContentsCnt; - for (i = 0; i < cnt; i++) { - if (strcmp(m_Contents[i].m_Name, x) == 0) { - m_HtmlWin -> LoadPage(m_Contents[i].m_Book -> GetBasePath() + m_Contents[i].m_Page); - return; - } - } - - - /* 4. try to find in index: */ - - cnt = m_IndexCnt; - for (i = 0; i < cnt; i++) { - if (strcmp(m_Index[i].m_Name, x) == 0) { - m_HtmlWin -> LoadPage(m_Index[i].m_Book -> GetBasePath() + m_Index[i].m_Page); - return; - } - } - - - /* 5. if everything failed, search the documents: */ - - KeywordSearch(x); -} - - - -void wxHtmlHelpController::Display(const int id) -{ - CreateHelpWindow(); - - for (int i = 0; i < m_ContentsCnt; i++) { - if (m_Contents[i].m_ID == id) { - m_HtmlWin -> LoadPage(m_Contents[i].m_Book -> GetBasePath() + m_Contents[i].m_Page); - return; - } - } -} - - - -void wxHtmlHelpController::DisplayContents() -{ - CreateHelpWindow(); - m_Frame -> Raise(); - if (!m_Splitter -> IsSplit()) { - m_NavigPan -> Show(TRUE); - m_HtmlWin -> Show(TRUE); - m_Splitter -> SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos); - } - m_NavigPan -> SetSelection(0); -} - - - -void wxHtmlHelpController::DisplayIndex() -{ - CreateHelpWindow(); - m_Frame -> Raise(); - if (!m_Splitter -> IsSplit()) { - m_NavigPan -> Show(TRUE); - m_HtmlWin -> Show(TRUE); - m_Splitter -> SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos); - } - m_NavigPan -> SetSelection(1); -} - - - - -#if (wxVERSION_NUMBER < 2100) || ((wxVERSION_NUMBER == 2100) && (wxBETA_NUMBER < 7)) - -class MyProgressDlg : public wxDialog -{ - public: - bool m_Canceled; - - MyProgressDlg(wxWindow *parent) : wxDialog(parent, -1, - _("Searching..."), - wxPoint(0, 0), -#ifdef __WXGTK__ - wxSize(300, 110) -#else - wxSize(300, 130) -#endif - ) - {m_Canceled = FALSE;} - void OnCancel(wxCommandEvent& event) {m_Canceled = TRUE;} - DECLARE_EVENT_TABLE() -}; -BEGIN_EVENT_TABLE(MyProgressDlg, wxDialog) - EVT_BUTTON(wxID_CANCEL, MyProgressDlg::OnCancel) -END_EVENT_TABLE() - -#endif - - -bool wxHtmlHelpController::KeywordSearch(const wxString& keyword) -{ - int foundcnt = 0; - CreateHelpWindow(); - // if these are not set, we can't continue - if (! (m_SearchList && m_HtmlWin)) - return FALSE; - m_Frame -> Raise(); - if (m_Splitter && m_NavigPan && m_SearchButton) { - if (!m_Splitter -> IsSplit()) { - m_NavigPan -> Show(TRUE); - m_HtmlWin -> Show(TRUE); - m_Splitter -> SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos); - } - m_NavigPan -> SetSelection(2); - m_SearchList -> Clear(); - m_SearchText -> SetValue(keyword); - m_SearchButton -> Enable(FALSE); - } - { - int cnt = m_ContentsCnt; - wxSearchEngine engine; - wxFileSystem fsys; - wxFSFile *file; - wxString lastpage = wxEmptyString; - wxString foundstr; - -#if (wxVERSION_NUMBER < 2100) || ((wxVERSION_NUMBER == 2100) && (wxBETA_NUMBER < 7)) - MyProgressDlg progress(m_Frame); - - wxStaticText *prompt = new wxStaticText(&progress, -1, "", wxPoint(20, 50), wxSize(260, 25), wxALIGN_CENTER); - wxGauge *gauge = new wxGauge(&progress, -1, cnt, wxPoint(20, 20), wxSize(260, 25)); - wxButton *btn = new wxButton(&progress, wxID_CANCEL, _("Cancel"), wxPoint(110, 70), wxSize(80, 25)); - btn = btn; /* fool compiler :-) */ - prompt -> SetLabel(_("No matching page found yet")); - - progress.Centre(wxBOTH); - progress.Show(TRUE); -#else - wxProgressDialog progress(_("Searching..."), _("No matching page found yet"), cnt, m_Frame, wxPD_APP_MODAL | wxPD_CAN_ABORT | wxPD_AUTO_HIDE); -#endif - - engine.LookFor(keyword); - - for (int i = 0; i < cnt; i++) { -#if (wxVERSION_NUMBER < 2100) || ((wxVERSION_NUMBER == 2100) && (wxBETA_NUMBER < 7)) - gauge -> SetValue(i); - if (progress.m_Canceled) break; -#else - if (progress.Update(i) == FALSE) break; -#endif - wxYield(); - - file = fsys.OpenFile(m_Contents[i].m_Book -> GetBasePath() + m_Contents[i].m_Page); - if (file) { - if (lastpage != file -> GetLocation()) { - lastpage = file -> GetLocation(); - if (engine.Scan(file -> GetStream())) { - foundstr.Printf(_("Found %i matches"), ++foundcnt); -#if (wxVERSION_NUMBER < 2100) || ((wxVERSION_NUMBER == 2100) && (wxBETA_NUMBER < 7)) - prompt -> SetLabel(foundstr); -#else - progress.Update(i, foundstr); -#endif - wxYield(); - m_SearchList -> Append(m_Contents[i].m_Name, (char*)(m_Contents + i)); - } - } - delete file; - } - } - -#if (wxVERSION_NUMBER < 2100) || ((wxVERSION_NUMBER == 2100) && (wxBETA_NUMBER < 7)) - progress.Close(TRUE); -#endif - } - if (m_SearchButton) - m_SearchButton -> Enable(TRUE); - if (m_SearchText) { - m_SearchText -> SetSelection(0, keyword.Length()); - m_SearchText -> SetFocus(); - } - if (foundcnt) { - HtmlContentsItem *it = (HtmlContentsItem*) m_SearchList -> GetClientData(0); - if (it) m_HtmlWin -> LoadPage(it -> m_Book -> GetBasePath() + it -> m_Page); - } - return (foundcnt > 0); -} - - - - - - -void wxHtmlHelpController::CreateHelpWindow() -{ - wxBusyCursor cur; - wxString oldpath; - wxStatusBar *sbar; - - if (m_Frame) { - m_Frame -> Raise(); - m_Frame -> Show(TRUE); - return; - } - -#if wxUSE_BUSYINFO - wxBusyInfo busyinfo(_("Preparing help window...")); -#endif - - if (m_Config) ReadCustomization(m_Config, m_ConfigRoot); - - m_Frame = new wxFrame(NULL, -1, "", wxPoint(m_Cfg.x, m_Cfg.y), wxSize(m_Cfg.w, m_Cfg.h)); - m_Frame -> PushEventHandler(this); - sbar = m_Frame -> CreateStatusBar(); - - { - wxToolBar *toolBar; - toolBar = m_Frame -> CreateToolBar(wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT | wxTB_DOCKABLE); - toolBar -> SetMargins(2, 2); - wxBitmap* toolBarBitmaps[3]; - -#ifdef __WXMSW__ - toolBarBitmaps[0] = new wxBitmap("panel"); - toolBarBitmaps[1] = new wxBitmap("back"); - toolBarBitmaps[2] = new wxBitmap("forward"); - int width = 24; -#else - toolBarBitmaps[0] = new wxBitmap(panel_xpm); - toolBarBitmaps[1] = new wxBitmap(back_xpm); - toolBarBitmaps[2] = new wxBitmap(forward_xpm); - int width = 16; -#endif - - int currentX = 5; - - toolBar -> AddTool(wxID_HTML_PANEL, *(toolBarBitmaps[0]), wxNullBitmap, FALSE, currentX, -1, (wxObject *) NULL, _("Show/hide navigation panel")); - currentX += width + 5; - toolBar -> AddSeparator(); - toolBar -> AddTool(wxID_HTML_BACK, *(toolBarBitmaps[1]), wxNullBitmap, FALSE, currentX, -1, (wxObject *) NULL, _("Go back to the previous HTML page")); - currentX += width + 5; - toolBar -> AddTool(wxID_HTML_FORWARD, *(toolBarBitmaps[2]), wxNullBitmap, FALSE, currentX, -1, (wxObject *) NULL, _("Go forward to the next HTML page")); - currentX += width + 5; - - toolBar -> Realize(); - - // Can delete the bitmaps since they're reference counted - for (int i = 0; i < 3; i++) delete toolBarBitmaps[i]; - } - - - { - m_Splitter = new wxSplitterWindow(m_Frame); - - m_HtmlWin = new wxHtmlWindow(m_Splitter); - m_HtmlWin -> SetRelatedFrame(m_Frame, m_TitleFormat); - m_HtmlWin -> SetRelatedStatusBar(0); - if (m_Config) m_HtmlWin -> ReadCustomization(m_Config, m_ConfigRoot); - - m_NavigPan = new wxNotebook(m_Splitter, wxID_HTML_NOTEBOOK, wxDefaultPosition, wxDefaultSize); - { - m_ContentsBox = new wxTreeCtrl(m_NavigPan, wxID_HTML_TREECTRL, wxDefaultPosition, wxDefaultSize, wxTR_HAS_BUTTONS | wxSUNKEN_BORDER); - m_ContentsBox -> SetImageList(m_ContentsImageList); - m_NavigPan -> AddPage(m_ContentsBox, _("Contents")); - } - - { - wxWindow *dummy = new wxPanel(m_NavigPan, wxID_HTML_INDEXPAGE); - wxLayoutConstraints *b1 = new wxLayoutConstraints; - b1 -> top.SameAs (dummy, wxTop, 0); - b1 -> left.SameAs (dummy, wxLeft, 0); - b1 -> width.PercentOf (dummy, wxWidth, 100); - b1 -> bottom.SameAs (dummy, wxBottom, 0); - m_IndexBox = new wxListBox(dummy, wxID_HTML_INDEXLIST, wxDefaultPosition, wxDefaultSize, 0); - m_IndexBox -> SetConstraints(b1); - dummy -> SetAutoLayout(TRUE); - m_NavigPan -> AddPage(dummy, _("Index")); - } - - { - wxWindow *dummy = new wxPanel(m_NavigPan, wxID_HTML_SEARCHPAGE); - - wxLayoutConstraints *b1 = new wxLayoutConstraints; - m_SearchText = new wxTextCtrl(dummy, wxID_HTML_SEARCHTEXT); - b1 -> top.SameAs (dummy, wxTop, 0); - b1 -> left.SameAs (dummy, wxLeft, 0); - b1 -> right.SameAs (dummy, wxRight, 0); - b1 -> height.AsIs(); - m_SearchText -> SetConstraints(b1); - - wxLayoutConstraints *b2 = new wxLayoutConstraints; - m_SearchButton = new wxButton(dummy, wxID_HTML_SEARCHBUTTON, _("Search!")); - b2 -> top.Below (m_SearchText, 10); - b2 -> right.SameAs (dummy, wxRight, 10); - b2 -> width.AsIs(); - b2 -> height.AsIs(); - m_SearchButton -> SetConstraints(b2); - - wxLayoutConstraints *b3 = new wxLayoutConstraints; - m_SearchList = new wxListBox(dummy, wxID_HTML_SEARCHLIST, wxDefaultPosition, wxDefaultSize, 0); - b3 -> top.Below (m_SearchButton, 10); - b3 -> left.SameAs (dummy, wxLeft, 0); - b3 -> right.SameAs (dummy, wxRight, 0); - b3 -> bottom.SameAs (dummy, wxBottom, 0); - m_SearchList -> SetConstraints(b3); - - dummy -> SetAutoLayout(TRUE); - dummy -> Layout(); - m_NavigPan -> AddPage(dummy, _("Search")); - } - - RefreshLists(); - m_NavigPan -> Show(TRUE); - m_HtmlWin -> Show(TRUE); - m_Splitter -> SetMinimumPaneSize(20); - m_Splitter -> SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos); - if (!m_Cfg.navig_on) m_Splitter -> Unsplit(m_NavigPan); - wxYield(); - } - - m_Frame -> Show(TRUE); - wxYield(); -} - - - -#define MAX_ROOTS 64 - -void wxHtmlHelpController::CreateContents() -{ - HtmlContentsItem *it; - wxTreeItemId roots[MAX_ROOTS]; - bool imaged[MAX_ROOTS]; - int count = m_ContentsCnt; - - m_ContentsBox -> DeleteAllItems(); - roots[0] = m_ContentsBox -> AddRoot(_("(Help)")); - imaged[0] = TRUE; - - for (int i = 0; i < count; i++) { - it = m_Contents + i; - roots[it -> m_Level + 1] = m_ContentsBox -> AppendItem(roots[it -> m_Level], it -> m_Name, IMG_Page, -1, new wxHtmlHelpTreeItemData(it)); - if (it -> m_Level == 0) { - m_ContentsBox -> SetItemBold(roots[1], TRUE); - m_ContentsBox -> SetItemImage(roots[1], IMG_Book); - m_ContentsBox -> SetItemSelectedImage(roots[1], IMG_Book); - imaged[1] = TRUE; - } - else imaged[it -> m_Level + 1] = FALSE; - - if (!imaged[it -> m_Level]) { - m_ContentsBox -> SetItemImage(roots[it -> m_Level], IMG_Folder); - m_ContentsBox -> SetItemSelectedImage(roots[it -> m_Level], IMG_Folder); - imaged[it -> m_Level] = TRUE; - } - } - - m_ContentsBox -> Expand(roots[0]); -} - - - - -void wxHtmlHelpController::CreateIndex() -{ - m_IndexBox -> Clear(); - - for (int i = 0; i < m_IndexCnt; i++) - m_IndexBox -> Append(m_Index[i].m_Name, (char*)(m_Index + i)); -} - - - -void wxHtmlHelpController::RefreshLists() -{ - if (m_Frame) { - CreateContents(); - CreateIndex(); - m_SearchList -> Clear(); - } -} - - - - - - - -void wxHtmlHelpController::ReadCustomization(wxConfigBase *cfg, wxString path) -{ - wxString oldpath; - wxString tmp; - - if (path != wxEmptyString) { - oldpath = cfg -> GetPath(); - cfg -> SetPath(path); - } - - m_Cfg.navig_on = cfg -> Read("hcNavigPanel", m_Cfg.navig_on) != 0; - m_Cfg.sashpos = cfg -> Read("hcSashPos", m_Cfg.sashpos); - m_Cfg.x = cfg -> Read("hcX", m_Cfg.x); - m_Cfg.y = cfg -> Read("hcY", m_Cfg.y); - m_Cfg.w = cfg -> Read("hcW", m_Cfg.w); - m_Cfg.h = cfg -> Read("hcH", m_Cfg.h); - - if (path != wxEmptyString) - cfg -> SetPath(oldpath); -} - - - -void wxHtmlHelpController::WriteCustomization(wxConfigBase *cfg, wxString path) -{ - wxString oldpath; - wxString tmp; - - if (path != wxEmptyString) { - oldpath = cfg -> GetPath(); - cfg -> SetPath(path); - } - - cfg -> Write("hcNavigPanel", m_Cfg.navig_on); - cfg -> Write("hcSashPos", (long)m_Cfg.sashpos); - cfg -> Write("hcX", (long)m_Cfg.x); - cfg -> Write("hcY", (long)m_Cfg.y); - cfg -> Write("hcW", (long)m_Cfg.w); - cfg -> Write("hcH", (long)m_Cfg.h); - - if (path != wxEmptyString) - cfg -> SetPath(oldpath); -} - - - - - -/* -EVENT HANDLING : -*/ - - -void wxHtmlHelpController::OnToolbar(wxCommandEvent& event) -{ - switch (event.GetId()) { - case wxID_HTML_BACK : - m_HtmlWin -> HistoryBack(); - break; - case wxID_HTML_FORWARD : - m_HtmlWin -> HistoryForward(); - break; - case wxID_HTML_PANEL : - if (m_Splitter -> IsSplit()) { - m_Cfg.sashpos = m_Splitter -> GetSashPosition(); - m_Splitter -> Unsplit(m_NavigPan); - } - else { - m_NavigPan -> Show(TRUE); - m_HtmlWin -> Show(TRUE); - m_Splitter -> SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos); - } - break; - } -} - - - -void wxHtmlHelpController::OnContentsSel(wxTreeEvent& event) -{ - wxHtmlHelpTreeItemData *pg; - - pg = (wxHtmlHelpTreeItemData*) m_ContentsBox -> GetItemData(event.GetItem()); - if (pg) m_HtmlWin -> LoadPage(pg -> GetPage()); -} - - - -void wxHtmlHelpController::OnIndexSel(wxCommandEvent& event) -{ - HtmlContentsItem *it = (HtmlContentsItem*) m_IndexBox -> GetClientData(m_IndexBox -> GetSelection()); - if (it) m_HtmlWin -> LoadPage(it -> m_Book -> GetBasePath() + it -> m_Page); -} - - - -void wxHtmlHelpController::OnSearchSel(wxCommandEvent& event) -{ - HtmlContentsItem *it = (HtmlContentsItem*) m_SearchList -> GetClientData(m_SearchList -> GetSelection()); - if (it) m_HtmlWin -> LoadPage(it -> m_Book -> GetBasePath() + it -> m_Page); -} - - - -void wxHtmlHelpController::OnCloseWindow(wxCloseEvent& event) -{ - int a, b; - - m_Cfg.navig_on = m_Splitter -> IsSplit(); - if (m_Cfg.navig_on) - m_Cfg.sashpos = m_Splitter -> GetSashPosition(); - m_Frame -> GetPosition(&a, &b); - m_Cfg.x = a, m_Cfg.y = b; - m_Frame -> GetSize(&a, &b); - m_Cfg.w = a, m_Cfg.h = b; - - if (m_Config) { - WriteCustomization(m_Config, m_ConfigRoot); - m_HtmlWin -> WriteCustomization(m_Config, m_ConfigRoot); - } - m_Frame = NULL; - - event.Skip(); -} - - - -void wxHtmlHelpController::OnSearch(wxCommandEvent& event) -{ - wxString sr = m_SearchText -> GetLineText(0); - - if (sr != wxEmptyString) KeywordSearch(sr); -} - - - -BEGIN_EVENT_TABLE(wxHtmlHelpController, wxEvtHandler) - EVT_TOOL_RANGE(wxID_HTML_PANEL, wxID_HTML_FORWARD, wxHtmlHelpController::OnToolbar) - EVT_TREE_SEL_CHANGED(wxID_HTML_TREECTRL, wxHtmlHelpController::OnContentsSel) - EVT_LISTBOX(wxID_HTML_INDEXLIST, wxHtmlHelpController::OnIndexSel) - EVT_LISTBOX(wxID_HTML_SEARCHLIST, wxHtmlHelpController::OnSearchSel) - EVT_CLOSE(wxHtmlHelpController::OnCloseWindow) - EVT_BUTTON(wxID_HTML_SEARCHBUTTON, wxHtmlHelpController::OnSearch) - EVT_TEXT_ENTER(wxID_HTML_SEARCHTEXT, wxHtmlHelpController::OnSearch) -END_EVENT_TABLE() - - - -#endif - diff --git a/src/html/htmltag.cpp b/src/html/htmltag.cpp index 1b9b7bd784..a8e30676ec 100644 --- a/src/html/htmltag.cpp +++ b/src/html/htmltag.cpp @@ -90,7 +90,7 @@ wxHtmlTagsCache::wxHtmlTagsCache(const wxString& source) src[pos] != wxT('>') && !wxIsspace(src[pos]); i++, pos++ ) { - tagBuffer[i] = (wxChar)wxToupper(src[pos]); + tagBuffer[i] = wxToupper(src[pos]); } tagBuffer[i] = _T('\0'); diff --git a/src/html/search.cpp b/src/html/search.cpp deleted file mode 100644 index 85a59a2b2e..0000000000 --- a/src/html/search.cpp +++ /dev/null @@ -1,72 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: search.cpp -// Purpose: search engine -// Author: Vaclav Slavik -// RCS-ID: $Id$ -// Copyright: (c) 1999 Vaclav Slavik -// Licence: wxWindows Licence -///////////////////////////////////////////////////////////////////////////// - - - -#ifdef __GNUG__ -#pragma implementation -#endif - -#include "wx/wxprec.h" - -#include "wx/defs.h" -#if wxUSE_HTML - -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif - -#ifndef WXPRECOMP -#endif - -#include "wx/html/helpdata.h" - - -//-------------------------------------------------------------------------------- -// wxSearchEngine -//-------------------------------------------------------------------------------- - -void wxSearchEngine::LookFor(const wxString& keyword) -{ - if (m_Keyword) delete[] m_Keyword; - m_Keyword = new wxChar[keyword.Length() + 1]; - wxStrcpy(m_Keyword, keyword.c_str()); - for (int i = wxStrlen(m_Keyword) - 1; i >= 0; i--) - if ((m_Keyword[i] >= wxT('A')) && (m_Keyword[i] <= wxT('Z'))) - m_Keyword[i] += wxT('a') - wxT('A'); -} - - - -bool wxSearchEngine::Scan(wxInputStream *stream) -{ - wxASSERT_MSG(m_Keyword != NULL, _("wxSearchEngine::LookFor must be called before scanning!")); - - int i, j; - int lng = stream ->GetSize(); - int wrd = wxStrlen(m_Keyword); - bool found = FALSE; - char *buf = new char[lng + 1]; - stream -> Read(buf, lng); - buf[lng] = 0; - - for (i = 0; i < lng; i++) - if ((buf[i] >= 'A') && (buf[i] <= 'Z')) buf[i] += 'a' - 'A'; - - for (i = 0; i < lng - wrd; i++) { - j = 0; - while ((j < wrd) && (buf[i + j] == m_Keyword[j])) j++; - if (j == wrd) {found = TRUE; break;} - } - - delete[] buf; - return found; -} - -#endif diff --git a/src/mac/corefoundation/gsockosx.cpp b/src/mac/corefoundation/gsockosx.cpp deleted file mode 100644 index 52e9323347..0000000000 --- a/src/mac/corefoundation/gsockosx.cpp +++ /dev/null @@ -1,201 +0,0 @@ -/* ------------------------------------------------------------------------- - * Project: GSocket (Generic Socket) for WX - * Name: gsockosx.c - * Purpose: GSocket: Mac OS X mach-o part - * CVSID: $Id$ - * Mac code by Brian Victor, February 2002. Email comments to bhv1@psu.edu - * ------------------------------------------------------------------------- */ - -#include "wx/setup.h" - -#if wxUSE_SOCKETS - -#include -#include "wx/gsocket.h" -#include "wx/unix/gsockunx.h" - -#include - -#define ALL_CALLBACK_TYPES (kCFSocketReadCallBack | kCFSocketWriteCallBack | kCFSocketConnectCallBack) - -struct MacGSocketData -{ - CFSocketRef socket; - CFRunLoopSourceRef source; -}; - -// Sockets must use the event loop on the main thread -// We will store the main loop's reference when Initialize is called -static CFRunLoopRef s_mainRunLoop = NULL; - -void Mac_Socket_Callback(CFSocketRef s, CFSocketCallBackType callbackType, - CFDataRef address, const void* data, void* info) -{ - GSocket* socket = (GSocket*)info; - struct MacGSocketData* macdata; - macdata = (struct MacGSocketData*)socket->m_gui_dependent; - if (!macdata) return; - switch (callbackType) - { - case kCFSocketConnectCallBack: - assert(!socket->m_server); - socket->Detected_Write(); - break; - case kCFSocketReadCallBack: - socket->Detected_Read(); - break; - case kCFSocketWriteCallBack: - socket->Detected_Write(); - break; - default: - break; /* We shouldn't get here. */ - } -} - -struct MacGSocketData* _GSocket_Get_Mac_Socket(GSocket *socket) -{ - /* If socket is already created, returns a pointer to the data */ - /* Otherwise, creates socket and returns the pointer */ - CFSocketContext cont; - struct MacGSocketData* data = (struct MacGSocketData*)socket->m_gui_dependent; - - if (data && data->source) return data; - - /* CFSocket has not been created, create it: */ - if (socket->m_fd < 0 || !data) return NULL; - cont.version = 0; cont.retain = NULL; - cont.release = NULL; cont.copyDescription = NULL; - cont.info = socket; - - CFSocketRef cf = CFSocketCreateWithNative(NULL, socket->m_fd, - ALL_CALLBACK_TYPES, Mac_Socket_Callback, &cont); - CFRunLoopSourceRef source = CFSocketCreateRunLoopSource(NULL, cf, 0); - assert(source); - socket->m_gui_dependent = (char*)data; - - /* Keep the source and the socket around. */ - data->source = source; - data->socket = cf; - - return data; -} - -bool GSocketGUIFunctionsTableConcrete::CanUseEventLoop() -{ return true; } - -bool GSocketGUIFunctionsTableConcrete::OnInit(void) -{ - // No need to store the main loop again - if (s_mainRunLoop != NULL) - return true; - - // Get the loop for the main thread so our events will actually fire. - // The common socket.cpp code will assert if initialize is called from a - // secondary thread, otherwise Mac would have the same problems as MSW - s_mainRunLoop = CFRunLoopGetCurrent(); - CFRetain(s_mainRunLoop); - - return true; -} - -void GSocketGUIFunctionsTableConcrete::OnExit(void) -{ - // Release the reference count, and set the reference back to NULL - CFRelease(s_mainRunLoop); - s_mainRunLoop = NULL; -} - -bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket *socket) -{ - struct MacGSocketData *data = (struct MacGSocketData *)malloc(sizeof(struct MacGSocketData)); - if (data) - { - socket->m_gui_dependent = (char*)data; - data->socket = NULL; - data->source = NULL; - return 1; - } - return 0; -} - -void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket *socket) -{ - struct MacGSocketData *data = (struct MacGSocketData*)(socket->m_gui_dependent); - if (data) - { - CFRelease(data->socket); - free(data); - } -} - -void GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket *socket, GSocketEvent event) -{ - int c; - struct MacGSocketData* data = _GSocket_Get_Mac_Socket(socket); - if (!data) return; - switch (event) - { - case GSOCK_CONNECTION: - if(socket->m_server) - c = kCFSocketReadCallBack; - else - c = kCFSocketConnectCallBack; - break; - case GSOCK_LOST: - case GSOCK_INPUT: - c = kCFSocketReadCallBack; - break; - case GSOCK_OUTPUT: - c = kCFSocketWriteCallBack; - break; - default: - c = 0; - } - CFSocketEnableCallBacks(data->socket, c); -} - -void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket *socket, GSocketEvent event) -{ - int c; - struct MacGSocketData* data = _GSocket_Get_Mac_Socket(socket); - if (!data) return; - switch (event) - { - case GSOCK_CONNECTION: - if(socket->m_server) - c = kCFSocketReadCallBack; - else - c = kCFSocketConnectCallBack; - break; - case GSOCK_LOST: - case GSOCK_INPUT: - c = kCFSocketReadCallBack; - break; - case GSOCK_OUTPUT: - c = kCFSocketWriteCallBack; - break; - default: - c = 0; - } - CFSocketDisableCallBacks(data->socket, c); -} - -void GSocketGUIFunctionsTableConcrete::Enable_Events(GSocket *socket) -{ - struct MacGSocketData* data = _GSocket_Get_Mac_Socket(socket); - if (!data) return; - - CFRunLoopAddSource(s_mainRunLoop, data->source, kCFRunLoopCommonModes); -} - -void GSocketGUIFunctionsTableConcrete::Disable_Events(GSocket *socket) -{ - struct MacGSocketData* data = _GSocket_Get_Mac_Socket(socket); - if (!data) return; - - /* CFSocketInvalidate does CFRunLoopRemoveSource anyway */ - CFRunLoopRemoveSource(s_mainRunLoop, data->source, kCFRunLoopCommonModes); - CFSocketInvalidate(data->socket); -} - -#endif // wxUSE_SOCKETS diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 5cd1e71bed..49344341f1 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -254,6 +254,15 @@ WXLRESULT wxComboBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara UnpackCtlColor(wParam, lParam, &nCtlColor, &hdc, &hwnd); return (WXLRESULT)OnCtlColor(hdc, hwnd, nCtlColor, nMsg, wParam, lParam); + + case CB_SETCURSEL: + // Selection was set with SetSelection. Update the value too. + if (wParam < 0 || wParam > GetCount()) + m_value = wxEmptyString; + else + m_value = GetString(wParam); + break; + } return wxChoice::MSWWindowProc(nMsg, wParam, lParam); diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 1fc6d08142..df49c91cc6 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -513,9 +513,7 @@ wxString wxListBox::GetString(int N) const // +1 for terminating NUL wxString result; - wxChar* buffer = result.GetWriteBuf(len + 1); - ListBox_GetText(GetHwnd(), N, buffer); - result.UngetWriteBuf(); + ListBox_GetText(GetHwnd(), N, wxStringBuffer(result, len + 1)); return result; } @@ -807,9 +805,8 @@ bool wxListBox::MSWOnDraw(WXDRAWITEMSTRUCT *item) wxListBoxItem *pItem = (wxListBoxItem *)data; wxDCTemp dc((WXHDC)pStruct->hDC); - wxPoint pt1(pStruct->rcItem.left, pStruct->rcItem.top); - wxPoint pt2(pStruct->rcItem.right, pStruct->rcItem.bottom); - wxRect rect(pt1, pt2); + wxRect rect(wxPoint(pStruct->rcItem.left, pStruct->rcItem.top), + wxPoint(pStruct->rcItem.right, pStruct->rcItem.bottom)); return pItem->OnDrawItem(dc, rect, (wxOwnerDrawn::wxODAction)pStruct->itemAction, diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index 13f59406cd..9647ae1217 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -151,6 +151,11 @@ wxRegConfig::wxRegConfig(const wxString& appName, const wxString& vendorName, } } +wxRegConfig::~wxRegConfig() +{ + // nothing to do - key will be closed in their dtors +} + // ---------------------------------------------------------------------------- // path management // ---------------------------------------------------------------------------- diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 08b942a312..e104adeddf 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -1472,16 +1472,6 @@ void wxWindowOS2::DoMoveWindow( RECTL vRect; wxWindow* pParent = GetParent(); - /* Due to OS/2's inverted coordinate system, changing the height - of a window requires repositioning all it's children, e.g. if - you want a child of height 100 to be at the top left corner of - the parent you need to position the lower left corner of the - child at (0, (height of parent - 100)), so, obviously, if the - height of the parent changes, the child needs to be repositioned. */ - int nHeightDelta; - GetSize(0, &nHeightDelta); - nHeightDelta = nHeight - nHeightDelta; - if (pParent && !IsKindOf(CLASSINFO(wxDialog))) { int nOS2Height = GetOS2ParentHeight(pParent); @@ -1630,7 +1620,6 @@ void wxWindowOS2::DoMoveWindow( MoveChildren(nYDiff); ::WinQueryWindowPos(GetHwnd(), &m_vWinSwp); } - MoveChildren(nHeightDelta); } // end of wxWindowOS2::DoMoveWindow // diff --git a/src/png/makefile.nt b/src/png/makefile.nt deleted file mode 100644 index ab823c8fc9..0000000000 --- a/src/png/makefile.nt +++ /dev/null @@ -1,68 +0,0 @@ -# -# File: makefile.nt -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh -# -# "%W% %G%" -# -# Makefile : Builds winpng.lib library for Windows 3.1 - -# Change WXDIR or WXWIN to wherever wxWindows is found -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -WXINC = $(WXDIR)\include - -WINPNGDIR = ..\png -WINPNGINC = $(WINPNGDIR) -WINPNGLIB = ..\..\lib\winpng.lib - -INC = /I..\zlib - -FINAL=1 - -# Set this to nothing if your compiler is MS C++ 7 -ZOPTION= - -!ifndef FINAL -FINAL=0 -!endif - -PRECOMP=/YuWX.H - -!if "$(FINAL)" == "0" -OPT = /Od -CPPFLAGS= /W4 /Zi /MD /GX- $(ZOPTION) $(OPT) /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch -CFLAGS= /W4 /Zi /MD /GX- /Od /Dwx_msw $(INC) -LINKFLAGS=/NOD /CO /ONERROR:NOEXE -!else -# /Ox for real FINAL version -OPT = /O2 -CPPFLAGS= /W4 /MD /GX- /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch -CFLAGS= /W4 /MD /GX- /Dwx_msw $(INC) -LINKFLAGS=/NOD /ONERROR:NOEXE -!endif - -OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \ - pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \ - pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj - -all: $(WINPNGLIB) - -$(WINPNGLIB): $(OBJECTS) - erase $(WINPNGLIB) - lib @<< --out:$(WINPNGLIB) -$(OBJECTS) -<< - -.c.obj: - cl -DWIN32 $(OPT) $(CFLAGS) /c $*.c - -clean: - erase *.obj - erase *.exe - erase *.lib - -cleanall: clean diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 4b983f1cd6..ec10a85950 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -1249,25 +1249,47 @@ double ElapsedTime::Duration(bool reset) { //---------------------------------------------------------------------- #if wxUSE_UNICODE + +#include "UniConversion.h" + +// Convert using Scintilla's functions instead of wx's, Scintilla's are more +// forgiving and won't assert... + wxString stc2wx(const char* str, size_t len) { - // note: we assume that str is of length len not including the terminating null. - if (!len) return wxEmptyString; - else if (str[len-1] == 0) - // It's already terminated correctly. - return wxString(str, wxConvUTF8, len); - char *buffer=new char[len+1]; - strncpy(buffer, str, len); - buffer[len]=0; + size_t wclen = UCS2Length(str, len); + wxWCharBuffer buffer(wclen+1); - wxString cstr(buffer, wxConvUTF8, len); - - delete[] buffer; - return cstr; + size_t actualLen = UCS2FromUTF8(str, len, buffer.data(), wclen+1); + return wxString(buffer.data(), actualLen); } + + + +wxString stc2wx(const char* str) +{ + return stc2wx(str, strlen(str)); +} + + +const wxWX2MBbuf wx2stc(const wxString& str) +{ + const wchar_t* wcstr = str.c_str(); + size_t wclen = str.length(); + size_t len = UTF8Length(wcstr, wclen); + + wxCharBuffer buffer(len+1); + UTF8FromUCS2(wcstr, wclen, buffer.data(), len); + + // TODO check NULL termination!! + + + return buffer; +} + #endif diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index c74907d01f..e48912f1c4 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -463,36 +463,26 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&); // Utility functions used within wxSTC #ifndef SWIG +#if wxUSE_UNICODE + +wxString stc2wx(const char* str); +wxString stc2wx(const char* str, size_t len); +const wxWX2MBbuf wx2stc(const wxString& str); + +#else // not UNICODE inline wxString stc2wx(const char* str) { -#if wxUSE_UNICODE - return wxString(str, wxConvUTF8); -#else return wxString(str); -#endif } - -#if wxUSE_UNICODE -wxString stc2wx(const char* str, size_t len); -#else inline wxString stc2wx(const char* str, size_t len) { return wxString(str, len); } -#endif - - -#if wxUSE_UNICODE -inline const wxWX2MBbuf wx2stc(const wxString& str) { - return str.mb_str(wxConvUTF8); -} -#else inline const wxWX2MBbuf wx2stc(const wxString& str) { return str.mbc_str(); } -#endif - -#endif +#endif // UNICODE +#endif // SWIG //---------------------------------------------------------------------- #endif diff --git a/src/unix/net.cpp b/src/unix/net.cpp deleted file mode 100644 index 8fff0bfdd1..0000000000 --- a/src/unix/net.cpp +++ /dev/null @@ -1,422 +0,0 @@ -// -*- c++ -*- /////////////////////////////////////////////////////////////// -// Name: unix/net.cpp -// Purpose: Network related wxWindows classes and functions -// Author: Karsten Ballüder -// Modified by: -// Created: 03.10.99 -// RCS-ID: $Id$ -// Copyright: (c) Karsten Ballüder -// Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// - -#include "wx/setup.h" - -#if wxUSE_DIALUP_MANAGER - -#ifndef WX_PRECOMP -# include "wx/defs.h" -#endif // !PCH - -#include "wx/string.h" -#include "wx/event.h" -#include "wx/net.h" -#include "wx/timer.h" -#include "wx/filefn.h" -#include "wx/utils.h" -#include "wx/log.h" -#include "wx/file.h" - -#include -#include -#include -#include -#define __STRICT_ANSI__ -#include -#include -#include -#include -#include -#include - -// ---------------------------------------------------------------------------- -// A class which groups functions dealing with connecting to the network from a -// workstation using dial-up access to the net. There is at most one instance -// of this class in the program accessed via GetDialUpManager(). -// ---------------------------------------------------------------------------- - -/* TODO - * - * 1. more configurability for Unix: i.e. how to initiate the connection, how - * to check for online status, &c. - * 2. add a "long Dial(long connectionId = -1)" function which asks the user - * about which connection to dial (this may be done using native dialogs - * under NT, need generic dialogs for all others) and returns the identifier - * of the selected connection (it's opaque to the application) - it may be - * reused later to dial the same connection later (or use strings instead of - * longs may be?) - * 3. add an async version of dialing functions which notify the caller about - * the progress (or may be even start another thread to monitor it) - * 4. the static creation/accessor functions are not MT-safe - but is this - * really crucial? I think we may suppose they're always called from the - * main thread? - */ - -class WXDLLEXPORT wxDialUpManagerImpl : public wxDialUpManager -{ -public: - wxDialUpManagerImpl() - { - m_IsOnline = -1; // unknown - m_timer = NULL; - m_CanUseIfconfig = -1; // unknown - m_BeaconHost = WXDIALUP_MANAGER_DEFAULT_BEACONHOST; - m_BeaconPort = 80; - } - - /** Could the dialup manager be initialized correctly? If this function - returns FALSE, no other functions will work neither, so it's a good idea - to call this function and check its result before calling any other - wxDialUpManager methods. - */ - virtual bool IsOk() const - { return TRUE; } - - /** The simplest way to initiate a dial up: this function dials the given - ISP (exact meaning of the parameter depends on the platform), returns - TRUE on success or FALSE on failure and logs the appropriate error - message in the latter case. - @param nameOfISP optional paramater for dial program - @param username unused - @param password unused - */ - virtual bool Dial(const wxString& nameOfISP, - const wxString& WXUNUSED(username), - const wxString& WXUNUSED(password)); - - /// Hang up the currently active dial up connection. - virtual bool HangUp(); - - // returns TRUE if the computer is connected to the network: under Windows, - // this just means that a RAS connection exists, under Unix we check that - // the "well-known host" (as specified by SetWellKnownHost) is reachable - virtual bool IsOnline() const - { - if( (! m_timer) // we are not polling, so test now: - || m_IsOnline == -1 - ) - CheckStatus(); - return m_IsOnline != 0; - } - - // sometimes the built-in logic for determining the online status may fail, - // so, in general, the user should be allowed to override it. This function - // allows to forcefully set the online status - whatever our internal - // algorithm may think about it. - virtual void SetOnlineStatus(bool isOnline = TRUE) - { m_IsOnline = isOnline; } - - // set misc wxDialUpManager options - // -------------------------------- - - // enable automatical checks for the connection status and sending of - // wxEVT_DIALUP_CONNECTED/wxEVT_DIALUP_DISCONNECTED events. The interval - // parameter is only for Unix where we do the check manually: under - // Windows, the notification about the change of connection status is - // instantenous. - // - // Returns FALSE if couldn't set up automatic check for online status. - virtual bool EnableAutoCheckOnlineStatus(size_t nSeconds); - - // disable automatic check for connection status change - notice that the - // wxEVT_DIALUP_XXX events won't be sent any more neither. - virtual void DisableAutoCheckOnlineStatus(); - - // under Unix, the value of well-known host is used to check whether we're - // connected to the internet. It's unused under Windows, but this function - // is always safe to call. The default value is www.yahoo.com. - virtual void SetWellKnownHost(const wxString& hostname, - int portno = 80); - /** Sets the commands to start up the network and to hang up - again. Used by the Unix implementations only. - */ - virtual void SetConnectCommand(const wxString &command, const wxString &hupcmd) - { m_ConnectCommand = command; m_HangUpCommand = hupcmd; } - -private: - /// -1: don´t know, 0 = no, 1 = yes - int m_IsOnline; - - /// Can we use ifconfig to list active devices? - int m_CanUseIfconfig; - /// The path to ifconfig - wxString m_IfconfigPath; - - /// beacon host: - wxString m_BeaconHost; - /// beacon host portnumber for connect: - int m_BeaconPort; - - /// command to connect to network - wxString m_ConnectCommand; - /// command to hang up - wxString m_HangUpCommand; - /// name of ISP - wxString m_ISPname; - /// a timer for regular testing - class AutoCheckTimer *m_timer; - - friend class AutoCheckTimer; - /// determine status - void CheckStatus(void) const; - - /// real status check - void CheckStatusInternal(void); -}; - - -class AutoCheckTimer : public wxTimer -{ -public: - AutoCheckTimer(wxDialUpManagerImpl *dupman) - { - m_dupman = dupman; - m_started = FALSE; - } - - virtual bool Start( int millisecs = -1 ) - { m_started = TRUE; return wxTimer::Start(millisecs, FALSE); } - - virtual void Notify() - { wxLogTrace("Checking dial up network status."); m_dupman->CheckStatus(); } - - virtual void Stop() - { if ( m_started ) wxTimer::Stop(); } -public: - bool m_started; - wxDialUpManagerImpl *m_dupman; -}; - -bool -wxDialUpManagerImpl::Dial(const wxString &isp, - const wxString & WXUNUSED(username), - const wxString & WXUNUSED(password)) -{ - if(m_IsOnline == 1) - return FALSE; - m_IsOnline = -1; - m_ISPname = isp; - wxString cmd; - if(m_ConnectCommand.Find("%s")) - cmd.Printf(m_ConnectCommand,m_ISPname.c_str()); - else - cmd = m_ConnectCommand; - return wxExecute(cmd, /* sync */ TRUE) == 0; -} - -bool -wxDialUpManagerImpl::HangUp(void) -{ - if(m_IsOnline == 0) - return FALSE; - m_IsOnline = -1; - wxString cmd; - if(m_HangUpCommand.Find("%s")) - cmd.Printf(m_HangUpCommand,m_ISPname.c_str()); - else - cmd = m_HangUpCommand; - return wxExecute(cmd, /* sync */ TRUE) == 0; -} - - -bool -wxDialUpManagerImpl::EnableAutoCheckOnlineStatus(size_t nSeconds) -{ - wxASSERT(m_timer == NULL); - m_timer = new AutoCheckTimer(this); - bool rc = m_timer->Start(nSeconds*1000); - if(! rc) - { - delete m_timer; - m_timer = NULL; - } - return rc; -} - -void -wxDialUpManagerImpl::DisableAutoCheckOnlineStatus() -{ - wxASSERT(m_timer != NULL); - m_timer->Stop(); - delete m_timer; - m_timer = NULL; -} - - -void -wxDialUpManagerImpl::SetWellKnownHost(const wxString& hostname, int portno) -{ - /// does hostname contain a port number? - wxString port = hostname.After(':'); - if(port.Length()) - { - m_BeaconHost = hostname.Before(':'); - m_BeaconPort = atoi(port); - } - else - { - m_BeaconHost = hostname; - m_BeaconPort = portno; - } -} - - -void -wxDialUpManagerImpl::CheckStatus(void) const -{ - // This function calls the CheckStatusInternal() helper function - // which is OS - specific and then sends the events. - - int oldIsOnline = m_IsOnline; - ( /* non-const */ (wxDialUpManagerImpl *)this)->CheckStatusInternal(); - - // now send the events as appropriate: - if(m_IsOnline != oldIsOnline) - { - if(m_IsOnline) - ; // send ev - else - ; // send ev - } -} - -/* - We have three methods that we can use: - - 1. test via /sbin/ifconfig and grep for "sl", "ppp", "pl" - --> should be fast enough for regular polling - 2. test if we can reach the well known beacon host - --> too slow for polling - 3. check /proc/net/dev on linux?? - This method should be preferred, if possible. Need to do more - testing. - -*/ - -void -wxDialUpManagerImpl::CheckStatusInternal(void) -{ - m_IsOnline = -1; - - // First time check for ifconfig location. We only use the variant - // which does not take arguments, a la GNU. - if(m_CanUseIfconfig == -1) // unknown - { - if(wxFileExists("/sbin/ifconfig")) - m_IfconfigPath = "/sbin/ifconfig"; - else if(wxFileExists("/usr/sbin/ifconfig")) - m_IfconfigPath = "/usr/sbin/ifconfig"; - } - - wxLogNull ln; // suppress all error messages - // Let´s try the ifconfig method first, should be fastest: - if(m_CanUseIfconfig != 0) // unknown or yes - { - wxASSERT(m_IfconfigPath.length()); - - wxString tmpfile = wxGetTempFileName("_wxdialuptest"); - wxString cmd = "/bin/sh -c \'"; - cmd << m_IfconfigPath << " >" << tmpfile << '\''; - /* I tried to add an option to wxExecute() to not close stdout, - so we could let ifconfig write directly to the tmpfile, but - this does not work. That should be faster, as it doesn´t call - the shell first. I have no idea why. :-( (KB) */ -#if 0 - // temporarily redirect stdout/stderr: - int - new_stdout = dup(STDOUT_FILENO), - new_stderr = dup(STDERR_FILENO); - close(STDOUT_FILENO); - close(STDERR_FILENO); - - int - // new stdout: - output_fd = open(tmpfile, O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR), - // new stderr: - null_fd = open("/dev/null", O_CREAT, S_IRUSR|S_IWUSR); - // verify well behaved unix behaviour: - wxASSERT(output_fd == STDOUT_FILENO); - wxASSERT(null_fd == STDERR_FILENO); - int rc = wxExecute(m_IfconfigPath,TRUE /* sync */,NULL ,wxEXECUTE_DONT_CLOSE_FDS); - close(null_fd); close(output_fd); - // restore old stdout, stderr: - int test; - test = dup(new_stdout); close(new_stdout); wxASSERT(test == STDOUT_FILENO); - test = dup(new_stderr); close(new_stderr); wxASSERT(test == STDERR_FILENO); - if(rc == 0) -#endif - if(wxExecute(cmd,TRUE /* sync */) == 0) - { - m_CanUseIfconfig = 1; - wxFile file; - if( file.Open(tmpfile) ) - { - char *output = new char [file.Length()+1]; - output[file.Length()] = '\0'; - if(file.Read(output,file.Length()) == file.Length()) - { - if(strstr(output,"ppp") // ppp - || strstr(output,"sl") // slip - || strstr(output,"pl") // plip - ) - m_IsOnline = 1; - else - m_IsOnline = 0; - } - file.Close(); - delete [] output; - } - // else m_IsOnline remains -1 as we don't know for sure - } - else // could not run ifconfig correctly - m_CanUseIfconfig = 0; // don´t try again - (void) wxRemoveFile(tmpfile); - if(m_IsOnline != -1) // we are done - return; - } - - // second method: try to connect to well known host: - // This can be used under Win 9x, too! - struct hostent *hp; - struct sockaddr_in serv_addr; - int sockfd; - - m_IsOnline = 0; // assume false - if((hp = gethostbyname(m_BeaconHost)) == NULL) - return; // no DNS no net - - serv_addr.sin_family = hp->h_addrtype; - memcpy(&serv_addr.sin_addr,hp->h_addr, hp->h_length); - serv_addr.sin_port = htons(m_BeaconPort); - if( ( sockfd = socket(hp->h_addrtype, SOCK_STREAM, 0)) < 0) - { - // sys_error("cannot create socket for gw"); - return; - } - if( connect(sockfd, (struct sockaddr *) &serv_addr, sizeof(serv_addr)) < 0) - { - //sys_error("cannot connect to server"); - return; - } - //connected! - close(sockfd); -} - - -/* static */ -wxDialUpManager * -wxDialUpManager::wxDialUpManager::Create(void) -{ - return new wxDialUpManagerImpl; -} - -#endif // wxUSE_DIALUP_MANAGER diff --git a/src/xml/xml.cpp b/src/xml/xml.cpp index f55ad6f7a1..80c76829fc 100644 --- a/src/xml/xml.cpp +++ b/src/xml/xml.cpp @@ -482,8 +482,7 @@ static int UnknownEncodingHnd(void * WXUNUSED(encodingHandlerData), // We must build conversion table for expat. The easiest way to do so // is to let wxCSConv convert as string containing all characters to // wide character representation: - wxString str(name, wxConvLibc); - wxCSConv conv(str); + wxCSConv conv(wxString(name, wxConvLibc)); char mbBuf[2]; wchar_t wcBuf[10]; size_t i; @@ -500,7 +499,7 @@ static int UnknownEncodingHnd(void * WXUNUSED(encodingHandlerData), } info->map[i+1] = (int)wcBuf[0]; } - + info->data = NULL; info->convert = NULL; info->release = NULL; diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index c4346c0116..b27fbc79f1 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -181,13 +181,11 @@ void StringTestCase::ConstructorsWithConversion() void StringTestCase::Conversion() { #if wxUSE_UNICODE - wxString szTheString(L"The\0String", wxConvLibc, 10); + wxString szTheString(wxT("TheString")); + szTheString.insert(3, 1, '\0'); wxCharBuffer theBuffer = szTheString.mb_str(); CPPUNIT_ASSERT( memcmp(theBuffer.data(), "The\0String", 11) == 0 ); - - wxString szTheString2("The\0String", wxConvLocal, 10); - CPPUNIT_ASSERT( wxMemcmp(szTheString2.c_str(), L"The\0String", 11) == 0 ); #else # if wxUSE_WCHAR_T wxString szTheString(wxT("TheString")); diff --git a/utils/HelpGen/helpgen.dsp b/utils/HelpGen/helpgen.dsp deleted file mode 100644 index 30abedd5e4..0000000000 --- a/utils/HelpGen/helpgen.dsp +++ /dev/null @@ -1,471 +0,0 @@ -# Microsoft Developer Studio Project File - Name="HelpGen" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=HelpGen - Win32 DLL Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "helpgen.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "helpgen.mak" CFG="HelpGen - Win32 DLL Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "HelpGen - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 Unicode Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 Unicode Release" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 Universal Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 Universal Release" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 Universal Unicode Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 Universal Unicode Release" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Release" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Unicode Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Unicode Release" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Universal Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Universal Release" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "HelpGen - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "HelpGen - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswd" -# PROP BASE Intermediate_Dir "vc_mswd\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswd" -# PROP Intermediate_Dir "vc_mswd\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswd\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswd\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswd" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswd" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswd\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswd\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_msw" -# PROP BASE Intermediate_Dir "vc_msw\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_msw" -# PROP Intermediate_Dir "vc_msw\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_msw\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_msw\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\msw" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\msw" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_msw\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_msw\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswud" -# PROP Intermediate_Dir "vc_mswud\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswud\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswud\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswud" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswud" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswud\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswud\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswu" -# PROP Intermediate_Dir "vc_mswu\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswu\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswu\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswu" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswu" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswu\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswu\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivd" -# PROP BASE Intermediate_Dir "vc_mswunivd\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivd" -# PROP Intermediate_Dir "vc_mswunivd\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivd\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivd\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswunivd" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswunivd" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivd\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivd\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswuniv" -# PROP BASE Intermediate_Dir "vc_mswuniv\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswuniv" -# PROP Intermediate_Dir "vc_mswuniv\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswuniv\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswuniv\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswuniv" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswuniv" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswuniv\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswuniv\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivud\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivud\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswunivud" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswunivud" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivud\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivud\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivu\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivu\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_lib\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswunivu" /i "." /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_lib\mswunivu" /i "." /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivu\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console -# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivu\HelpGen.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswddll" -# PROP BASE Intermediate_Dir "vc_mswddll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswddll" -# PROP Intermediate_Dir "vc_mswddll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswd" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswd" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswdll" -# PROP BASE Intermediate_Dir "vc_mswdll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswdll" -# PROP Intermediate_Dir "vc_mswdll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswdll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswdll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\msw" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\msw" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswdll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswdll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswuddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswuddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswud" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswud" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswuddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswuddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswudll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswudll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswu" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswu" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswudll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswudll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivddll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivddll" -# PROP Intermediate_Dir "vc_mswunivddll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswunivd" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswunivd" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswunivdll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswunivdll" -# PROP Intermediate_Dir "vc_mswunivdll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivdll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivdll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswuniv" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswuniv" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivdll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivdll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\HelpGen.pdb /Od /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswunivud" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswunivud" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\HelpGen.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ELSEIF "$(CFG)" == "HelpGen - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\HelpGen" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\HelpGen" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivudll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivudll\HelpGen.pdb /O1 /I ".\..\..\include" /I ".\..\..\lib\vc_dll\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c -# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswunivu" /i "." /d "WXUSINGDLL" /d _CONSOLE -# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\include" /i ".\..\..\lib\vc_dll\mswunivu" /i "." /d "WXUSINGDLL" /d _CONSOLE -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivudll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console -# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivudll\HelpGen.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:console - -!ENDIF - -# Begin Target - -# Name "HelpGen - Win32 Debug" -# Name "HelpGen - Win32 Release" -# Name "HelpGen - Win32 Unicode Debug" -# Name "HelpGen - Win32 Unicode Release" -# Name "HelpGen - Win32 Universal Debug" -# Name "HelpGen - Win32 Universal Release" -# Name "HelpGen - Win32 Universal Unicode Debug" -# Name "HelpGen - Win32 Universal Unicode Release" -# Name "HelpGen - Win32 DLL Debug" -# Name "HelpGen - Win32 DLL Release" -# Name "HelpGen - Win32 DLL Unicode Debug" -# Name "HelpGen - Win32 DLL Unicode Release" -# Name "HelpGen - Win32 DLL Universal Debug" -# Name "HelpGen - Win32 DLL Universal Release" -# Name "HelpGen - Win32 DLL Universal Unicode Debug" -# Name "HelpGen - Win32 DLL Universal Unicode Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\src\HelpGen.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\cjparser.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\docripper.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\ifcontext.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\markup.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\scriptbinder.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\sourcepainter.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\srcparser.cpp -# End Source File -# End Group -# End Target -# End Project - diff --git a/utils/HelpGen/makefile.bcc b/utils/HelpGen/makefile.bcc deleted file mode 100644 index 3f62df1ccc..0000000000 --- a/utils/HelpGen/makefile.bcc +++ /dev/null @@ -1,181 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.1.1 (http://bakefile.sourceforge.net) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -!ifndef BCCDIR -BCCDIR = $(MAKEDIR)\.. -!endif - -!include ../../build/msw/config.bcc - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -!if "$(BCCDIR)" == "\.." -!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 -!endif - -### Variables: ### - -HELPGEN_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include \ - $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ - $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) \ - -I. $(__DLLFLAG_p) $(CXXFLAGS) -HELPGEN_OBJECTS = \ - $(OBJS)\HelpGen_HelpGen.obj \ - $(OBJS)\HelpGen_cjparser.obj \ - $(OBJS)\HelpGen_docripper.obj \ - $(OBJS)\HelpGen_ifcontext.obj \ - $(OBJS)\HelpGen_markup.obj \ - $(OBJS)\HelpGen_scriptbinder.obj \ - $(OBJS)\HelpGen_sourcepainter.obj \ - $(OBJS)\HelpGen_srcparser.obj -OBJS = \ - bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -SETUPHDIR = \ - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) - -### Conditionally set variables: ### - -!if "$(SHARED)" == "0" -LIBDIRNAME = .\..\..\lib\bcc_lib$(CFG) -!endif -!if "$(SHARED)" == "1" -LIBDIRNAME = .\..\..\lib\bcc_dll$(CFG) -!endif -!if "$(USE_GUI)" == "0" -PORTNAME = base -!endif -!if "$(USE_GUI)" == "1" -PORTNAME = msw -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -WXDEBUGFLAG = d -!endif -!if "$(DEBUG_FLAG)" == "1" -WXDEBUGFLAG = d -!endif -!if "$(SHARED)" == "1" -WXDLLFLAG = dll -!endif -!if "$(UNICODE)" == "1" -WXUNICODEFLAG = u -!endif -!if "$(WXUNIV)" == "1" -WXUNIVNAME = univ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO = -v -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO = -v- -!endif -!if "$(DEBUG_INFO)" == "0" -__DEBUGINFO = -v- -!endif -!if "$(DEBUG_INFO)" == "1" -__DEBUGINFO = -v -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p = -D__WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p = -D__WXDEBUG__ -!endif -!if "$(SHARED)" == "1" -__DLLFLAG_p = -DWXUSINGDLL -!endif -!if "$(USE_GUI)" == "1" -__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib -!endif -!if "$(BUILD)" == "debug" -__OPTIMIZEFLAG_2 = -Od -!endif -!if "$(BUILD)" == "release" -__OPTIMIZEFLAG_2 = -O2 -!endif -!if "$(RUNTIME_LIBS)" == "dynamic" -__RUNTIME_LIBS_6 = -tWR -!endif -!if "$(RUNTIME_LIBS)" == "static" -__RUNTIME_LIBS_6 = -!endif -!if "$(RUNTIME_LIBS)" == "dynamic" -__RUNTIME_LIBS_7 = i -!endif -!if "$(RUNTIME_LIBS)" == "static" -__RUNTIME_LIBS_7 = -!endif -!if "$(UNICODE)" == "1" -__UNICODE_DEFINE_p = -D_UNICODE -!endif -!if "$(MSLU)" == "1" -__UNICOWS_LIB_p = unicows.lib -!endif -!if "$(MONOLITHIC)" == "0" -__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib -!endif -!if "$(MONOLITHIC)" == "1" -__WXLIB_MONO_p = \ - wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib -!endif -!if "$(WXUNIV)" == "1" -__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ -!endif - - -all: $(OBJS) -$(OBJS): - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all: $(OBJS)\HelpGen.exe - -$(OBJS)\HelpGen_HelpGen.obj: .\src\HelpGen.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_cjparser.obj: .\src\cjparser.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_docripper.obj: .\src\docripper.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_ifcontext.obj: .\src\ifcontext.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_markup.obj: .\src\markup.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_scriptbinder.obj: .\src\scriptbinder.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_sourcepainter.obj: .\src\sourcepainter.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_srcparser.obj: .\src\srcparser.cpp - $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS) - ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&| - c0x32.obj $(HELPGEN_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) import32.lib ole2w32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, -| - -clean: - -if exist $(OBJS)\*.obj del $(OBJS)\*.obj - -if exist $(OBJS)\*.res del $(OBJS)\*.res - -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe - -if exist $(OBJS)\HelpGen.tds del $(OBJS)\HelpGen.tds - -if exist $(OBJS)\HelpGen.ilc del $(OBJS)\HelpGen.ilc - -if exist $(OBJS)\HelpGen.ild del $(OBJS)\HelpGen.ild - -if exist $(OBJS)\HelpGen.ilf del $(OBJS)\HelpGen.ilf - -if exist $(OBJS)\HelpGen.ils del $(OBJS)\HelpGen.ils diff --git a/utils/HelpGen/makefile.gcc b/utils/HelpGen/makefile.gcc deleted file mode 100644 index 24bdecd4cf..0000000000 --- a/utils/HelpGen/makefile.gcc +++ /dev/null @@ -1,166 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.1.1 (http://bakefile.sourceforge.net) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -include ../../build/msw/config.gcc - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -HELPGEN_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \ - -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ - $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -Wall -I. \ - $(__DLLFLAG_p) $(CXXFLAGS) -HELPGEN_OBJECTS = \ - $(OBJS)\HelpGen_HelpGen.o \ - $(OBJS)\HelpGen_cjparser.o \ - $(OBJS)\HelpGen_docripper.o \ - $(OBJS)\HelpGen_ifcontext.o \ - $(OBJS)\HelpGen_markup.o \ - $(OBJS)\HelpGen_scriptbinder.o \ - $(OBJS)\HelpGen_sourcepainter.o \ - $(OBJS)\HelpGen_srcparser.o -OBJS = \ - gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -SETUPHDIR = \ - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) - -### Conditionally set variables: ### - -ifeq ($(GCC_VERSION),2.95) -GCCFLAGS = -fvtable-thunks -endif -ifeq ($(SHARED),0) -LIBDIRNAME = .\..\..\lib\gcc_lib$(CFG) -endif -ifeq ($(SHARED),1) -LIBDIRNAME = .\..\..\lib\gcc_dll$(CFG) -endif -ifeq ($(USE_GUI),0) -PORTNAME = base -endif -ifeq ($(USE_GUI),1) -PORTNAME = msw -endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_FLAG),default) -WXDEBUGFLAG = d -endif -endif -ifeq ($(DEBUG_FLAG),1) -WXDEBUGFLAG = d -endif -ifeq ($(SHARED),1) -WXDLLFLAG = dll -endif -ifeq ($(UNICODE),1) -WXUNICODEFLAG = u -endif -ifeq ($(WXUNIV),1) -WXUNIVNAME = univ -endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_INFO),default) -__DEBUGINFO = -g -endif -endif -ifeq ($(BUILD),release) -ifeq ($(DEBUG_INFO),default) -__DEBUGINFO = -endif -endif -ifeq ($(DEBUG_INFO),0) -__DEBUGINFO = -endif -ifeq ($(DEBUG_INFO),1) -__DEBUGINFO = -g -endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_FLAG),default) -__DEBUG_DEFINE_p = -D__WXDEBUG__ -endif -endif -ifeq ($(DEBUG_FLAG),1) -__DEBUG_DEFINE_p = -D__WXDEBUG__ -endif -ifeq ($(SHARED),1) -__DLLFLAG_p = -DWXUSINGDLL -endif -ifeq ($(USE_GUI),1) -__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) -endif -ifeq ($(USE_GUI),1) -__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) -endif -ifeq ($(USE_GUI),1) -__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) -endif -ifeq ($(BUILD),debug) -__OPTIMIZEFLAG_2 = -O0 -endif -ifeq ($(BUILD),release) -__OPTIMIZEFLAG_2 = -O2 -endif -ifeq ($(UNICODE),1) -__UNICODE_DEFINE_p = -D_UNICODE -endif -ifeq ($(MSLU),1) -__UNICOWS_LIB_p = -lunicows -endif -ifeq ($(MONOLITHIC),0) -__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG) -endif -ifeq ($(MONOLITHIC),1) -__WXLIB_MONO_p = \ - -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG) -endif -ifeq ($(WXUNIV),1) -__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ -endif - - -all: $(OBJS) -$(OBJS): - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all: $(OBJS)\HelpGen.exe - -$(OBJS)\HelpGen_HelpGen.o: ./src/HelpGen.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_cjparser.o: ./src/cjparser.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_docripper.o: ./src/docripper.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_ifcontext.o: ./src/ifcontext.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_markup.o: ./src/markup.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_scriptbinder.o: ./src/scriptbinder.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_sourcepainter.o: ./src/sourcepainter.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_srcparser.o: ./src/srcparser.cpp - $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS) - $(CXX) -o $@ $(HELPGEN_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 - -clean: - -if exist $(OBJS)\*.o del $(OBJS)\*.o - -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe - -.PHONY: all clean diff --git a/utils/HelpGen/makefile.vc b/utils/HelpGen/makefile.vc deleted file mode 100644 index 5f801f0621..0000000000 --- a/utils/HelpGen/makefile.vc +++ /dev/null @@ -1,219 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.1.1 (http://bakefile.sourceforge.net) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -!include <../../build/msw/config.vc> - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -HELPGEN_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \ - /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\HelpGen.pdb $(____DEBUGRUNTIME_2_p) \ - $(__OPTIMIZEFLAG_4) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ - $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) \ - /D_CONSOLE $(CXXFLAGS) /GR /GX -HELPGEN_OBJECTS = \ - $(OBJS)\HelpGen_HelpGen.obj \ - $(OBJS)\HelpGen_cjparser.obj \ - $(OBJS)\HelpGen_docripper.obj \ - $(OBJS)\HelpGen_ifcontext.obj \ - $(OBJS)\HelpGen_markup.obj \ - $(OBJS)\HelpGen_scriptbinder.obj \ - $(OBJS)\HelpGen_sourcepainter.obj \ - $(OBJS)\HelpGen_srcparser.obj -OBJS = \ - vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -SETUPHDIR = \ - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) - -### Conditionally set variables: ### - -!if "$(SHARED)" == "0" -LIBDIRNAME = .\..\..\lib\vc_lib$(CFG) -!endif -!if "$(SHARED)" == "1" -LIBDIRNAME = .\..\..\lib\vc_dll$(CFG) -!endif -!if "$(USE_GUI)" == "0" -PORTNAME = base -!endif -!if "$(USE_GUI)" == "1" -PORTNAME = msw -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -WXDEBUGFLAG = d -!endif -!if "$(DEBUG_FLAG)" == "1" -WXDEBUGFLAG = d -!endif -!if "$(SHARED)" == "1" -WXDLLFLAG = dll -!endif -!if "$(UNICODE)" == "1" -WXUNICODEFLAG = u -!endif -!if "$(WXUNIV)" == "1" -WXUNIVNAME = univ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_0 = /Zi -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_0 = -!endif -!if "$(DEBUG_INFO)" == "0" -__DEBUGINFO_0 = -!endif -!if "$(DEBUG_INFO)" == "1" -__DEBUGINFO_0 = /Zi -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_1 = /DEBUG -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_1 = -!endif -!if "$(DEBUG_INFO)" == "0" -__DEBUGINFO_1 = -!endif -!if "$(DEBUG_INFO)" == "1" -__DEBUGINFO_1 = /DEBUG -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_3 = d -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_3 = -!endif -!if "$(DEBUG_INFO)" == "0" -__DEBUGINFO_3 = -!endif -!if "$(DEBUG_INFO)" == "1" -__DEBUGINFO_3 = d -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "0" -__DEBUGRUNTIME_3 = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "1" -__DEBUGRUNTIME_3 = d -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "default" -__DEBUGRUNTIME_3 = $(__DEBUGINFO_3) -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p = /D__WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p = /D__WXDEBUG__ -!endif -!if "$(SHARED)" == "1" -__DLLFLAG_p = /DWXUSINGDLL -!endif -!if "$(USE_GUI)" == "1" -__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib -!endif -!if "$(BUILD)" == "debug" -__OPTIMIZEFLAG_4 = /Od -!endif -!if "$(BUILD)" == "release" -__OPTIMIZEFLAG_4 = /O2 -!endif -!if "$(RUNTIME_LIBS)" == "dynamic" -__RUNTIME_LIBS_7 = D -!endif -!if "$(RUNTIME_LIBS)" == "static" -__RUNTIME_LIBS_7 = T -!endif -!if "$(UNICODE)" == "1" -__UNICODE_DEFINE_p = /D_UNICODE -!endif -!if "$(MSLU)" == "1" -__UNICOWS_LIB_p = unicows.lib -!endif -!if "$(MONOLITHIC)" == "0" -__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib -!endif -!if "$(MONOLITHIC)" == "1" -__WXLIB_MONO_p = \ - wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib -!endif -!if "$(WXUNIV)" == "1" -__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -____DEBUGINFO_2_p = /D_DEBUG -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -____DEBUGINFO_2_p = -!endif -!if "$(DEBUG_INFO)" == "0" -____DEBUGINFO_2_p = -!endif -!if "$(DEBUG_INFO)" == "1" -____DEBUGINFO_2_p = /D_DEBUG -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "0" -____DEBUGRUNTIME_2_p = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "1" -____DEBUGRUNTIME_2_p = /D_DEBUG -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "default" -____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) -!endif - - -all: $(OBJS) -$(OBJS): - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all: $(OBJS)\HelpGen.exe - -$(OBJS)\HelpGen_HelpGen.obj: .\src\HelpGen.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_cjparser.obj: .\src\cjparser.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_docripper.obj: .\src\docripper.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_ifcontext.obj: .\src\ifcontext.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_markup.obj: .\src\markup.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_scriptbinder.obj: .\src\scriptbinder.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_sourcepainter.obj: .\src\sourcepainter.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen_srcparser.obj: .\src\srcparser.cpp - $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** - -$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS) - link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<< - $(HELPGEN_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib -<< - -clean: - -if exist $(OBJS)\*.obj del $(OBJS)\*.obj - -if exist $(OBJS)\*.res del $(OBJS)\*.res - -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe - -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk - -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb diff --git a/utils/HelpGen/makefile.wat b/utils/HelpGen/makefile.wat deleted file mode 100644 index 615dfc93dd..0000000000 --- a/utils/HelpGen/makefile.wat +++ /dev/null @@ -1,225 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.1.1 (http://bakefile.sourceforge.net) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -!include ../../build/msw/config.wat - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -# Speed up compilation a bit: -!ifdef __LOADDLL__ -! loaddll wcc wccd -! loaddll wccaxp wccdaxp -! loaddll wcc386 wccd386 -! loaddll wpp wppdi86 -! loaddll wppaxp wppdaxp -! loaddll wpp386 wppd386 -! loaddll wlink wlink -! loaddll wlib wlibd -!endif - -# We need these variables in some bakefile-made rules: -WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- - -### Conditionally set variables: ### - -LIBDIRNAME = -!ifeq SHARED 0 -LIBDIRNAME = .\..\..\lib\wat_lib$(CFG) -!endif -!ifeq SHARED 1 -LIBDIRNAME = .\..\..\lib\wat_dll$(CFG) -!endif -PORTNAME = -!ifeq USE_GUI 0 -PORTNAME = base -!endif -!ifeq USE_GUI 1 -PORTNAME = msw -!endif -WXDEBUGFLAG = -!ifeq BUILD debug -!ifeq DEBUG_FLAG default -WXDEBUGFLAG = d -!endif -!endif -!ifeq DEBUG_FLAG 1 -WXDEBUGFLAG = d -!endif -WXDLLFLAG = -!ifeq SHARED 1 -WXDLLFLAG = dll -!endif -WXUNICODEFLAG = -!ifeq UNICODE 1 -WXUNICODEFLAG = u -!endif -WXUNIVNAME = -!ifeq WXUNIV 1 -WXUNIVNAME = univ -!endif -__DEBUGINFO_0 = -!ifeq BUILD debug -!ifeq DEBUG_INFO default -__DEBUGINFO_0 = -d2 -!endif -!endif -!ifeq BUILD release -!ifeq DEBUG_INFO default -__DEBUGINFO_0 = -d0 -!endif -!endif -!ifeq DEBUG_INFO 0 -__DEBUGINFO_0 = -d0 -!endif -!ifeq DEBUG_INFO 1 -__DEBUGINFO_0 = -d2 -!endif -__DEBUGINFO_1 = -!ifeq BUILD debug -!ifeq DEBUG_INFO default -__DEBUGINFO_1 = debug all -!endif -!endif -!ifeq BUILD release -!ifeq DEBUG_INFO default -__DEBUGINFO_1 = -!endif -!endif -!ifeq DEBUG_INFO 0 -__DEBUGINFO_1 = -!endif -!ifeq DEBUG_INFO 1 -__DEBUGINFO_1 = debug all -!endif -__DEBUG_DEFINE_p = -!ifeq BUILD debug -!ifeq DEBUG_FLAG default -__DEBUG_DEFINE_p = -d__WXDEBUG__ -!endif -!endif -!ifeq DEBUG_FLAG 1 -__DEBUG_DEFINE_p = -d__WXDEBUG__ -!endif -__DLLFLAG_p = -!ifeq SHARED 1 -__DLLFLAG_p = -dWXUSINGDLL -!endif -__LIB_JPEG_p = -!ifeq USE_GUI 1 -__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib -!endif -__LIB_PNG_p = -!ifeq USE_GUI 1 -__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib -!endif -__LIB_TIFF_p = -!ifeq USE_GUI 1 -__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib -!endif -__OPTIMIZEFLAG_2 = -!ifeq BUILD debug -__OPTIMIZEFLAG_2 = -od -!endif -!ifeq BUILD release -__OPTIMIZEFLAG_2 = -ot -ox -!endif -__RUNTIME_LIBS_5 = -!ifeq RUNTIME_LIBS dynamic -__RUNTIME_LIBS_5 = -br -!endif -!ifeq RUNTIME_LIBS static -__RUNTIME_LIBS_5 = -!endif -__UNICODE_DEFINE_p = -!ifeq UNICODE 1 -__UNICODE_DEFINE_p = -d_UNICODE -!endif -__WXLIB_BASE_p = -!ifeq MONOLITHIC 0 -__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib -!endif -__WXLIB_MONO_p = -!ifeq MONOLITHIC 1 -__WXLIB_MONO_p = & - wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib -!endif -__WXUNIV_DEFINE_p = -!ifeq WXUNIV 1 -__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__ -!endif - -### Variables: ### - -HELPGEN_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) -bm & - $(__RUNTIME_LIBS_5) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & - $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) & - $(CXXFLAGS) -HELPGEN_OBJECTS = & - $(OBJS)\HelpGen_HelpGen.obj & - $(OBJS)\HelpGen_cjparser.obj & - $(OBJS)\HelpGen_docripper.obj & - $(OBJS)\HelpGen_ifcontext.obj & - $(OBJS)\HelpGen_markup.obj & - $(OBJS)\HelpGen_scriptbinder.obj & - $(OBJS)\HelpGen_sourcepainter.obj & - $(OBJS)\HelpGen_srcparser.obj -OBJS = & - wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -SETUPHDIR = & - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) - - -all : $(OBJS) -$(OBJS) : - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all : .SYMBOLIC $(OBJS)\HelpGen.exe - -$(OBJS)\HelpGen_HelpGen.obj : .AUTODEPEND .\src\HelpGen.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_cjparser.obj : .AUTODEPEND .\src\cjparser.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_docripper.obj : .AUTODEPEND .\src\docripper.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_ifcontext.obj : .AUTODEPEND .\src\ifcontext.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_markup.obj : .AUTODEPEND .\src\markup.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_scriptbinder.obj : .AUTODEPEND .\src\scriptbinder.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_sourcepainter.obj : .AUTODEPEND .\src\sourcepainter.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen_srcparser.obj : .AUTODEPEND .\src\srcparser.cpp - $(CXX) -zq -fo=$^@ $(HELPGEN_CXXFLAGS) $< - -$(OBJS)\HelpGen.exe : $(HELPGEN_OBJECTS) - @%create $(OBJS)\HelpGen.lbc - @%append $(OBJS)\HelpGen.lbc option quiet - @%append $(OBJS)\HelpGen.lbc name $^@ - @%append $(OBJS)\HelpGen.lbc option caseexact - @%append $(OBJS)\HelpGen.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_' - @for %i in ($(HELPGEN_OBJECTS)) do @%append $(OBJS)\HelpGen.lbc file %i - @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\HelpGen.lbc library %i - @%append $(OBJS)\HelpGen.lbc - wlink @$(OBJS)\HelpGen.lbc - -clean : .SYMBOLIC - -if exist $(OBJS)\*.obj del $(OBJS)\*.obj - -if exist $(OBJS)\*.res del $(OBJS)\*.res - -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc - -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk - -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe diff --git a/utils/wxprop/src/prop.cpp b/utils/wxprop/src/prop.cpp deleted file mode 100644 index 59802962de..0000000000 --- a/utils/wxprop/src/prop.cpp +++ /dev/null @@ -1,1119 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: prop.cpp -// Purpose: Propert sheet classes implementation -// Author: Julian Smart -// Modified by: -// Created: 04/01/98 -// RCS-ID: $Id$ -// Copyright: (c) Julian Smart -// Licence: wxWindows license -///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "prop.h" -#endif - -// For compilers that support precompilation, includes "wx/wx.h". -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#ifndef WX_PRECOMP -#include "wx/wx.h" -#endif - -#include -#include -#include -#include - -#if wxUSE_IOSTREAMH -#if defined(__WXMSW__) && !defined(__GNUWIN32__) -#include -#else -#include -#endif -#else -#include -#endif - -#include "wx/window.h" -#include "wx/utils.h" -#include "wx/list.h" -#include "prop.h" - -IMPLEMENT_DYNAMIC_CLASS(wxPropertyValue, wxObject) - -wxPropertyValue::wxPropertyValue(void) -{ - m_type = wxPropertyValueNull; - m_next = NULL; - m_last = NULL; - m_value.first = NULL; - m_clientData = NULL; - m_modifiedFlag = FALSE; -} - -wxPropertyValue::wxPropertyValue(const wxPropertyValue& copyFrom) -{ - m_modifiedFlag = FALSE; - Copy((wxPropertyValue& )copyFrom); -} - -wxPropertyValue::wxPropertyValue(const char *val) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueString; - - m_value.string = copystring(val); - m_clientData = NULL; - m_next = NULL; - m_last = NULL; -} - -wxPropertyValue::wxPropertyValue(const wxString& val) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueString; - - m_value.string = copystring((const char *)val); - m_clientData = NULL; - m_next = NULL; - m_last = NULL; -} - -wxPropertyValue::wxPropertyValue(long the_integer) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueInteger; - m_value.integer = the_integer; - m_clientData = NULL; - m_next = NULL; -} - -wxPropertyValue::wxPropertyValue(bool val) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValuebool; - m_value.integer = val; - m_clientData = NULL; - m_next = NULL; -} - -wxPropertyValue::wxPropertyValue(float the_real) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueReal; - m_value.real = the_real; - m_clientData = NULL; - m_next = NULL; -} - -wxPropertyValue::wxPropertyValue(double the_real) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueReal; - m_value.real = (float)the_real; - m_clientData = NULL; - m_next = NULL; -} - -// Pointer versions: we have a pointer to the real C++ value. -wxPropertyValue::wxPropertyValue(char **val) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueStringPtr; - - m_value.stringPtr = val; - m_clientData = NULL; - m_next = NULL; - m_last = NULL; -} - -wxPropertyValue::wxPropertyValue(long *val) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueIntegerPtr; - m_value.integerPtr = val; - m_clientData = NULL; - m_next = NULL; -} - -wxPropertyValue::wxPropertyValue(bool *val) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueboolPtr; - m_value.boolPtr = val; - m_clientData = NULL; - m_next = NULL; -} - -wxPropertyValue::wxPropertyValue(float *val) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueRealPtr; - m_value.realPtr = val; - m_clientData = NULL; - m_next = NULL; -} - -wxPropertyValue::wxPropertyValue(wxList *the_list) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueList; - m_clientData = NULL; - m_last = NULL; - m_value.first = NULL; - - wxNode *node = the_list->First(); - while (node) - { - wxPropertyValue *expr = (wxPropertyValue *)node->Data(); - Append(expr); - node = node->Next(); - } - - delete the_list; -} - -wxPropertyValue::wxPropertyValue(wxStringList *the_list) -{ - m_modifiedFlag = FALSE; - m_type = wxPropertyValueList; - m_clientData = NULL; - m_last = NULL; - m_value.first = NULL; - - wxNode *node = the_list->First(); - while (node) - { - char *s = (char *)node->Data(); - Append(new wxPropertyValue(s)); - node = node->Next(); - } - delete the_list; -} - -wxPropertyValue::~wxPropertyValue(void) -{ - switch (m_type) - { - case wxPropertyValueInteger: - case wxPropertyValuebool: - case wxPropertyValueReal: - { - break; - } - case wxPropertyValueString: - { - delete[] m_value.string; - break; - } - case wxPropertyValueList: - { - wxPropertyValue *expr = m_value.first; - while (expr) - { - wxPropertyValue *expr1 = expr->m_next; - - delete expr; - expr = expr1; - } - break; - } - default: - case wxPropertyValueNull: break; - } -} - -void wxPropertyValue::Append(wxPropertyValue *expr) -{ - m_modifiedFlag = TRUE; - if (!m_value.first) - m_value.first = expr; - - if (m_last) - m_last->m_next = expr; - m_last = expr; -} - -void wxPropertyValue::Insert(wxPropertyValue *expr) -{ - m_modifiedFlag = TRUE; - expr->m_next = m_value.first; - m_value.first = expr; - - if (!m_last) - m_last = expr; -} - -// Delete from list -void wxPropertyValue::Delete(wxPropertyValue *node) -{ - wxPropertyValue *expr = GetFirst(); - - wxPropertyValue *previous = NULL; - while (expr && (expr != node)) - { - previous = expr; - expr = expr->GetNext(); - } - - if (expr) - { - if (previous) - previous->m_next = expr->m_next; - - // If node was the first in the list, - // make the list point to the NEXT one. - if (GetFirst() == expr) - { - m_value.first = expr->m_next; - } - - // If node was the last in the list, - // make the list 'last' pointer point to the PREVIOUS one. - if (GetLast() == expr) - { - if (previous) - m_last = previous; - else - m_last = NULL; - } - m_modifiedFlag = TRUE; - delete expr; - } - -} - -void wxPropertyValue::ClearList(void) -{ - wxPropertyValue *val = GetFirst(); - if (val) - m_modifiedFlag = TRUE; - - while (val) - { - wxPropertyValue *next = val->GetNext(); - delete val; - val = next; - } - m_value.first = NULL; - m_last = NULL; -} - -wxPropertyValue *wxPropertyValue::NewCopy(void) const -{ - switch (m_type) - { - case wxPropertyValueInteger: - return new wxPropertyValue(m_value.integer); - case wxPropertyValuebool: - return new wxPropertyValue((bool) (m_value.integer != 0)); - case wxPropertyValueReal: - return new wxPropertyValue(m_value.real); - case wxPropertyValueString: - return new wxPropertyValue(m_value.string); - case wxPropertyValueList: - { - wxPropertyValue *expr = m_value.first; - wxPropertyValue *new_list = new wxPropertyValue; - new_list->SetType(wxPropertyValueList); - while (expr) - { - wxPropertyValue *expr2 = expr->NewCopy(); - new_list->Append(expr2); - expr = expr->m_next; - } - return new_list; - } - case wxPropertyValueIntegerPtr: - return new wxPropertyValue(m_value.integerPtr); - case wxPropertyValueRealPtr: - return new wxPropertyValue(m_value.realPtr); - case wxPropertyValueboolPtr: - return new wxPropertyValue(m_value.boolPtr); - case wxPropertyValueStringPtr: - return new wxPropertyValue(m_value.stringPtr); - - case wxPropertyValueNull: -#ifdef __X__ - cerr << "Should never get here!\n"; -#endif - break; - } - return NULL; -} - -void wxPropertyValue::Copy(wxPropertyValue& copyFrom) -{ - m_type = copyFrom.Type(); - - switch (m_type) - { - case wxPropertyValueInteger: - (*this) = copyFrom.IntegerValue(); - return ; - - case wxPropertyValueReal: - (*this) = copyFrom.RealValue(); - return ; - - case wxPropertyValueString: - (*this) = wxString(copyFrom.StringValue()); - return ; - - case wxPropertyValuebool: - (*this) = copyFrom.BoolValue(); - return ; - - // Pointers - case wxPropertyValueboolPtr: - (*this) = copyFrom.BoolValuePtr(); - return ; - case wxPropertyValueRealPtr: - (*this) = copyFrom.RealValuePtr(); - return ; - case wxPropertyValueIntegerPtr: - (*this) = copyFrom.IntegerValuePtr(); - return ; - case wxPropertyValueStringPtr: - { - char** s = copyFrom.StringValuePtr(); - (*this) = s != 0; - return ; - } - - case wxPropertyValueList: - { - m_value.first = NULL; - m_next = NULL; - m_last = NULL; - wxPropertyValue *expr = copyFrom.m_value.first; - while (expr) - { - wxPropertyValue *expr2 = expr->NewCopy(); - Append(expr2); - expr = expr->m_next; - } - return; - } - case wxPropertyValueNull: -#ifdef __X__ - cerr << "Should never get here!\n"; -#endif - break; - } -} - -// Return nth argument of a clause (starting from 1) -wxPropertyValue *wxPropertyValue::Arg(wxPropertyValueType type, int arg) const -{ - wxPropertyValue *expr = m_value.first; - for (int i = 1; i < arg; i++) - if (expr) - expr = expr->m_next; - - if (expr && (expr->m_type == type)) - return expr; - else - return NULL; -} - -// Return nth argument of a list expression (starting from zero) -wxPropertyValue *wxPropertyValue::Nth(int arg) const -{ - if (m_type != wxPropertyValueList) - return NULL; - - wxPropertyValue *expr = m_value.first; - for (int i = 0; i < arg; i++) - if (expr) - expr = expr->m_next; - else return NULL; - - if (expr) - return expr; - else - return NULL; -} - - // Returns the number of elements in a list expression -int wxPropertyValue::Number(void) const -{ - if (m_type != wxPropertyValueList) - return 0; - - int i = 0; - wxPropertyValue *expr = m_value.first; - while (expr) - { - expr = expr->m_next; - i ++; - } - return i; -} - -void wxPropertyValue::WritePropertyClause(ostream& stream) // Write this expression as a top-level clause -{ - if (m_type != wxPropertyValueList) - return; - - wxPropertyValue *node = m_value.first; - if (node) - { - node->WritePropertyType(stream); - stream << "("; - node = node->m_next; - bool first = TRUE; - while (node) - { - if (!first) - stream << " "; - node->WritePropertyType(stream); - node = node->m_next; - if (node) stream << ",\n"; - first = FALSE; - } - stream << ").\n\n"; - } -} - -void wxPropertyValue::WritePropertyType(ostream& stream) // Write as any other subexpression -{ - switch (m_type) - { - case wxPropertyValueInteger: - { - stream << m_value.integer; - break; - } - case wxPropertyValueIntegerPtr: - { - stream << *m_value.integerPtr; - break; - } - case wxPropertyValuebool: - { - if (m_value.integer) - stream << "True"; - else - stream << "False"; - break; - } - case wxPropertyValueboolPtr: - { - if (*m_value.integerPtr) - stream << "True"; - else - stream << "False"; - break; - } - case wxPropertyValueReal: - { - float f = m_value.real; - sprintf(wxBuffer, "%.6g", (double)f); - stream << wxBuffer; - break; - } - case wxPropertyValueRealPtr: - { - float f = *m_value.realPtr; -/* Now the parser can cope with this. - // Prevent printing in 'e' notation. Any better way? - if (fabs(f) < 0.00001) - f = 0.0; -*/ - sprintf(wxBuffer, "%.6g", f); - stream << wxBuffer; - break; - } - case wxPropertyValueString: - { -// stream << "\""; - int i; - int len = strlen(m_value.string); - for (i = 0; i < len; i++) - { - char ch = m_value.string[i]; -// if (ch == '"' || ch == '\\') -// stream << "\\"; - stream << ch; - } - -// stream << "\""; - break; - } - case wxPropertyValueStringPtr: - { - int i; - int len = strlen(*(m_value.stringPtr)); - for (i = 0; i < len; i++) - { - char ch = *(m_value.stringPtr)[i]; - - } - break; - } - case wxPropertyValueList: - { - if (!m_value.first) - stream << "[]"; - else - { - wxPropertyValue *expr = m_value.first; - - stream << "["; - while (expr) - { - expr->WritePropertyType(stream); - expr = expr->m_next; - if (expr) stream << ", "; - } - stream << "]"; - } - break; - } - case wxPropertyValueNull: break; - } -} - -wxString wxPropertyValue::GetStringRepresentation(void) -{ - char buf[500]; - buf[0] = 0; - - ostrstream str((char *)buf, (int)500, ios::out); - WritePropertyType(str); - str << '\0'; - str.flush(); - - wxString theString(buf); - return theString; -} - -void wxPropertyValue::operator=(const wxPropertyValue& val) -{ - m_modifiedFlag = TRUE; - Copy((wxPropertyValue&)val); -} - -// void wxPropertyValue::operator=(const char *val) -void wxPropertyValue::operator=(const wxString& val1) -{ - const char *val = (const char *)val1; - - m_modifiedFlag = TRUE; - if (m_type == wxPropertyValueNull) - m_type = wxPropertyValueString; - - if (m_type == wxPropertyValueString) - { - if (val) - m_value.string = copystring(val); - else - m_value.string = NULL; - } - else if (m_type == wxPropertyValueStringPtr) - { - if (*m_value.stringPtr) - delete[] *m_value.stringPtr; - if (val) - *m_value.stringPtr = copystring(val); - else - *m_value.stringPtr = NULL; - } - - m_clientData = NULL; - m_next = NULL; - m_last = NULL; - -} - -void wxPropertyValue::operator=(const long val) -{ - m_modifiedFlag = TRUE; - if (m_type == wxPropertyValueNull) - m_type = wxPropertyValueInteger; - - if (m_type == wxPropertyValueInteger) - m_value.integer = val; - else if (m_type == wxPropertyValueIntegerPtr) - *m_value.integerPtr = val; - else if (m_type == wxPropertyValueReal) - m_value.real = (float)val; - else if (m_type == wxPropertyValueRealPtr) - *m_value.realPtr = (float)val; - - m_clientData = NULL; - m_next = NULL; -} - -void wxPropertyValue::operator=(const bool val) -{ - m_modifiedFlag = TRUE; - if (m_type == wxPropertyValueNull) - m_type = wxPropertyValuebool; - - if (m_type == wxPropertyValuebool) - m_value.integer = (long)val; - else if (m_type == wxPropertyValueboolPtr) - *m_value.boolPtr = val; - - m_clientData = NULL; - m_next = NULL; -} - -void wxPropertyValue::operator=(const float val) -{ - m_modifiedFlag = TRUE; - if (m_type == wxPropertyValueNull) - m_type = wxPropertyValueReal; - - if (m_type == wxPropertyValueInteger) - m_value.integer = (long)val; - else if (m_type == wxPropertyValueIntegerPtr) - *m_value.integerPtr = (long)val; - else if (m_type == wxPropertyValueReal) - m_value.real = val; - else if (m_type == wxPropertyValueRealPtr) - *m_value.realPtr = val; - - m_clientData = NULL; - m_next = NULL; -} - -void wxPropertyValue::operator=(const char **val) -{ - m_modifiedFlag = TRUE; - m_type = wxPropertyValueStringPtr; - - if (val) - m_value.stringPtr = (char **)val; - else - m_value.stringPtr = NULL; - m_clientData = NULL; - m_next = NULL; - m_last = NULL; - -} - -void wxPropertyValue::operator=(const long *val) -{ - m_modifiedFlag = TRUE; - m_type = wxPropertyValueIntegerPtr; - m_value.integerPtr = (long *)val; - m_clientData = NULL; - m_next = NULL; -} - -void wxPropertyValue::operator=(const bool *val) -{ - m_modifiedFlag = TRUE; - m_type = wxPropertyValueboolPtr; - m_value.boolPtr = (bool *)val; - m_clientData = NULL; - m_next = NULL; -} - -void wxPropertyValue::operator=(const float *val) -{ - m_modifiedFlag = TRUE; - m_type = wxPropertyValueRealPtr; - m_value.realPtr = (float *)val; - m_clientData = NULL; - m_next = NULL; -} - -long wxPropertyValue::IntegerValue(void) const - { - if (m_type == wxPropertyValueInteger) - return m_value.integer; - else if (m_type == wxPropertyValueReal) - return (long)m_value.real; - else if (m_type == wxPropertyValueIntegerPtr) - return *m_value.integerPtr; - else if (m_type == wxPropertyValueRealPtr) - return (long)(*m_value.realPtr); - else return 0; - } - -long *wxPropertyValue::IntegerValuePtr(void) const -{ - return m_value.integerPtr; -} - -float wxPropertyValue::RealValue(void) const { - if (m_type == wxPropertyValueReal) - return m_value.real; - else if (m_type == wxPropertyValueRealPtr) - return *m_value.realPtr; - else if (m_type == wxPropertyValueInteger) - return (float)m_value.integer; - else if (m_type == wxPropertyValueIntegerPtr) - return (float)*(m_value.integerPtr); - else return 0.0; - } - -float *wxPropertyValue::RealValuePtr(void) const -{ - return m_value.realPtr; -} - -bool wxPropertyValue::BoolValue(void) const { - if (m_type == wxPropertyValueReal) - return (m_value.real != 0.0); - if (m_type == wxPropertyValueRealPtr) - return (*(m_value.realPtr) != 0.0); - else if (m_type == wxPropertyValueInteger) - return (m_value.integer != 0); - else if (m_type == wxPropertyValueIntegerPtr) - return (*(m_value.integerPtr) != 0); - else if (m_type == wxPropertyValuebool) - return (m_value.integer != 0); - else if (m_type == wxPropertyValueboolPtr) - return (*(m_value.boolPtr) != 0); - else return FALSE; - } - -bool *wxPropertyValue::BoolValuePtr(void) const -{ - return m_value.boolPtr; -} - -char *wxPropertyValue::StringValue(void) const { - if (m_type == wxPropertyValueString) - return m_value.string; - else if (m_type == wxPropertyValueStringPtr) - return *(m_value.stringPtr); - else return NULL; - } - -char **wxPropertyValue::StringValuePtr(void) const -{ - return m_value.stringPtr; -} - -/* - * A property (name plus value) - */ - -IMPLEMENT_DYNAMIC_CLASS(wxProperty, wxObject) - -wxProperty::wxProperty(void) -{ - m_propertyRole = (char *)NULL; - m_propertyValidator = NULL; - m_propertyWindow = NULL; - m_enabled = TRUE; -} - -wxProperty::wxProperty(wxProperty& copyFrom) -{ - m_value = copyFrom.GetValue(); - m_name = copyFrom.GetName(); - m_propertyRole = copyFrom.GetRole(); - m_propertyValidator = copyFrom.GetValidator(); - m_enabled = copyFrom.IsEnabled(); - m_propertyWindow = NULL; -} - -wxProperty::wxProperty(wxString nm, wxString role, wxPropertyValidator *ed):m_name(nm), m_propertyRole(role) -{ - m_propertyValidator = ed; - m_propertyWindow = NULL; - m_enabled = TRUE; -} - -wxProperty::wxProperty(wxString nm, const wxPropertyValue& val, wxString role, wxPropertyValidator *ed): - m_name(nm), m_value(val), m_propertyRole(role) -{ - m_propertyValidator = ed; - m_propertyWindow = NULL; - m_enabled = TRUE; -} - -wxProperty::~wxProperty(void) -{ - if (m_propertyValidator) - delete m_propertyValidator; -} - -wxPropertyValue& wxProperty::GetValue(void) const -{ - return (wxPropertyValue&) m_value; -} - -wxPropertyValidator *wxProperty::GetValidator(void) const -{ - return m_propertyValidator; -} - -wxString& wxProperty::GetName(void) const -{ - return (wxString&) m_name; -} - -wxString& wxProperty::GetRole(void) const -{ - return (wxString&) m_propertyRole; -} - -void wxProperty::SetValue(const wxPropertyValue& val) -{ - m_value = val; -} - -void wxProperty::SetValidator(wxPropertyValidator *ed) -{ - m_propertyValidator = ed; -} - -void wxProperty::SetRole(wxString& role) -{ - m_propertyRole = role; -} - -void wxProperty::SetName(wxString& nm) -{ - m_name = nm; -} - -void wxProperty::operator=(const wxPropertyValue& val) -{ - m_value = val; -} - -/* - * Base property view class - */ - -IMPLEMENT_DYNAMIC_CLASS(wxPropertyView, wxEvtHandler) - -wxPropertyView::wxPropertyView(long flags) -{ - m_buttonFlags = flags; - m_propertySheet = NULL; - m_currentValidator = NULL; - m_currentProperty = NULL; -} - -wxPropertyView::~wxPropertyView(void) -{ -} - -void wxPropertyView::AddRegistry(wxPropertyValidatorRegistry *registry) -{ - m_validatorRegistryList.Append(registry); -} - -wxPropertyValidator *wxPropertyView::FindPropertyValidator(wxProperty *property) -{ - if (property->GetValidator()) - return property->GetValidator(); - - wxNode *node = m_validatorRegistryList.First(); - while (node) - { - wxPropertyValidatorRegistry *registry = (wxPropertyValidatorRegistry *)node->Data(); - wxPropertyValidator *validator = registry->GetValidator(property->GetRole()); - if (validator) - return validator; - node = node->Next(); - } - return NULL; -/* - if (!wxDefaultPropertyValidator) - wxDefaultPropertyValidator = new wxPropertyListValidator; - return wxDefaultPropertyValidator; -*/ -} - -/* - * Property sheet - */ - -IMPLEMENT_DYNAMIC_CLASS(wxPropertySheet, wxObject) - -wxPropertySheet::wxPropertySheet(void):m_properties(wxKEY_STRING) -{ -} - -wxPropertySheet::~wxPropertySheet(void) -{ - Clear(); -} - -bool wxPropertySheet::Save( ostream& WXUNUSED(str) ) -{ - return FALSE; -} - -bool wxPropertySheet::Load( ostream& WXUNUSED(str) ) -{ - return FALSE; -} - -void wxPropertySheet::UpdateAllViews( wxPropertyView *WXUNUSED(thisView) ) -{ -} - -// Add a property -void wxPropertySheet::AddProperty(wxProperty *property) -{ - m_properties.Append((const char*) property->GetName(), property); -} - -// Get property by name -wxProperty *wxPropertySheet::GetProperty(wxString name) -{ - wxNode *node = m_properties.Find((const char*) name); - if (!node) - return NULL; - else - return (wxProperty *)node->Data(); -} - -// Clear all properties -void wxPropertySheet::Clear(void) -{ - wxNode *node = m_properties.First(); - while (node) - { - wxProperty *prop = (wxProperty *)node->Data(); - wxNode *next = node->Next(); - delete prop; - delete node; - node = next; - } -} - -// Sets/clears the modified flag for each property value -void wxPropertySheet::SetAllModified(bool flag) -{ - wxNode *node = m_properties.First(); - while (node) - { - wxProperty *prop = (wxProperty *)node->Data(); - prop->GetValue().SetModified(flag); - node = node->Next(); - } -} - -/* - * Property validator registry - * - */ - -IMPLEMENT_DYNAMIC_CLASS(wxPropertyValidatorRegistry, wxHashTable) - -wxPropertyValidatorRegistry::wxPropertyValidatorRegistry(void):wxHashTable(wxKEY_STRING) -{ -} - -wxPropertyValidatorRegistry::~wxPropertyValidatorRegistry(void) -{ - ClearRegistry(); -} - -void wxPropertyValidatorRegistry::RegisterValidator(const wxString& typeName, wxPropertyValidator *validator) -{ - Put((const char*) typeName, validator); -} - -wxPropertyValidator *wxPropertyValidatorRegistry::GetValidator(const wxString& typeName) -{ - return (wxPropertyValidator *)Get((const char*) typeName); -} - -void wxPropertyValidatorRegistry::ClearRegistry(void) -{ - BeginFind(); - wxNode *node; - while (node = Next()) - { - delete (wxPropertyValidator *)node->Data(); - } -} - - /* - * Property validator - */ - - -IMPLEMENT_ABSTRACT_CLASS(wxPropertyValidator, wxEvtHandler) - -wxPropertyValidator::wxPropertyValidator(long flags) -{ - m_validatorFlags = flags; - m_validatorProperty = NULL; -} - -wxPropertyValidator::~wxPropertyValidator(void) -{} - -bool wxPropertyValidator::StringToFloat (char *s, float *number) { - double num; - bool ok = StringToDouble (s, &num); - *number = (float) num; - return ok; -} - -bool wxPropertyValidator::StringToDouble (char *s, double *number) { - bool ok = TRUE; - char *value_ptr; - *number = strtod (s, &value_ptr); - if (value_ptr) { - int len = strlen (value_ptr); - for (int i = 0; i < len; i++) { - ok = (isspace (value_ptr[i]) != 0); - if (!ok) return FALSE; - } - } - return ok; -} - -bool wxPropertyValidator::StringToInt (char *s, int *number) { - long num; - bool ok = StringToLong (s, &num); - *number = (int) num; - return ok; -} - -bool wxPropertyValidator::StringToLong (char *s, long *number) { - bool ok = TRUE; - char *value_ptr; - *number = strtol (s, &value_ptr, 10); - if (value_ptr) { - int len = strlen (value_ptr); - for (int i = 0; i < len; i++) { - ok = (isspace (value_ptr[i]) != 0); - if (!ok) return FALSE; - } - } - return ok; -} - -char *wxPropertyValidator::FloatToString (float number) { - static char buf[20]; - sprintf (buf, "%.6g", number); - return buf; -} - -char *wxPropertyValidator::DoubleToString (double number) { - static char buf[20]; - sprintf (buf, "%.6g", number); - return buf; -} - -char *wxPropertyValidator::IntToString (int number) { - return ::IntToString (number); -} - -char *wxPropertyValidator::LongToString (long number) { - return ::LongToString (number); - } - - diff --git a/wxPython/config.py b/wxPython/config.py index 1a9b4796fb..f53b68ac7f 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -39,8 +39,8 @@ import distutils.command.clean VER_MAJOR = 2 # The first three must match wxWidgets VER_MINOR = 5 VER_RELEASE = 3 -VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWidgets -VER_FLAGS = "p" # release flags, such as prerelease num, unicode, etc. +VER_SUBREL = 1 # wxPython release num for x.y.z release of wxWidgets +VER_FLAGS = "" # release flags, such as prerelease num, unicode, etc. DESCRIPTION = "Cross platform GUI toolkit for Python" AUTHOR = "Robin Dunn" @@ -135,9 +135,10 @@ INSTALL_MULTIVERSION = 1 # Install the packages such that multiple versions FLAVOUR = "" # Optional flavour string to be appended to VERSION # in MULTIVERSION installs -EP_ADD_OPTS = 0 # When doing MULTIVERSION installs the wx port and +EP_ADD_OPTS = 1 # When doing MULTIVERSION installs the wx port and # ansi/unicode settings can optionally be added to the - # subdir path used in site-packages + # subdir path used in site-packages + WX_CONFIG = None # Usually you shouldn't need to touch this, but you can set # it to pass an alternate version of wx-config or alternate @@ -567,8 +568,8 @@ def getExtraPath(shortVer=True, addOpts=False): ep = "wx-%d.%d" % (VER_MAJOR, VER_MINOR) # plus release if minor is odd - #if VER_MINOR % 2 == 1: - # ep += ".%d" % VER_RELEASE + if VER_MINOR % 2 == 1: + ep += ".%d" % VER_RELEASE else: # long version, full version @@ -605,7 +606,7 @@ if debug: if FINAL: HYBRID = 0 -if UNICODE and WXPORT not in ['msw', 'gtk2']: +if UNICODE and WXPORT not in ['msw', 'gtk2', 'mac']: raise SystemExit, "UNICODE mode not currently supported on this WXPORT: "+WXPORT diff --git a/wxPython/demo/About.py b/wxPython/demo/About.py index badc45fcaa..567fa54cfd 100644 --- a/wxPython/demo/About.py +++ b/wxPython/demo/About.py @@ -15,6 +15,7 @@ cellpadding="0" border="1">

wxPython %s

+ (%s)
Running on Python %s
@@ -29,7 +30,7 @@ sit back and enjoy. Be sure to take a peek at the source code for each demo item so you can learn how to use the classes yourself.

wxPython is brought to you by Robin Dunn and
-Total Control Software, Copyright (c) 1997-2003.

+Total Control Software, Copyright (c) 1997-2004.

Please see license.txt for licensing information. @@ -49,7 +50,10 @@ demo item so you can learn how to use the classes yourself.

if "gtk2" in wx.PlatformInfo: html.SetStandardFonts() py_version = sys.version.split()[0] - html.SetPage(self.text % (wx.VERSION_STRING, py_version)) + html.SetPage(self.text % (wx.VERSION_STRING, + ", ".join(wx.PlatformInfo[1:]), + py_version + )) btn = html.FindWindowById(wx.ID_OK) ir = html.GetInternalRepresentation() html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) ) diff --git a/wxPython/demo/ActiveX_FlashWindow.py b/wxPython/demo/ActiveX_FlashWindow.py index 14946614e5..f7d3ef4df3 100644 --- a/wxPython/demo/ActiveX_FlashWindow.py +++ b/wxPython/demo/ActiveX_FlashWindow.py @@ -68,10 +68,10 @@ def runTest(frame, nb, log): win = TestPanel(nb, log) return win else: - dlg = wx.MessageDialog(frame, 'This demo only works on MSW.', - 'Sorry', wx.OK | wx.ICON_INFORMATION) - dlg.ShowModal() - dlg.Destroy() + from Main import MessagePanel + win = MessagePanel(nb, 'This demo only works on Microsoft Windows.', + 'Sorry', wx.ICON_WARNING) + return win overview = """\ diff --git a/wxPython/demo/ActiveX_IEHtmlWindow.py b/wxPython/demo/ActiveX_IEHtmlWindow.py index 698489e04b..c1356e4deb 100644 --- a/wxPython/demo/ActiveX_IEHtmlWindow.py +++ b/wxPython/demo/ActiveX_IEHtmlWindow.py @@ -191,10 +191,10 @@ def runTest(frame, nb, log): win = TestPanel(nb, log, frame) return win else: - dlg = wx.MessageDialog(frame, 'This demo only works on Windows.', - 'Sorry', wx.OK | wx.ICON_INFORMATION) - dlg.ShowModal() - dlg.Destroy() + from Main import MessagePanel + win = MessagePanel(nb, 'This demo only works on Microsoft Windows.', + 'Sorry', wx.ICON_WARNING) + return win diff --git a/wxPython/demo/ActiveX_PDFWindow.py b/wxPython/demo/ActiveX_PDFWindow.py index 6281f3e1bd..c7c52aab62 100644 --- a/wxPython/demo/ActiveX_PDFWindow.py +++ b/wxPython/demo/ActiveX_PDFWindow.py @@ -67,10 +67,10 @@ def runTest(frame, nb, log): win = TestPanel(nb, log) return win else: - dlg = wx.MessageDialog(frame, 'This demo only works on MSW.', - 'Sorry', wx.OK | wx.ICON_INFORMATION) - dlg.ShowModal() - dlg.Destroy() + from Main import MessagePanel + win = MessagePanel(nb, 'This demo only works on Microsoft Windows.', + 'Sorry', wx.ICON_WARNING) + return win overview = """\ diff --git a/wxPython/demo/DynamicSashWindow.py b/wxPython/demo/DynamicSashWindow.py index ed28ede75f..b06438b6ee 100644 --- a/wxPython/demo/DynamicSashWindow.py +++ b/wxPython/demo/DynamicSashWindow.py @@ -92,8 +92,10 @@ class SimpleView(wx.Panel): def runTest(frame, nb, log): if wx.Platform == "__WXMAC__": - wx.MessageBox("This demo currently fails on the Mac. The problem is being looked into...", "Sorry") - return + from Main import MessagePanel + win = MessagePanel(nb, 'This demo currently fails on the Mac. The problem is being looked into...', + 'Sorry', wx.ICON_WARNING) + return win if 1: win = gizmos.DynamicSashWindow(nb, -1, style = wx.CLIP_CHILDREN diff --git a/wxPython/demo/FloatBar.py b/wxPython/demo/FloatBar.py index 1b7d7c9193..7e603aa9f5 100644 --- a/wxPython/demo/FloatBar.py +++ b/wxPython/demo/FloatBar.py @@ -93,7 +93,7 @@ class TestPanel(wx.Panel): if wx.Platform == "__WXMAC__": dlg = wx.MessageDialog( self, 'FloatBar does not work well on this platform.', - 'Sorry', wx.OK | wx.ICON_INFORMATION + 'Sorry', wx.OK | wx.ICON_WARNING ) dlg.ShowModal() dlg.Destroy() diff --git a/wxPython/demo/GLCanvas.py b/wxPython/demo/GLCanvas.py index e89b8e2bdc..5601305da8 100644 --- a/wxPython/demo/GLCanvas.py +++ b/wxPython/demo/GLCanvas.py @@ -53,7 +53,7 @@ class ButtonPanel(wx.Panel): if not haveGLCanvas: dlg = wx.MessageDialog(self, 'The GLCanvas class has not been included with this build of wxPython!', - 'Sorry', wx.OK | wx.ICON_INFORMATION) + 'Sorry', wx.OK | wx.ICON_WARNING) dlg.ShowModal() dlg.Destroy() @@ -61,7 +61,7 @@ class ButtonPanel(wx.Panel): dlg = wx.MessageDialog(self, 'The OpenGL package was not found. You can get it at\n' 'http://PyOpenGL.sourceforge.net/', - 'Sorry', wx.OK | wx.ICON_INFORMATION) + 'Sorry', wx.OK | wx.ICON_WARNING) dlg.ShowModal() dlg.Destroy() diff --git a/wxPython/demo/GridBagSizer.py b/wxPython/demo/GridBagSizer.py index c6a223782c..25ef8cdb00 100644 --- a/wxPython/demo/GridBagSizer.py +++ b/wxPython/demo/GridBagSizer.py @@ -12,7 +12,10 @@ static text is positioned at (0,0) and it spans 7 columns. class TestFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, -1, "wx.GridBagSizer") - p = wx.Panel(self, -1) + p = wx.Panel(self, -1, style = wx.TAB_TRAVERSAL + | wx.CLIP_CHILDREN + | wx.FULL_REPAINT_ON_RESIZE + ) p.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown) gbs = self.gbs = wx.GridBagSizer(5, 5) diff --git a/wxPython/demo/GridSimple.py b/wxPython/demo/GridSimple.py index 156839a6a6..9a0d25bde2 100644 --- a/wxPython/demo/GridSimple.py +++ b/wxPython/demo/GridSimple.py @@ -14,7 +14,7 @@ class SimpleGrid(gridlib.Grid): ##, mixins.GridAutoEditMixin): self.Bind(wx.EVT_IDLE, self.OnIdle) - self.CreateGrid(25, 25) #, wxGrid.wxGridSelectRows) + self.CreateGrid(25, 25)#, gridlib.Grid.SelectRows) ##self.EnableEditing(False) # simple cell formatting diff --git a/wxPython/demo/Joystick.py b/wxPython/demo/Joystick.py index 394b2ec09f..c94e215507 100644 --- a/wxPython/demo/Joystick.py +++ b/wxPython/demo/Joystick.py @@ -994,12 +994,10 @@ def runTest(frame, nb, log): win = JoystickDemoPanel(nb, log) return win else: - dlg = wx.MessageDialog( - frame, 'wx.Joystick is not available on this platform.', - 'Sorry', wx.OK | wx.ICON_INFORMATION - ) - dlg.ShowModal() - dlg.Destroy() + from Main import MessagePanel + win = MessagePanel(nb, 'wx.Joystick is not available on this platform.', + 'Sorry', wx.ICON_WARNING) + return win #---------------------------------------------------------------------------- diff --git a/wxPython/demo/LayoutAnchors.py b/wxPython/demo/LayoutAnchors.py index a15f34f6c1..aaa4dc8a19 100644 --- a/wxPython/demo/LayoutAnchors.py +++ b/wxPython/demo/LayoutAnchors.py @@ -40,7 +40,8 @@ class AnchorsDemoFrame(wx.Frame): self.mainPanel = wx.Panel( size=(320, 160), parent=self, id=ID_ANCHORSDEMOFRAMEMAINPANEL, name='panel1', - style=wx.TAB_TRAVERSAL | wx.CLIP_CHILDREN, + style=wx.TAB_TRAVERSAL | wx.CLIP_CHILDREN + | wx.FULL_REPAINT_ON_RESIZE, pos=(0, 0) ) diff --git a/wxPython/demo/ListCtrl.py b/wxPython/demo/ListCtrl.py index da993466ec..fdc9beba38 100644 --- a/wxPython/demo/ListCtrl.py +++ b/wxPython/demo/ListCtrl.py @@ -114,7 +114,7 @@ class TestListCtrlPanel(wx.Panel, listmix.ColumnSorterMixin): self.PopulateList() # Now that the list exists we can init the other base class, - # see wxPython/lib/mixins/listctrl.py + # see wx/lib/mixins/listctrl.py self.itemDataMap = musicdata listmix.ColumnSorterMixin.__init__(self, 3) #self.SortListItems(0, True) @@ -190,11 +190,11 @@ class TestListCtrlPanel(wx.Panel, listmix.ColumnSorterMixin): self.currentItem = 0 - # Used by the ColumnSorterMixin, see wxPython/lib/mixins/listctrl.py + # Used by the ColumnSorterMixin, see wx/lib/mixins/listctrl.py def GetListCtrl(self): return self.list - # Used by the ColumnSorterMixin, see wxPython/lib/mixins/listctrl.py + # Used by the ColumnSorterMixin, see wx/lib/mixins/listctrl.py def GetSortImages(self): return (self.sm_dn, self.sm_up) diff --git a/wxPython/demo/ListCtrl_edit.py b/wxPython/demo/ListCtrl_edit.py new file mode 100644 index 0000000000..eaa4ba0380 --- /dev/null +++ b/wxPython/demo/ListCtrl_edit.py @@ -0,0 +1,141 @@ +#---------------------------------------------------------------------------- +# Name: ListCtrl_edit.py +# Purpose: Testing editing a ListCtrl +# +# Author: Pim van Heuven +# +# Created: 2004/10/15 +# Copyright: (c) Pim Van Heuven +# Licence: wxWindows license +#---------------------------------------------------------------------------- + +import sys +import wx +import wx.lib.mixins.listctrl as listmix + +#--------------------------------------------------------------------------- + +listctrldata = { +1 : ("Hey!", "You can edit", "me!"), +2 : ("Try changing the contents", "by", "clicking"), +3 : ("in", "a", "cell"), +4 : ("See how the length columns", "change", "?"), +5 : ("You can use", "TAB,", "cursor down,"), +6 : ("and cursor up", "to", "navigate"), +} + +#--------------------------------------------------------------------------- + +class TestListCtrl(wx.ListCtrl, + listmix.ListCtrlAutoWidthMixin, + listmix.TextEditMixin): + + def __init__(self, parent, ID, pos=wx.DefaultPosition, + size=wx.DefaultSize, style=0): + wx.ListCtrl.__init__(self, parent, ID, pos, size, style) + + listmix.ListCtrlAutoWidthMixin.__init__(self) + self.Populate() + listmix.TextEditMixin.__init__(self) + + def Populate(self): + # for normal, simple columns, you can add them like this: + self.InsertColumn(0, "Column 1") + self.InsertColumn(1, "Column 2") + self.InsertColumn(2, "Column 3") + self.InsertColumn(3, "Len 1", wx.LIST_FORMAT_RIGHT) + self.InsertColumn(4, "Len 2", wx.LIST_FORMAT_RIGHT) + self.InsertColumn(5, "Len 3", wx.LIST_FORMAT_RIGHT) + + items = listctrldata.items() + for key, data in items: + index = self.InsertStringItem(sys.maxint, data[0]) + self.SetStringItem(index, 0, data[0]) + self.SetStringItem(index, 1, data[1]) + self.SetStringItem(index, 2, data[2]) + self.SetItemData(index, key) + + self.SetColumnWidth(0, wx.LIST_AUTOSIZE) + self.SetColumnWidth(1, wx.LIST_AUTOSIZE) + self.SetColumnWidth(2, 100) + + self.currentItem = 0 + + + def SetStringItem(self, index, col, data): + if col in range(3): + wx.ListCtrl.SetStringItem(self, index, col, data) + wx.ListCtrl.SetStringItem(self, index, 3+col, str(len(data))) + else: + try: + datalen = int(data) + except: + return + + wx.ListCtrl.SetStringItem(self, index, col, data) + + data = self.GetItem(index, col-3).GetText() + wx.ListCtrl.SetStringItem(self, index, col-3, data[0:datalen]) + + + + +class TestListCtrlPanel(wx.Panel): + def __init__(self, parent, log): + wx.Panel.__init__(self, parent, -1, style=wx.WANTS_CHARS) + + self.log = log + tID = wx.NewId() + + self.list = TestListCtrl(self, tID, + style=wx.LC_REPORT + | wx.BORDER_NONE + | wx.LC_SORT_ASCENDING + ) + + self.Bind(wx.EVT_SIZE, self.OnSize) + + + def OnSize(self, event): + w,h = self.GetClientSizeTuple() + self.list.SetDimensions(0, 0, w, h) + + + +#--------------------------------------------------------------------------- + +def runTest(frame, nb, log): + win = TestListCtrlPanel(nb, log) + return win + +#--------------------------------------------------------------------------- + + +overview = """\ + + + +This demo demonstrates direct editing of all cells of a ListCtrl. To +enable it just include the TextEditMixin. The ListCtrl can be +navigated with the TAB and up/down cursor keys. + +

Another facet of this demo is that the remaining space of the +ListCtrls is divided over the first three columns. This is achieved +with the extended syntax of ListCtrlAutoWidthMixin: +listmix.ListCtrlAutoWidthMixin.__init__(self, startcol, endcol) +(Look at the general ListCtrl demo for more information about the +ListCtrlAutoWidthMixin) + +

Finally, the ListCtrl is automatically scrolled, if needed, when +TAB is pressed consecutively (Windows only). + + + +""" + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:]) + diff --git a/wxPython/demo/Listbook.py b/wxPython/demo/Listbook.py index cb620fe83d..995c25aa12 100644 --- a/wxPython/demo/Listbook.py +++ b/wxPython/demo/Listbook.py @@ -36,7 +36,7 @@ class TestLB(wx.Listbook): # make an image list using the BlomXX images il = wx.ImageList(32, 32) - for x in range(1, 15): + for x in range(1, 16): f = getattr(images, 'getBlom%02dBitmap' % x) bmp = f() il.Add(bmp) diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index be0cd0a4f9..8c9b6d4ab1 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -50,6 +50,7 @@ _treeList = [ 'StockButtons', 'Ticker', 'Choicebook', + 'ListCtrl_edit', ]), # managed windows == things with a (optional) caption you can close @@ -98,6 +99,7 @@ _treeList = [ 'ListBox', 'ListCtrl', 'ListCtrl_virtual', + 'ListCtrl_edit', 'Listbook', 'Menu', 'Notebook', @@ -263,6 +265,60 @@ class MyTP(wx.PyTipProvider): def GetTip(self): return "This is my tip" +#--------------------------------------------------------------------------- +# A class to be used to simply display a message in the demo pane +# rather than running the sample itself. + +class MessagePanel(wx.Panel): + def __init__(self, parent, message, caption='', flags=0): + wx.Panel.__init__(self, parent) + + # Make widgets + if flags: + artid = None + if flags & wx.ICON_EXCLAMATION: + artid = wx.ART_WARNING + elif flags & wx.ICON_ERROR: + artid = wx.ART_ERROR + elif flags & wx.ICON_QUESTION: + artid = wx.ART_QUESTION + elif flags & wx.ICON_INFORMATION: + artid = wx.ART_INFORMATION + + if artid is not None: + bmp = wx.ArtProvider.GetBitmap(artid, wx.ART_MESSAGE_BOX, (32,32)) + icon = wx.StaticBitmap(self, -1, bmp) + else: + icon = (32,32) # make a spacer instead + + if caption: + caption = wx.StaticText(self, -1, caption) + caption.SetFont(wx.Font(28, wx.SWISS, wx.NORMAL, wx.BOLD)) + + message = wx.StaticText(self, -1, message) + + # add to sizers for layout + tbox = wx.BoxSizer(wx.VERTICAL) + if caption: + tbox.Add(caption) + tbox.Add((10,10)) + tbox.Add(message) + + hbox = wx.BoxSizer(wx.HORIZONTAL) + hbox.Add((10,10), 1) + hbox.Add(icon) + hbox.Add((10,10)) + hbox.Add(tbox) + hbox.Add((10,10), 1) + + box = wx.BoxSizer(wx.VERTICAL) + box.Add((10,10), 1) + box.Add(hbox, 0, wx.EXPAND) + box.Add((10,10), 2) + + self.SetSizer(box) + + #--------------------------------------------------------------------------- # A class to be used to display source code in the demo. Try using the @@ -959,8 +1015,9 @@ class DemoTaskBarIcon(wx.TaskBarIcon): self.frame = frame # Set the image - icon = self.MakeIcon(images.getMondrianImage()) + icon = self.MakeIcon(images.getWXPdemoImage()) self.SetIcon(icon, "wxPython Demo") + self.imgidx = 1 # bind some events self.Bind(wx.EVT_TASKBAR_LEFT_DCLICK, self.OnTaskBarActivate) @@ -992,10 +1049,10 @@ class DemoTaskBarIcon(wx.TaskBarIcon): icon size... """ if "wxMSW" in wx.PlatformInfo: - img.Scale(16, 16) + img = img.Scale(16, 16) elif "wxGTK" in wx.PlatformInfo: - img.Scale(20, 20) - # wxMac can be any size upto 128.128.... + img = img.Scale(22, 22) + # wxMac can be any size upto 128x128, so leave the source img alone.... icon = wx.IconFromBitmap(img.ConvertToBitmap() ) return icon @@ -1013,8 +1070,17 @@ class DemoTaskBarIcon(wx.TaskBarIcon): def OnTaskBarChange(self, evt): - icon = self.MakeIcon(images.getBlom10MaskedImage()) - self.SetIcon(icon, "This is a new icon") + names = [ "WXPdemo", "WXP", "Mondrian", "Test2m", + "Blom08m", "Blom10m", "Blom15m" ] + name = names[self.imgidx] + + getFunc = getattr(images, "get%sImage" % name) + self.imgidx += 1 + if self.imgidx >= len(names): + self.imgidx = 0 + + icon = self.MakeIcon(getFunc()) + self.SetIcon(icon, "This is a new icon: " + name) def OnTaskBarRemove(self, evt): @@ -1029,6 +1095,8 @@ class wxPythonDemo(wx.Frame): wx.Frame.__init__(self, parent, -1, title, size = (950, 720), style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) + self.SetMinSize((640,480)) + self.loaded = False self.cwd = os.getcwd() self.curOverview = "" @@ -1037,7 +1105,7 @@ class wxPythonDemo(wx.Frame): self.shell = None self.firstTime = True - icon = images.getMondrianIcon() + icon = images.getWXPdemoIcon() self.SetIcon(icon) self.tbicon = DemoTaskBarIcon(self) @@ -1076,7 +1144,7 @@ class wxPythonDemo(wx.Frame): item = menu.Append(-1, 'E&xit\tAlt-X', 'Get the heck outta here!') self.Bind(wx.EVT_MENU, self.OnFileExit, item) - wx.App_SetMacExitMenuItemId(item.GetId()) + wx.App.SetMacExitMenuItemId(item.GetId()) self.mainmenu.Append(menu, '&File') # Make a Demo menu @@ -1116,7 +1184,7 @@ class wxPythonDemo(wx.Frame): 'An interactive interpreter window with the demo app and frame objects in the namesapce') menu.AppendSeparator() helpItem = menu.Append(-1, '&About\tCtrl-H', 'wxPython RULES!!!') - wx.App_SetMacAboutMenuItemId(helpItem.GetId()) + wx.App.SetMacAboutMenuItemId(helpItem.GetId()) self.Bind(wx.EVT_MENU, self.OnOpenShellWindow, shellItem) self.Bind(wx.EVT_MENU, self.OnHelpAbout, helpItem) @@ -1209,8 +1277,8 @@ class wxPythonDemo(wx.Frame): splitter2.SplitHorizontally(self.nb, self.log, -160) splitter.SplitVertically(self.tree, splitter2, 200) - splitter.SetMinimumPaneSize(20) - splitter2.SetMinimumPaneSize(20) + splitter.SetMinimumPaneSize(120) + splitter2.SetMinimumPaneSize(60) # Make the splitter on the right expand the top window when resized def SplitterOnSize(evt): diff --git a/wxPython/demo/PopupControl.py b/wxPython/demo/PopupControl.py index 6f3bf12894..3cb7230171 100644 --- a/wxPython/demo/PopupControl.py +++ b/wxPython/demo/PopupControl.py @@ -69,9 +69,10 @@ class TestPanel(wx.Panel): def runTest(frame, nb, log): if wx.Platform == "__WXMAC__": - wx.MessageBox("This demo currently fails on the Mac.", - "Sorry") - return + from Main import MessagePanel + win = MessagePanel(nb, 'This demo currently fails on the Mac.', + 'Sorry', wx.ICON_WARNING) + return win else: win = TestPanel(nb, log) return win diff --git a/wxPython/demo/PopupWindow.py b/wxPython/demo/PopupWindow.py index 49072ea403..b04ab04093 100644 --- a/wxPython/demo/PopupWindow.py +++ b/wxPython/demo/PopupWindow.py @@ -196,12 +196,10 @@ def runTest(frame, nb, log): win = TestPanel(nb, log) return win else: - dlg = wx.MessageDialog( - frame, 'wx.PopupWindow is not available on this platform.', - 'Sorry', wx.OK | wx.ICON_INFORMATION - ) - dlg.ShowModal() - dlg.Destroy() + from Main import MessagePanel + win = MessagePanel(nb, 'wx.PopupWindow is not available on this platform.', + 'Sorry', wx.ICON_WARNING) + return win #--------------------------------------------------------------------------- diff --git a/wxPython/demo/Sound.py b/wxPython/demo/Sound.py index de0e5b948e..2584de414c 100644 --- a/wxPython/demo/Sound.py +++ b/wxPython/demo/Sound.py @@ -41,6 +41,7 @@ class TestPanel(wx.Panel): self.log.write("before Play...\n") sound.Play(wx.SOUND_ASYNC) + self.sound = sound # save a reference (This shoudln't be needed, but there seems to be a bug...) wx.YieldIfNeeded() self.log.write("...after Play\n") except NotImplementedError, v: @@ -54,11 +55,11 @@ class TestPanel(wx.Panel): style=wx.OPEN) if dlg.ShowModal() == wx.ID_OK: try: - #sound = wx.Sound(dlg.GetPath()) + #sound = wx.Sound(dlg.GetPath(), wx.SOUND_SYNC) #sound.Play() # another way to do it. - wx.Sound.PlaySound(dlg.GetPath()) + wx.Sound.PlaySound(dlg.GetPath(), wx.SOUND_SYNC) except NotImplementedError, v: wx.MessageBox(str(v), "Exception Message") diff --git a/wxPython/demo/SplitTree.py b/wxPython/demo/SplitTree.py index 9f12a935bc..0a73acdacb 100644 --- a/wxPython/demo/SplitTree.py +++ b/wxPython/demo/SplitTree.py @@ -122,8 +122,10 @@ class TestPanel(wx.Panel): def runTest(frame, nb, log): if wx.Platform == "__WXMAC__": - wx.MessageBox("This demo currently fails on the Mac. The problem is being looked into...", "Sorry") - return + from Main import MessagePanel + win = MessagePanel(nb, 'This demo currently fails on the Mac. The problem is being looked into...', + 'Sorry', wx.ICON_WARNING) + return win win = TestPanel(nb, log) return win diff --git a/wxPython/demo/StyledTextCtrl_1.py b/wxPython/demo/StyledTextCtrl_1.py index 8ce17450c9..7a7f731792 100644 --- a/wxPython/demo/StyledTextCtrl_1.py +++ b/wxPython/demo/StyledTextCtrl_1.py @@ -185,6 +185,7 @@ def runTest(frame, nb, log): ed.GotoPos(ed.GetLength()) ed.AddText("\n\nwx.StyledTextCtrl can also do Unicode:\n") + uniline = ed.GetCurrentLine() unitext, l = decode('\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd - ' '\xd0\xbb\xd1\x83\xd1\x87\xd1\x88\xd0\xb8\xd0\xb9 ' '\xd1\x8f\xd0\xb7\xd1\x8b\xd0\xba \xd0\xbf\xd1\x80\xd0\xbe\xd0\xb3\xd1\x80\xd0\xb0\xd0\xbc\xd0\xbc\xd0\xb8\xd1\x80\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x8f!\n\n') @@ -268,6 +269,12 @@ def runTest(frame, nb, log): print "GetTextRange(25, 35): ", repr(ed.GetTextRange(25, 35)) print "FindText(0, max, 'indicators'): ", print ed.FindText(0, ed.GetTextLength(), "indicators") + if wx.USE_UNICODE: + end = ed.GetLength() + start = ed.PositionFromLine(uniline) + print "GetTextRange(%d, %d): " % (start, end), + print repr(ed.GetTextRange(start, end)) + wx.CallAfter(ed.GotoPos, 0) return p diff --git a/wxPython/demo/Throbber.py b/wxPython/demo/Throbber.py index f855a2dfac..3b6d38c81c 100644 --- a/wxPython/demo/Throbber.py +++ b/wxPython/demo/Throbber.py @@ -161,13 +161,8 @@ class TestPanel(wx.Panel): #---------------------------------------------------------------------- def runTest(frame, nb, log): - if wx.Platform == "__WXMAC__": - wx.MessageBox("This demo currently fails on the Mac.", - "Sorry") - return - else: - win = TestPanel(nb, log) - return win + win = TestPanel(nb, log) + return win #---------------------------------------------------------------------- diff --git a/wxPython/demo/ToggleButton.py b/wxPython/demo/ToggleButton.py index 74323f5103..f03dd7f4b7 100644 --- a/wxPython/demo/ToggleButton.py +++ b/wxPython/demo/ToggleButton.py @@ -34,10 +34,10 @@ def runTest(frame, nb, log): win = TestPanel(nb, log) return win else: - dlg = wx.MessageDialog(frame, 'wx.ToggleButton is not available on this platform.', - 'Sorry', wx.OK | wx.ICON_INFORMATION) - dlg.ShowModal() - dlg.Destroy() + from Main import MessagePanel + win = MessagePanel(nb, 'wx.ToggleButton is not available on this platform.', + 'Sorry', wx.ICON_WARNING) + return win #---------------------------------------------------------------------- diff --git a/wxPython/demo/XMLtreeview.py b/wxPython/demo/XMLtreeview.py index 91a624e179..90d4605c85 100644 --- a/wxPython/demo/XMLtreeview.py +++ b/wxPython/demo/XMLtreeview.py @@ -2,123 +2,99 @@ import sys import wx -py2 = sys.version[0] == '2' - -try: - if py2: - from xml.parsers import expat - parsermodule = expat - else: - from xml.parsers import pyexpat - parsermodule = pyexpat - haveXML = True -except ImportError: - haveXML = False +from xml.parsers import expat #---------------------------------------------------------------------- -if not haveXML: - def runTest(frame, nb, log): - dlg = wx.MessageDialog( - frame, 'This demo requires the XML package. ' - 'See http://www.python.org/sigs/xml-sig/', - 'Sorry', wx.OK | wx.ICON_INFORMATION - ) +class XMLTree(wx.TreeCtrl): + def __init__(self, parent, ID): + wx.TreeCtrl.__init__(self, parent, ID) + self._root = self.AddRoot("Root") + self.nodeStack = [self._root] - dlg.ShowModal() - dlg.Destroy() + # Trees need an image list to do DnD... + self.il = wx.ImageList(16,16) + self.SetImageList(self.il) -else: - - class XMLTree(wx.TreeCtrl): - def __init__(self, parent, ID): - wx.TreeCtrl.__init__(self, parent, ID) - self._root = self.AddRoot("Root") - self.nodeStack = [self._root] - - # Trees need an image list to do DnD... - self.il = wx.ImageList(16,16) - self.SetImageList(self.il) - - # event handlers for DnD - self.Bind(wx.EVT_TREE_BEGIN_DRAG, self.OnBeginDrag) - self.Bind(wx.EVT_TREE_END_DRAG, self.OnEndDrag) + # event handlers for DnD + self.Bind(wx.EVT_TREE_BEGIN_DRAG, self.OnBeginDrag) + self.Bind(wx.EVT_TREE_END_DRAG, self.OnEndDrag) - def OnBeginDrag(self, event): - item = event.GetItem() + def OnBeginDrag(self, event): + item = event.GetItem() - if item != self.GetRootItem(): - self.draggingItem = item - event.Allow() # if DnD of this item is okay Allow it. + if item != self.GetRootItem(): + self.draggingItem = item + event.Allow() # if DnD of this item is okay Allow it. - def IsDescendant(self, firstItem, secondItem): - "Recursive check if firstItem is a descendant of a secondItem." - if firstItem == self._root: - return False - parentItem = self.GetItemParent(firstItem) - if parentItem == secondItem: - return True - else: - return self.IsDescendant(parentItem, secondItem) + def IsDescendant(self, firstItem, secondItem): + "Recursive check if firstItem is a descendant of a secondItem." + if firstItem == self._root: + return False + parentItem = self.GetItemParent(firstItem) + if parentItem == secondItem: + return True + else: + return self.IsDescendant(parentItem, secondItem) - def OnEndDrag(self, evt): - itemSrc = self.draggingItem - itemDst = evt.GetItem() - self.draggingItem = None + def OnEndDrag(self, evt): + itemSrc = self.draggingItem + itemDst = evt.GetItem() + self.draggingItem = None - if not itemDst.IsOk(): - print "Can't drag to here..." - return + if not itemDst.IsOk(): + print "Can't drag to here..." + return - if self.IsDescendant(itemDst, itemSrc): - print "Can't move item to its descendant" - return + if self.IsDescendant(itemDst, itemSrc): + print "Can't move item to its descendant" + return - # For this simple example just take the text of the source item - # and append it to the destination item. In real life you would - # possibly want to copy subtrees... - text = self.GetItemText(itemSrc) - self.AppendItem(itemDst, text) - self.Delete(itemSrc) + # For this simple example just take the text of the source item + # and append it to the destination item. In real life you would + # possibly want to copy subtrees... + text = self.GetItemText(itemSrc) + self.AppendItem(itemDst, text) + self.Delete(itemSrc) - # Define a handler for start element events - def StartElement(self, name, attrs ): + # Define a handler for start element events + def StartElement(self, name, attrs ): + if py2: + name = name.encode() + + id = self.AppendItem(self.nodeStack[-1], name) + self.nodeStack.append(id) + + def EndElement(self, name ): + self.nodeStack = self.nodeStack[:-1] + + def CharacterData(self, data ): + if data.strip(): if py2: - name = name.encode() + data = data.encode() - id = self.AppendItem(self.nodeStack[-1], name) - self.nodeStack.append(id) - - def EndElement(self, name ): - self.nodeStack = self.nodeStack[:-1] - - def CharacterData(self, data ): - if data.strip(): - if py2: - data = data.encode() - - self.AppendItem(self.nodeStack[-1], data) + self.AppendItem(self.nodeStack[-1], data) - def LoadTree(self, filename): - # Create a parser - Parser = parsermodule.ParserCreate() + def LoadTree(self, filename): + # Create a parser + Parser = expat.ParserCreate() - # Tell the parser what the start element handler is - Parser.StartElementHandler = self.StartElement - Parser.EndElementHandler = self.EndElement - Parser.CharacterDataHandler = self.CharacterData + # Tell the parser what the start element handler is + Parser.StartElementHandler = self.StartElement + Parser.EndElementHandler = self.EndElement + Parser.CharacterDataHandler = self.CharacterData - # Parse the XML File - ParserStatus = Parser.Parse(open(filename,'r').read(), 1) + # Parse the XML File + ParserStatus = Parser.Parse(open(filename,'r').read(), 1) - def runTest(frame, nb, log): - win = XMLTree(nb, -1) - win.LoadTree("paper.xml") - return win +def runTest(frame, nb, log): + win = XMLTree(nb, -1) + win.LoadTree("paper.xml") + return win #---------------------------------------------------------------------- diff --git a/wxPython/demo/bmp_source/wxp.ico b/wxPython/demo/bmp_source/wxp.ico new file mode 100644 index 0000000000..7c8a4a5d03 Binary files /dev/null and b/wxPython/demo/bmp_source/wxp.ico differ diff --git a/wxPython/demo/bmp_source/wxpdemo.ico b/wxPython/demo/bmp_source/wxpdemo.ico new file mode 100644 index 0000000000..3ed4f08c9f Binary files /dev/null and b/wxPython/demo/bmp_source/wxpdemo.ico differ diff --git a/wxPython/demo/data/testtable.txt b/wxPython/demo/data/testtable.txt index beaccdef72..dec973e730 100644 --- a/wxPython/demo/data/testtable.txt +++ b/wxPython/demo/data/testtable.txt @@ -31,7 +31,7 @@ Sonar tracking software Miscellaneous See Web site http://www.desertstar.com Dem Name Research software Platform Location Availability Description DisCo Research software N/A http://www.cs.tut.fi/laitos/DisCo/tool.fm.html N/A A tool for specification of reactive systems. CAFE Research software N/A cafe.htm N/A Cellular Analysis of Fire and Extinction -CODA Research software See Web site http://www.ozemail.com.au/~mbedward/coda/coda.html See Web site CODA assists in the design of networks of nature reserves or protected areas. It has been used for major reserve planning studies, as a teaching resource and for research into conservation planning methods.  +CODA Research software See Web site http://www.ozemail.com.au/~mbedward/coda/coda.html See Web site CODA assists in the design of networks of nature reserves or protected areas. It has been used for major reserve planning studies, as a teaching resource and for research into conservation planning methods. EGRESS Research software N/A http://www.aiai.ed.ac.uk/~jimd/Egress2/projInfo_contents.html N/A An evacuation decision model. ACT Research software N/A none.htm N/A A general process and tracker and automator being built at NASA. Rectangular nesting program Research software N/A http://www.elec-eng.leeds.ac.uk/een5mpd/research.html N/A Optimized layout of rectangles on a page. diff --git a/wxPython/demo/encode_bitmaps.py b/wxPython/demo/encode_bitmaps.py index e01bf1425e..84209178e9 100644 --- a/wxPython/demo/encode_bitmaps.py +++ b/wxPython/demo/encode_bitmaps.py @@ -22,6 +22,7 @@ command_lines = [ "-a -u -n TestMask bmp_source/testmask.bmp images.py", "-a -u -n Test2 bmp_source/test2.bmp images.py", + "-a -u -n Test2m -m #0000FF bmp_source/test2.bmp images.py", "-a -u -n Robin bmp_source/robin.jpg images.py", "-a -u -n Bulb1 bmp_source/lb1.bmp images.py", @@ -78,9 +79,16 @@ command_lines = [ "-a -u -n Blom13 bmp_source/toblom13.png images.py", "-a -u -n Blom14 bmp_source/toblom14.png images.py", "-a -u -n Blom15 bmp_source/toblom15.png images.py", - "-a -u -n Blom10Masked -m #FFFFFF bmp_source/toblom10.png images.py", + + "-a -u -n Blom08m -m #FFFFFF bmp_source/toblom08.png images.py", + "-a -u -n Blom10m -m #FFFFFF bmp_source/toblom10.png images.py", + "-a -u -n Blom15m -m #FFFFFF bmp_source/toblom15.png images.py", "-a -u -n FloatCanvas bmp_source/floatcanvas.png images.py", + + "-a -u -i -n WXP bmp_source/wxp.ico images.py", + "-a -u -i -n WXPdemo bmp_source/wxpdemo.ico images.py", + " -u -c bmp_source/001.png throbImages.py", "-a -u -c bmp_source/002.png throbImages.py", diff --git a/wxPython/demo/images.py b/wxPython/demo/images.py index d6379f5720..df5004136b 100644 --- a/wxPython/demo/images.py +++ b/wxPython/demo/images.py @@ -2169,6 +2169,114 @@ def getTest2Image(): stream = cStringIO.StringIO(getTest2Data()) return ImageFromStream(stream) +#---------------------------------------------------------------------- +def getTest2mData(): + return \ +'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00@\x00\x00\x00@\x08\x06\x00\ +\x00\x00\xaaiq\xde\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\tzI\ +DATx\x9c\xe5\x9bMl\x1b\xc7\x15\xc7\x7f\xb3\xcb%%\x91\xa2$\xca\xfa\x8a-Uv\x12\ +I\x90\x12\xb7\xaa\x93\x1a\xa8Q4n\xe04(\xec\xc0\xb9\x14\x01|\xef\xd6E\xe1K\ +\xd0\x9b\x83"@r\nzL\x04\x19\x01zI\x80\xdc\x1a\xc4A\x114@\x9d\x1c\x9cC\x11[\ +\x01\x92\xc8j\xe2\x1a\xf2Ge\xc9RdK\xa2DY\xe4r{x\\qI-\x97\xcb/Y@\xff\x00\xb1+\ +r\xc9\x99\xf7\x7f\xffy3\xf3\xdeH)M\xe7\xff\x19\xa1F7\x90\x1d\xb7\xecZ\xbe\ +\xafM\xe9\xaa^}\xf1\x82r+ hgKu\xaaVc\xabm\xb7\x16TE\xc06\xbe,\xfa\xfb\x99:\ +\xf4(\x00\xeaI\xc46\x01U\x19\xaf~W\xf8\x9e}!\x7f\xbf\x0bd\xd4\x83\x88\xca\tp\ +\xbc^l|1\x1c2<\x88\xb0lH\xdbru#:\x15\xa8\x07;\xa0\xe9\xd5\x13\x11\x9c\x80\ +\xa0\x86\x17\xc3\xa5\x8a\xf5q\xb0\x80\xa4\x05\xcb\x16\xacg\x85\x84\x9f\xcf\ +\xc8\xe7_\xa8\x97\xb6\x9f\xd5\xd1\x88\x12"A\x84\x18\x06:\n\x1d\x85\x81\x86\ +\x8eV\xf8\xfb9\x92\xabQD0\x02\xbc\xe4^\x0c\xc7P\xd7s\x16Y6\xb1X%M\x9f\xfd^\ +\xa0\x0e\xbd\xa6\xc6\x010\xd0\xe8 B?1\x12D\x88\xa0\x13%D\'M\xc41hB\xcf\x13\ +\xe1"\xa1\x14J\x91S\x9e\x80r\xc6\x970\\\xb7\xdf\xf5\xefQ@\x9cSc\xc4r\x06w\ +\x10a\x90V\xfa\x89\xd2CK\x9e\x08\xfb\xdd\xc01\xa7\x98\x08\x7f\x02\x82z>\xf7L\ +=\r/\xc6\xcbj\x90(!zi\xa1\x9f(\x87\x88\x17\x10\x11\xb5\xffZ\x15\t\xf5[\x08\ +\xd9\x17h\xe4\x9a\xf2o\xf6,\x00\xa7\xd4\x00\xf3lp\x9b\xf5m"\x06\x88\xf1c$\ +\xb0\x1a\x15F\x01\xa54\xbd6\xef?"\x9cR\x03\xb4\x11\xa6\x97\x16\x06\x89\xf1G\ +\xfb\x0b\xe6\x0eC\x97\x11\x8c\x04G\x05Z\xb9\x07\xf7*.\xda\xb7\xb8G\x8a\x7f\ +\xf3\x80+,\x010\xbd\t\x8biQBPx\x13\xb0\xc7\xbd\xef\xe0\x1f\xf6\x7f\xd9 \xc3<\ +\x1b\x00|\xb9\x11\x9c\x04G\xf5\xd5\xc5\x00\x0f\xe3-\x0b\xd2i\xc8fA\xd3\xc00@\ +o`Pp\xda\xbb\xb8>\xc7o\xa2}\x00L\xa7\xf2\x9f\x8f\x12l8TN\x80\x87\xf1\xe94\ +\xdc\xbf\x0f\x8b\x8b\xb0\xb9\t\xd1(\xf4\xf4@[\x9b\x90Qod\xb3\xb0\xba\n\x0b\ +\x0b\xb0\xbe\x0eo\x7fs\x17\x80\x85\x0cP!\t\x95\x11Pd\xbcR\x93\xdb\xf7\x9f\ +\x7fn2=-\x1d;p\x00\x8e\x1c\x81\xe6fhj\xaa\xa8\x05_\xb8\xdb\x9b\x991\xb9z\x15\ +\xee\xdc\x81x\x1c~\xf8\x016,\xb8\x07\x15\x91\x10\x9c\x00\x1f\xe3\x01\xa6\xa7\ +\xe1\xca\x15Q@&\x03O>)\x9e*\x86#]\xcb\xf2nF\xd7\x83\r\x9f\x91\x91I\xde|\xd3\ +\xe4\xda\xb5<\xc9\x93\xff\x82?\x1c\x85\xc5\x8c\x0c\x07\x05\xe8\nB\n\xf6\x85@\ +\xf3 !\x18\x01\x01\x02\xde\xbd{\xb0\xb4\x04\xb6\r\xa9\x94\x18i\xbb\x02\x91e\ +\t9\xab\xab\xe2\xad\xf5\xf5\x9d$\xe8\xba\x0c\x9f\xceN\xf1jS\x93?\x11\xa9\x14\ +\xac\xadA2)\xed\xaf\xad\xc1\xdf\x17\xe0T\xaf\x900\xb3\tQ\r\x12\xba\\\xa3\x1e\ +\xbfU\xb7\x85\x90\x9fW\x8b\xd5R\x8c\xf3\xe7M@<\xdf\xd1\x01\x83\x8300\x00}}\ +\xf2\xb7a\x94\xfe\xae\xa32\xa7}\xdb\x86\xac\r[\xc0R\x06f\xb7\xe0G[\xd0m@\xb3\ +\xb6S\x05\xe5\t\xa8a\xba\x8b\xc5\xfc\rw\xf0\xc6\x1b\xf2\xdc\xe9\xd3&\xd1(\ +\xdc\xbc)$\x8c\x8d\xc1\xf00tu\xf9\x93P\x8cKkp\xbc\x15\x1efa>\r7\x1eB\x7f\x18\ +\xe2\x1e*hXN\xf0\xd8\xb1`\xc6\xbb\xf1\xe1\x87\x93\x9c8a\xb2\xb2\x92\x1f&\x00\ +\xa1\x10\xec\xdbWy\x1f,`\xc5\x82\xdbi\xb8\xbd\x05=\x1e*\xf0\x9f\xa4\xaa\xf4\ +\xbe\xe3\xd1j\xf0\xe9\xa7\x93\xa4R0?\x0f33\xf0\xed\xb7p\xf7\xae\x8c\xf7JpiM\ +\x86\x82[\x05\x0biH\xe5\x86L\xc1R\xb8\xd1\x99W7N\x9f69s\xc6\xf4}\xc60dL/-\ +\xc1\xec,\xdc\xba%\xc1\xb3\x1a\x14\xab`5+\xc48(\xad\x80\x1a\xc6\xbe\x13\xd4\ +\xdc\x98\x980y\xfdu\x93\xf1q8z\x14>\xfa\xc8dj\xca\x9b\x88O>\x99\xc40`kK\x94p\ +\xe3\x86,z*\x85[\x05\x0bi\xb8\xb9\x05\xcb\x19\xd8r\x11\xd0\xb0\x18p\xf9\xb2\ +\xc9\xe1\xc3\x10\x89\xe4W\x89\xc9\xa4|\xe6\x9e\xea\xd2i\x13\xc3\xd89d\xda\ +\xdbay\x19VV\xe0\xf6myU\x0b\x0bHf\xc5\xf8d\x16\xdc\xcb\x93m\x054&\xe7.r\xee\ +\xec\x84\xc7\x1f\x87\xa7\x9e\x92\xd7\x13O@w\xb7\x10\x11\n\x81m\xefT\xc2\x07\ +\x1fL\xa2\xeb\xf0\xf0\xa1x\xff\xe6\xcd\xea\xfb\x91\xb5!c\xc3fN\r\x19?\x05hS\ +\xba\xca\x92\xb1e\x1dU\x1f\xe8zu\x1b#\x87\x80dR\xd4P\x0b,;\x9f\x8cMZ`g\xb7l\ +\xa5\x85UA\x0c\xc8\xab`\xd7bb\xc3qiM\xae\x19\x1b\xee[pg\x0b\xf6\x7f\xfd\r\ +\xb2T\xda\xe3\t\x11\xcb\x12\x15\xc4b\x90H\xd4\xf8[\xe4\xe3\x00$q"\xc1\x9e \ +\xc0k\xa9\xfc\xca+&\x99\x8c\xc4\x88\x8e\x0e\xd9a\xd6\x82l\xae\x10\xf3\xe7\ +\xbb\xe7\x11:$\x10\n\xf0\xc2\xae\x12P\xce\xf8\x17_4io\ +\x87\xc7\x1e\x83\x83\x07\xab\xdf\x0eW\x82]#\xc0\xcfx\xb7\xe4\x87\x86d\xb5x\ +\xf0`\xb0\x84Hph\x80\x0e\x18\xb9\xab\xacuv\x85\x80\xa0\xc6\x8f\x8e\x8a\xe4GF\ +$\xf8\x95K\x89U\x06\x1d\x88\x01\x89\xdcU\xe2\xbf\'\x01\x9a\xae\xab\xacU\xd9\ +\x89\x91\xe6fY\xb08\xf7\x86!{\x01?\x9c:\x1a\\\xf2\ +A\xdaT\xea\xb9\xdc]\x08\xe8\x00\x0e\xe4\xae\xe1\xedw\xeb\x82\xc1\xc1\xc2\xfb\ +x<_\x13\xb0ms\x87\n\xdez\xcb\xe4\xce\x1d\xd9-\xf6\xf7W7\xde\xfd\xda\xdc\x89B\ +\x05(-\xac\xa0\xe8\x90\x94\x1bA\x15\x90\xcd\xca\xa2en.\xbfaI$$\x90\xb5\xb7\ +\x17vH\xa9I66L\xe6\xe6\xe0\xfb\xefe\x97\x17\x8fK\x02\xf4\xc0\x01\xf9^\x10\ +\xe3-K\xda\x9a\x9b\x93\xed\xb2\xb3Z\xec\xed\xddY\x8c9\xde\n\x9f%\x7f\x05\xc4\ +\x81q\xe0\xd7\xc0\xd3(-^\x9f\xe2\xa8R"\xbfx\\\xb6\xb7\xd1\xa8\xdc77\xef\x94\ +\xe3\xd6\x96\xc9\xea\xaat\xda\xb2D\xbe\x9d\x9d\xb25\xae$\xd89\xb5\x05\xdb\ +\x96\xf6\xfa\xfa`\xff~hm\xf5V\xc0\x89\xd6\x7f\xe25\xfe\xc1g\x08\x04\x89\x03\ +\x8e\xac\x17\x16Lfg\xe1\xbb\xef\xe4\xfd\xa1!\t`\x91\x88\x90P,\xffw\xde1\x99\ +\x9f\x97\xce\x1e:$\x04x\x15Q\xfc\xda\xbb~]\xda\xb3m\xc9/D"B\xba\x1b\xc7[%\ +\x01\x1a\xd1\xe0\xd5\x9e\xf7\xf8\xcb\xc2os$\x84\xcb\x13\x10\xb43\x00==\x93LL\ +\x98|\xf5\x95\xfc\x9d\xc9\xc8BF\x94\xb0s\x06\xb8zU\xf2}N\xe0\x1a\x19)O@\xa9\ +\xf6\x9c\xe1\x00\xf9\xec\xb1[\x05:\xd0\xa6C\xbf\x01\xd0\x0f\xc4\xb7\xc7?\xf8\ +\x0c\x01{\xc2\xb2+9~\xb6\xbc,\xaf\xc5\xc5|\x95\xa6\x94QKK\xf2y*%d\x05\xf1~1\ +\xce\x9e\x9d\xdc\x8e\x03\xd7\xaf\xcb\xeb\xfe}\x19\x1aP\xe8\xfd^\x03\x0eE`\ +\xee\xf08P(\x13_\x05\xd8\x13\xc1\xa7\xc2DB\x02\xd0\xe6\xa6x\xc2\xaf*\xecHu\ +\xdf>\x91\x7f\xa9\xb1[\x0emm2\x04t\xdd{\xcau{\xdf)\x8c\xb8\xbd\x0f%\x08p\x1b\ +^*\x16\x14Om\xa3\xa3ru\xaa\xc3\xa5\xa6\xa4\xf7\xdf\x97x\x91\xc9\x88\xf1\xa3\ +\xa3BD8\xbc\xf3Y\xbf\xf6\x9cj\xf4\xf2\xb2\x90?4\x94\x0f\xa4^\xdew\x8a"\xc5(\ +\x1b\x03\xfcT\xe0$3\x9d\xf3\x01\x9d\x9d\xf9\xf3\x01\xdd\xddb\x94\xf3L6+\xd1\ +\x7faA\x82\x96m\xcb,\xd0\xd5%\x1d\x0f\xa2\x00\xaf\xf6R)Q\x94\xfbw4\x05\xe1\\\ +Ex0\x0c\x039\xef{U\x87=\xd7\x01^F\xdbeN\xcc\x049!R\\\x1a\x0fZ\n\xaf\xa4\xbd\ +\xe7\xe3b|W\x08\xc6\x9a\xe1gQ\x18k\xca\x97\xc7\x8b\xb3\xdf\x81g\x01u\xc1\x9f\ +\x84 \x99\xdfj\xb3\xc3A\x7f\xcbm\xfch3\x1ci\x81\xe1\x08t\x948\x1b\x00\x15.\ +\x84\xd4\xa3?\x17U\x12\xc5\xc6?\xd3\x02\xa3M\xe5\x8f\xc8T\x1c{\xf7"\tA\x8d\ +\xf7*\xfeT\xb5\x14\xdeK$T\xeby\x07U\xef\x05\xf6\x02\tJ\x9d\xa0%7\xd5\x8dUa<\ +\xd4\xb8\x19z\x94$(u\x12\xe8\xe6\xe3\x95W9\xd2"\xd1\xde\xcf\xf8R\xb5\xcf\xda\ +w\x83\x17v\x97\x88S\xed\xa0\xd4\x19`\x18x\x16\xf8%\xbf\x88\xc9TW\x89\xe7\x1d\ +\xd4-!\xa2.\x00Y\xb0\x7f_\xaf_,\xc4\xcb\x1dr\xd2k\xb8\t>^y\x168\x84lnz\xf8\ +\xc9\xb5$\x99\x9f\xc6\xa8\xa6\xbe\x1dx!T\x11\xeaH\xc4\xb9n\x88\xe9\xd0\xa4d>\ +\x1f\x0c\xc3K\xff\x99\x02z\x90$G\x13J\x8b(\xbf\xffx\xf1+\xfd\x97\xcc\x08\xd5\ +L\x02H\xfd1\rl\x82\xfd\xa7`_yM\x8e\xfdb\xe4\x0c\xee\x0f\xcb9\xbf\x88&\nxzz\ +\x0e\xb7\xe1\x05\xcd\x95 \xc1\x8f\x80\xc6f\x855 \x02\x18\xa0\xdeF\x089\xb7\ +\x82Tg\x97\x81u\xa4PY\x88\xcb\xc3\xc7\xd0U\xfe\x90\xe3\xfe\xafW\x90\xbd\x9d\ +\xa4\xb5\x8b\r\xf7\xedB\x99\x83\x1f\x8dU@)\x98\x19D\x1a%NVn\xa3r\x83\x8bUP5\ +\x01\xd0\x18\x12\xd4\xd9\xdd9\x91\x96\x1d\xb7\xec \xc7~v\xb5:\xbc[\xc6C\xf03\ +O\xbe\x04\xd4\xb3\xc3\xbbi|%\xf8\x1fg\xd4\x81\xf3?2\x98\xba\x00\x00\x00\x00I\ +END\xaeB`\x82' + +def getTest2mBitmap(): + return BitmapFromImage(getTest2mImage()) + +def getTest2mImage(): + stream = cStringIO.StringIO(getTest2mData()) + return ImageFromStream(stream) + #---------------------------------------------------------------------- def getRobinData(): return \ @@ -5888,7 +5996,39 @@ def getBlom15Image(): return ImageFromStream(stream) #---------------------------------------------------------------------- -def getBlom10MaskedData(): +def getBlom08mData(): + return \ +'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\ +\x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\ +\xd0IDATx\x9c\xb5W\xed\x15\x83 \x0cL\xd4\x8d\xca\n]\xa5\xcc\x84\xab\xb8\x02\ +\x8e\xa4\xe9\x8f\n\r_1X\x9b\xf7x\x15\x8b\xb93\xb9D@\x1cF\xd0\x1a\xed\x1b\x9d\ +\xad\xc1aD\xb5C\x00\x98z\x80\xe9\x14\x1e\x00q\xa3\x1e\x12(E\xa0\x078u\xaa\ +\x8fD\x93\x00\xed\x1b\xf5\x02\xe7$\x92y\x83\xd0\xf0\x0f\xf0\xe8\x87\xd8h\xe8\ +\'\x89\xc0\xd5\x90k\xad\x96\x9a\xe9n`\xc4>?\xd3]\xe1\x0e9\xef\xf5U\xd5\xc0U\ +\xe0+/\xf23\x01]o\x10\x08\xe00"_ -\xbeb\xb9&\xf2j\x98\x00>\xcaD\xfch\x81HGB\ +\x1bn\xee\xaf\xe6;\xb6\xe2\x1a\t\xf2\xaep\xb8\xae\xeb\xf1fsBDR\xbfD6\xf9\x16\ +p\x12-{<\x1e\x1f\xa7\xde\xc1\xba\xaeM"\xear\xc4a,\x06\x00P\x18\xde\xbd\xaa\ +\xd7\x00@\xe4]\x1c\xf1\x1e\xc9\x03\x00(\xc1\xaa\x81\xe7s\x0e\xd2"J\xde%\x04\ +\xb5\x04\xc4\xcf1\xed\x1b\xd5t\xc0\xa2\x87A\xd5h\xec\xf79\xd27&\xd5~\xe0\xcc\ +8I4\xb6P=\xd7Gn?7\xa2\xdc\xbc{\x15\xe0\x88)\x11\xde\x0b\xc4\x08\xe00"\x1a{\ +\xf9KQ\x8b@\xde\x0b\n\x02!\xaf\xe17\x94\x1b\x00\x80\xb1s\nP\xd1H(SN"\'\x94\ +\xe0\x89;\xa2\x8a\x00\x13\xb15\x04\x8a\xc6\x8a\xe2\xe3\xfb\x82n\x11JU\x11\ +\xcc\xbb\x17 \xce\xaa.yK\x15\xe4f\xec\x9c\xe4?\x0f=\xdf\x15\xfd\x85\x00@]p\ +\xb5\x8d\xa9\xba\x0c\xd1X@c\xa3 \xa5uR\xdd\x97DO\xce\x05\x9a\x9cs\xf0\xf8,\ +\xcb\xb9tN\xb8%\x05\x11x9n<\xf5\x1b\x1b1\x02\x00\xbar\xe4\xc0M\xa0F\x04TG\ +\xb3\xaa-\xec:\x07\xce\xfe\x93\x8eiM\x11F\xf0\xc3Yt\xb2T\xc0\xf9\x9c_\x1fs\ +\xe9E\xe4*X\xbe\xbf\xb4oT\x84:\x80?\xb3\xf5\x1d\xf6\x06\xb5\xbfg\x05\x93\xe5\ +\x9f7\x00\x00\x00\x00IEND\xaeB`\x82' + +def getBlom08mBitmap(): + return BitmapFromImage(getBlom08mImage()) + +def getBlom08mImage(): + stream = cStringIO.StringIO(getBlom08mData()) + return ImageFromStream(stream) + +#---------------------------------------------------------------------- +def getBlom10mData(): return \ '\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\ \x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01iID\ @@ -5908,11 +6048,42 @@ ATx\x9c\xbd\x97Q\xb2\xc3 \x08EA\xdf\x92XS]S\xb2&\xb7\x94\xd8/:\x84J@M\x1f3\ \x08\x00{&|\xfd\xa0\xaa\x8c\xe5\xdb\xb1\x06\x89\x86\x9c\xacw\x10o\xea\r\xf9&\ G\x80\r\xe3\x00\x00\x00\x00IEND\xaeB`\x82' -def getBlom10MaskedBitmap(): - return BitmapFromImage(getBlom10MaskedImage()) +def getBlom10mBitmap(): + return BitmapFromImage(getBlom10mImage()) -def getBlom10MaskedImage(): - stream = cStringIO.StringIO(getBlom10MaskedData()) +def getBlom10mImage(): + stream = cStringIO.StringIO(getBlom10mData()) + return ImageFromStream(stream) + +#---------------------------------------------------------------------- +def getBlom15mData(): + return \ +"\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\ +\x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\ +\xadIDATx\x9c\xbdV\xd1m\xc40\x08\xc5I'\xe9\n\xe7\x99\xe2\x99\xb8\x99\xc8\x08\ +\x1d%\xa1\x1f-\x11qm\xc0\xd6]\x91N\xba\x04\x02\x0fx\xc6\xa4\xb4\xac0*|\x1e\ +\xac\x9f\xd3\xb2&\xfd^\x9e#\xf21\x13\x94\x88n\xba\x9c3\xeb\xf79g\x0e\x83H\ +\xcb\xea\xfe\x00\x80\x11\x91\x11\x91\x89\x88\x01\xc0\xfc!\xe2\xf5\xdf\xf5\ +\xef\xb5\xa0.\xf7\x8cX\xd5X\xde\x1d\xdc\xf3c\x02x\xa5\xf4@t\x01\xbc*{O\xdeV\ +\x01&\x04&\xbc\xbfk$\x15:\x86\xe2(\xe5\x12\xb6\x8dJx\x0e\xcc8\x8fH\xb3\x05\ +\xff\xd5\x7f\x80@\x05t\xd6\xfb\xbeC.\xcf\x90c\xc2\r\x1e\x8f\x87k\xd7\x1cD\ +\xba\x02\x1a@\x8b\x03\x16?Z\xbaz(\xf5\x8fa\xd5\xef\x08\x01k\xd1\xdf\xf4\xf83\ +DB/HK\xf6}7\xf5]\x00)\x17\x97\xf5\xba\xcf\x16\x10&\xec\xea\xcdA\xe4e\xa7If\ +\x81\x15?\xadK\xa9\t r\x97\x13n\x9e\xc9\xbdB\x1d\x9f\xe1Q\xac\x03\xd6\xa5\ +\x97\x0c{6\x96\x98\xfb\x00\x9f\x07{\xa5\x95\xa0V\xb0\x94K\xb7\x02\xa1\x85\ +\xa4\x07B2\xf7@N/$u\xa0Q}dv\xb8\x00\x04\xbd\xe5,-k\xaa\xf5\x16\xf3\x87\x00XN\ +\xe4\xce\xbf\xd6\xf1\x1aD\xe04\r-$\xbd*\x08\x07\xbe\x1c\xbbi\x00|\x1e\xfc\ +\xb3i\x1b6\x84\xf0\xa9\xc8\x88\xc8\xa1k}x%\x9b%\xe44\x00\x9d\x85Ta\x84\xf5^\ +\x15\xcc\xdb\x90\xcf\x83\xb7\x8d\xe0\xf9\xcc\xa1`5P\xedgx\x14\xd7\xc8KI\x7f\ +\x9c_\xa7\xe0\xb7\xf7\x88|\xe9\xc5~\xdb\xe8\xe2C\xab\x1a\xdd\x9dP>l\x89\x04\ +\xba\xcez\xa0\xef\x1a\x88\t\xa0\xc5\xf8\xfaYW#\xe5\xd2\xcc\xbc\xf5\x9d\x00\ +\xd1 \xbe\x01\xda\x18*\xbd\xb7\xee\xad%\x00\x00\x00\x00IEND\xaeB`\x82" + +def getBlom15mBitmap(): + return BitmapFromImage(getBlom15mImage()) + +def getBlom15mImage(): + stream = cStringIO.StringIO(getBlom15mData()) return ImageFromStream(stream) #---------------------------------------------------------------------- @@ -7704,3 +7875,75 @@ def getFloatCanvasImage(): stream = cStringIO.StringIO(getFloatCanvasData()) return ImageFromStream(stream) +#---------------------------------------------------------------------- +def getWXPData(): + return \ +'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\ +\x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\ +\xd2IDATx\x9c\xadW[\x0e\xc4 \x08\x1c\x9a=X=\xb9{3\xf6Cq\x01\xf1\xd1\xc7$M\ +\xad\xad\xcc\x08\x8a\x94\x000\x16`f\x10\xd1\xea\xb3[\xf8`\xa0\x80\x00\xe4\\\ +\xdbD\xad\r\x00)\x15QOAD \x00\x9d\xa9\xd9\\E\xc8\x1b"\x88\xa8x \x82\xd8&\xb2\ +\n\x89`\xbc\xf1\x14C\x01\x85\x8c!\xfe(m`\xee\x9f\xeb8^\xb5\xf6\xb6\x00f2m\ +\xfd\x0c\xe0\x95\x9d\xd1\t\x10\x93D\xffxK[\xc7_\xef\x10\xb9\xee\xe0\xa3I\xb5\ +a,\xfa\xa2wwD\x10j\x1a\xb8\xb3\xb2\xd3Y,\xf8\xb1\xd1\x16-\xe2\xfa\r\x7f\\%O\ +\xa7\xbd\x83\x0b\xa1F\t\xdb\x9e7\xda\x1a\xd0F\xbcAC\xe8\xdaO\xd1\x04h/\x98\ +\xb4\xeb\x89\t[\xa9`\xd7\x0b\x87\x18\xf6\xae\rg,\xf6\x18\xc8_\xd5\xf7 #\x97\ +\xe1+\x03j"9;Ajl\x13U\xa1\x17\xe3\xc8\x1b\x87&\x10\x03\xe6\xae\xc7i\xa1j\x8c\ +\'\x1e\x81\x99\xcd\xd5\xe6\xe0\xcf\xfb(\xeb\xfb\x99\xb71\x17<\x10m\xcd.\x13z\ +\xf2\x9cK\xa7\'\xf7\xa43\xf2\x19\xcci\xd8\xc8\xeb"K\'\xd0vdUdb\xca\xe5\xfdn\ +\x08"\xb4\x10\xa0\x86\x80\xfad\xd5\x11\xb7\xa2\xe4\x8c\xc9G\x990\xea3\x15Q\ +\xb4N\xf5\xa0U\xccG\xe43\x01\x07\xe3/!Z\xa5\xf2\xe1\xf7k\xeb\xc2+\xe43\xd8\ +\x10\x84\x07\x08\x96\xb3\xde!\xf7\x1e\x10\xdb\x7f\x01\xc1\x00\x9f\x92g\xe4\ +\x1a\x11\x91\xee\x17\xdb)-jB\x9d\x8eg\xe4\xfe4\xd5\xa4Q\xbd\xa0\xfb\xc2\x92\ +\xcc/\xb6\xa1\xc0\x80\\\x13\xf8w9\x07b\x11\x84\xe0\x8a\xfb\xefB\xc26\x0c\xc1\ +\x9bg~[#j\xbfK*\xdf.\xcbG\x82VBS\x02 \xde$t\xa9\xfc\xd2.\xe8?\xaa\xf7\xd1\ +\xcf%\x14\xf9 ;N~\xcd\xe2\xd3\xaeUE\xb0\xbfo\x1d6\xeb\xcc\x87\xf5\xccs\xfc\ +\x00\x9b/\x1b?\x06U\xaa\xa2\x00\x00\x00\x00IEND\xaeB`\x82' + +def getWXPBitmap(): + return BitmapFromImage(getWXPImage()) + +def getWXPImage(): + stream = cStringIO.StringIO(getWXPData()) + return ImageFromStream(stream) + +def getWXPIcon(): + icon = EmptyIcon() + icon.CopyFromBitmap(getWXPBitmap()) + return icon + +#---------------------------------------------------------------------- +def getWXPdemoData(): + return \ +'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\ +\x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\ +\x94IDATx\x9c\xb5WAn\xc4 \x0c\xf4@\x7f\xd2>\xa5y5}J\xbe\x92\xb8\x87\r\xac\ +\x01c\x02dGZiE\x103L\x06\x9b\x00\xce\x93\x05>\x0f\x8e\xff\xe1<\xcc\xc9\x13\ +\xf8\xea\x913\'~\x02\xc0O\x8bh\n(\xc9\x89\x88\x98\x99\x00d\x83\xab\x82T\x01\ +\x99\xed@"\x97B\xc4\xf3%W\\I\xcc\xe7\xc1\x14\xc4\x18s"\x04@\x9a+R\xf0(\x92\ +\x03%1\x05\x9d0\n\x89\xe4\xab0C\x18E\x94x\x828\x02p\xbe\xde\xbd\x85\xad\xca\ +\x00Qx\x8d\xcfd\xc1\xf5\xa7\x14\xb8\\\x89\xbf$<\xd0T\x16\x10\x0b\xd1\x90\x0b\ +-L\xb80\xee\x80\x85\t\x17\x92\x008\x0f\xda\x88h3f[\xcf&\x91\x9d\x028\x8f\xfd\ +<\xf8\xbbE\xb4\xfa\x8a\x14@6\xa3\xfd<\xf8\xc7x\x87\x99\xbd\x96\x18\x91\x85^3\ +K\x0e\xf4\xc8\xcb\x05x\xbb\x166\x84TUu;\xaa\xb2=\x1dB8\x8f\x94\x1bcN\x96+%\ +\xa4\x8e\xe8\xbd\xfb}0\xc1\xaf\x8e\xa9<\x10D=\xa1\xe8]H\xee\x92\xe3O\x99Tf!\ +\xd4\xe3\xcf\xd6\x01\x03-\x17\x86\x05\xc4\x96]Z\xcf\xbf\xca\xe4Va\x12\xe3\ +\xb7\x05hw\x85Qh.\xd8\xedX\x90\x7f\xa2\x08\x11\xddp\xe0\x93\xe4]\x01#\xe4\ +\xea)\x90\xeb\xcc\x08P1\xd3\x90B;C\xe6\xb5\xbc\xda\xbd8\xbf\xc0\xfb$X\xbb\ +\x97"4,\xd7\x01\x93\xbc\xe5V\xb6\x91F%l\xbe\x7fQ\xd7\xbb\xb8\x88\xca\x0c\xc8\ +\x86t\xeb\x18f\x18\xb8\xbc\xa6]\x1a]\xd6\xec\x05\xc3GPX~\xf7n\xd8mF\xc9\xbe\ +\x96\x90\t\xd2!\x01\x95\x90r\x81\xc5\x8f\xd3\x7f\xa5\x8a\t\xa7n\x17\xec.\x00\ +\x00\x00\x00IEND\xaeB`\x82' + +def getWXPdemoBitmap(): + return BitmapFromImage(getWXPdemoImage()) + +def getWXPdemoImage(): + stream = cStringIO.StringIO(getWXPdemoData()) + return ImageFromStream(stream) + +def getWXPdemoIcon(): + icon = EmptyIcon() + icon.CopyFromBitmap(getWXPdemoBitmap()) + return icon + diff --git a/wxPython/distrib/README.win32.txt b/wxPython/distrib/README.win32.txt new file mode 100644 index 0000000000..291d65906b --- /dev/null +++ b/wxPython/distrib/README.win32.txt @@ -0,0 +1,31 @@ +wxPython win32 README +--------------------- + +The self-installer pacakge you have just installed contains the Python +extension modules, python modules and pakcages needed to run wxPython +applications. If you selected the "Make this install be the default +wxPython" option in the installer then this version will be the one +that is imported when apps do "import wx". See the following wiki +page for more information about managing multiple installs: + + http://wiki.wxpython.org/index.cgi/MultiVersionInstalls + +In addition to the wxPython modules, several tools scripts (such as +XRCed and PyShell) and batch file launchers have been installed to +Python's Scripts directory. (For example, c:\Python23\Scripts.) IF +you have multiple versions of wxPython installed these tool scripts +will use whichever is the default install. If you would like to +control which version is used then follow the directions at the wiki +page for using wxversion. + +This installer does *not* include the wxPython documentation, the +wxPython demo and other sample applications are provided as part of +wxPython. Those are available in a separate installer named +wxPython2.5-win32-docs-demos-*.exe which should also be located from +wherever you downloaded this package from. The Docs and Demos +installer will also create Start Menu shortcuts for the tool scripts +mentioned above. + + + + diff --git a/wxPython/distrib/all/README.txt b/wxPython/distrib/all/README.txt index 1747624dba..ca45b8e9ae 100644 --- a/wxPython/distrib/all/README.txt +++ b/wxPython/distrib/all/README.txt @@ -1,8 +1,8 @@ The collection of scripts in this directory are an attempt to fully automate the build of the wxPython source and binary packages on all -build platforms. It does this through creative use of shared folders -on network drives, and ssh commands to the remote machines. So this -will likly only work in my somewhat unique environment. +build platforms. It does this through creative use of ssh and scp +commands to the remote build machines, so this will likely only work +in my somewhat unique environment. The goal here is to be able to start a build on one machine and have it take care of all the steps, including moving the source tarball to @@ -12,7 +12,7 @@ may be copied to a public server for others to play with. Types of builds: - dry-run + dryrun Nothing extra is done with the build, this is just for my own testing. @@ -21,14 +21,17 @@ Types of builds: datestamp, and if the build is successful the results are copied to a daily build folder on starship. - release-cantidate + release The results are uploaded to the previews foler on starship if the build is successful. -The master script in this folder is "make-all" which will setup and -control the whole process. The other scripts are what are run on each -build machine, most of which will also call out to other scripts that -already exist, etc. +The master script in this folder is build-all (written in Python) +which will setup and control the whole process. The other scripts +(using bash) are launched from build-all either to do specific tasks +locally, or to run on each individual build machine to manage the +build process there, usually by calling out to other scripts that +already exist. The build-all script uses the taskrunner.py and +subprocess Python modules. diff --git a/wxPython/distrib/all/build-all b/wxPython/distrib/all/build-all index b0e0c2504b..24f66ead48 100755 --- a/wxPython/distrib/all/build-all +++ b/wxPython/distrib/all/build-all @@ -1,410 +1,256 @@ -#!/bin/bash -# --------------------------------------------------------------------------- -# Master build script for building all the installers and such on all the -# build machines in my lab, and then distributing the results as needed. -# --------------------------------------------------------------------------- +#!/usr/bin/python +#---------------------------------------------------------------------- +# Name: build-all.py +# Purpose: Master build script for building all the installers and +# such on all the build machines in my lab, and then +# distributing the results as needed. +# +# This will replace the build-all bash script and is +# needed because the needs of the build have outgrown +# what I can do with bash. +# +# Author: Robin Dunn +# +# Created: 05-Nov-2004 +# RCS-ID: $Id$ +# Copyright: (c) 2004 by Total Control Software +# Licence: wxWindows license +#---------------------------------------------------------------------- -set -o errexit -#set -o xtrace +import sys +import os +import time +from taskrunner import Job, Task, TaskRunner -# --------------------------------------------------------------------------- -# Some control variables... +#---------------------------------------------------------------------- +# Configuration items + +class Config: + def write(self, filename="config", outfile=None): + if outfile is None: + f = file(filename, "w") + else: + f = outfile + for k, v in self.__dict__.items(): + f.write('%s="%s"\n' % (k, v)) + +config = Config() # the local spot that we put everything when done, before possibly copying # to remote hosts -STAGING_DIR=./BUILD +config.STAGING_DIR = "./BUILD" # host name of the machine to use for windows builds -WIN_HOST=beast +config.WIN_HOST = "beast" # Where is the build dir from the remote machine's perspective? -WIN_BUILD=/c/BUILD +config.WIN_BUILD = "/c/BUILD" # Just like the above -OSX_HOST_panther=bigmac -OSX_HOST_jaguar=whopper -OSX_BUILD=/tmp/BUILD +config.OSX_HOST_panther = "bigmac" +config.OSX_HOST_jaguar = "whopper" +config.OSX_BUILD = "/BUILD" # Alsmost the same... See below for hosts and other info -LINUX_BUILD=/tmp/BUILD +config.LINUX_BUILD = "/tmp/BUILD" # Upload server locations -UPLOAD_HOST=starship.python.net -UPLOAD_DAILY_ROOT=/home/crew/robind/public_html/wxPython/daily -UPLOAD_PREVIEW_ROOT=/home/crew/robind/public_html/wxPython/preview +config.UPLOAD_HOST = "starship.python.net" +config.UPLOAD_DAILY_ROOT = "/home/crew/robind/public_html/wxPython/daily" +config.UPLOAD_PREVIEW_ROOT = "/home/crew/robind/public_html/wxPython/preview" + +# defaults for build options +config.KIND = "dryrun" +config.PYVER = "2.3" +config.skipsource = "no" +config.onlysource = "no" +config.skipdocs = "no" +config.skipwin = "no" +config.skiposx = "no" +config.skiplinux = "no" +config.skipclean = "no" +config.skipupload = "no" +config.skipnewdocs = "no" +#---------------------------------------------------------------------- +# Define all the build tasks -# --------------------------------------------------------------------------- -# functions +class Job(Job): + LOGBASE = "./tmp" -function usage { - echo "" - echo "Usage: $0 [command flags...]" - echo "" - echo "build types:" - echo " dryrun Do the build, but don't copy anywhere (default)" - echo " daily Do a daily build, copy to starship" - echo " release Do a normal release build, copy to starship" - echo "" - echo "optional command flags:" - echo " 2.2 Build for Python 2.2 (default=off)" - echo " 2.3 Build for Python 2.3 (default=on)" - echo " all Build for all supported Python versions" - echo "" - echo " skipsource Don't build the source archives, use the ones" - echo " already in the staging dir." - echo " onlysource Exit after building the source archives" - echo " skipwin Don't do the remote Windows build" - echo " skiposx Don't do the remote OSX build" - echo " skiplinux Don't do the remote Linux build" - echo " skipclean Don't do the cleanup step on the remote builds" - echo "" +CFGFILE = "./tmp/config" -} +# Things that need to be done before any of the builds +initialTask = Task([ Job("", ["distrib/all/build-setup", CFGFILE]), + Job("", ["distrib/all/build-docs", CFGFILE]), + Job("", ["distrib/all/build-sources", CFGFILE]), + ]) -# --------------------------------------------------------------------------- +# Build tasks. Anything that can be done in parallel (depends greatly +# on the nature of the build machine configurations...) is a separate +# task. +windowsTask = Task( Job("beast", ["distrib/all/build-windows", CFGFILE]) ) -# Make sure we are running in the right directory. TODO: make this -# test more robust. Currenly we just test for the presence of -# 'wxPython' and 'wx' subdirs. -if [ ! -d wxPython -o ! -d wx ]; then - echo "Please run this script from the root wxPython directory." - exit 1 -fi +jaguarTask = Task( Job(config.OSX_HOST_jaguar, + ["distrib/all/build-osx", CFGFILE, config.OSX_HOST_jaguar, "jaguar"]) ) + +pantherTask = Task( Job(config.OSX_HOST_panther, + ["distrib/all/build-osx", CFGFILE, config.OSX_HOST_panther, "panther"]) ) + +rpmTask = Task([ Job("co-rh9", ["distrib/all/build-rpm", CFGFILE, "beast", "co-rh9", "rh9", "config"]), + Job("co-fc2", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc2", "fc2", "2.3"]), + Job("co-mdk92", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk92", "mdk92", "2.3"]), + Job("co-mdk101", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk101","mdk101","2.3"]), + ]) + +buildTasks = [ windowsTask, + jaguarTask, + pantherTask, + rpmTask, + ] + +# Finalization. This is for things that must wait until all the +# builds are done, such as copying the installers someplace, sending +# emails, etc. +finalizationTask = Task( Job("", ["distrib/all/build-finalize", CFGFILE]) ) +#---------------------------------------------------------------------- -# Set defaults and check the command line options -KIND=dryrun -PYVER=2.3 -skipsource=no -onlysource=no -skipwin=no -skiposx=no -skiplinux=no -skipclean=no - -for flag in $*; do - case $flag in - dryrun) KIND=dryrun ;; - daily) KIND=daily ;; - release) KIND=release ;; - - 2.2) PYVER=2.2 ;; - 2.3) PYVER=2.3 ;; - all) PYVER="2.2 2.3" ;; - - skipsource) skipsource=yes ;; - onlysource) onlysource=yes ;; - skipwin) skipwin=yes ;; - skiposx) skiposx=yes ;; - skiplinux) skiplinux=yes ;; - skipclean) skipclean=yes ;; - - help) usage; exit 1 ;; - *) echo "Unknown flag \"$flag\"" - usage - exit 1 - esac -done - - -# ensure the staging area exists -if [ ! -d $STAGING_DIR ]; then - mkdir -p $STAGING_DIR -fi - -# Figure out the wxPython version number, possibly adjusted for being a daily build -if [ $KIND = daily ]; then - DAILY=`date +%Y%m%d` # should it include the hour too? 2-digit year? - echo $DAILY > DAILY_BUILD -fi -VERSION=`python -c "import setup;print setup.VERSION"` - - -#echo VERSION=$VERSION -#exit 0 - -echo "Getting started at " `date` - -# --------------------------------------------------------------------------- -# Make the sources and other basic stuff. - -if [ $skipsource != yes -o $onlysource = yes ]; then - - # clean out the local dist dir - rm -f dist/* - - # Regenerate the reST docs - echo "Regenerating the reST docs..." - cd docs - for x in *.txt; do - docutils-html $x `basename $x .txt`.html - done - cd - - - # build the doc and demo tarballs - distrib/makedemo - distrib/makedocs - - # build the new docs too - docs/bin/everything - - # make the source tarball - distrib/makerpm 2.3 skipclean skiprpm gtk2 - - # make the source RPMs - for ver in $PYVER; do - distrib/makerpm $ver skipclean skipcopy skiptar srpm - distrib/makerpm $ver skipclean skipcopy skiptar srpm gtk2 - done - - # Copy everything to the staging dir - echo "Moving stuff to $STAGING_DIR..." - rm -f dist/*.spec - mv dist/* $STAGING_DIR - for doc in CHANGES BUILD INSTALL MigrationGuide default; do - cp docs/$doc.* $STAGING_DIR - done - - # cleanup - echo "Cleaning up..." - rm -f dist/* - rm -rf _build_rpm -fi - -if [ $KIND = daily ]; then - rm DAILY_BUILD -fi - -if [ $onlysource = yes ]; then - exit 0 -fi - -# --------------------------------------------------------------------------- -# Windows build - -if [ $skipwin != yes ]; then - echo "-=-=- Starting Windows build..." - - echo "Copying source file and build script..." - scp $STAGING_DIR/wxPythonSrc-$VERSION.tar.gz \ - distrib/all/build-windows \ - $WIN_HOST:$WIN_BUILD +def usage(): + print "" + print "Usage: build-all [command flags...]" + print "" + print "build types:" + print " dryrun Do the build, but don't copy anywhere (default)" + print " daily Do a daily build, copy to starship" + print " release Do a normal release (cantidate) build, copy to starship" + print "" + print "optional command flags:" + print " 2.2 Build for Python 2.2 (default=off)" + print " 2.3 Build for Python 2.3 (default=on)" + print " all Build for all supported Python versions" + print "" + print " skipsource Don't build the source archives, use the ones" + print " already in the staging dir." + print " onlysource Exit after building the source and docs archives" + print " skipdocs Don't rebuild the docs" + print " skipwin Don't do the remote Windows build" + print " skiposx Don't do the remote OSX build" + print " skiplinux Don't do the remote Linux build" + print " skipclean Don't do the cleanup step on the remote builds" + print " skipupload Don't upload the builds to starship" + print "" - echo "Running build script on $WIN_HOST..." - wxdir=$WIN_BUILD/wxPythonSrc-$VERSION - cmd=./build-windows - ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxdir $WIN_BUILD $skipclean $VERSION $PYVER && rm $cmd" - echo "Fetching the results..." - scp $WIN_HOST:$WIN_BUILD/wxPythonWIN32* $STAGING_DIR - ssh $WIN_HOST "rm $WIN_BUILD/wxPythonWIN32*" -fi +#---------------------------------------------------------------------- + +def main(args): + # Make sure we are running in the right directory. TODO: make + # this test more robust. Currenly we just test for the presence + # of 'wxPython' and 'wx' subdirs. + if not os.path.isdir("wxPython") or not os.path.isdir("wx"): + print "Please run this script from the root wxPython directory." + sys.exit(1) + + # Check command line flags + for flag in args: + if flag in ["dryrun", "daily", "release"]: + config.KIND = flag + + elif flag in ["2.2", "2.3"]: + config.PYVER = flag + elif flag == "all": + config.PYVER = "2.2 2.3" + + elif flag == "skipsource": + config.skipsource = "yes" + + elif flag == "onlysource": + config.onlysource = "yes" + + elif flag == "skipdocs": + config.skipdocs = "yes" + + elif flag == "skipnewdocs": + config.skipnewdocs = "yes" + + elif flag == "skipwin": + config.skipwin = "yes" + + elif flag == "skiposx": + config.skiposx = "yes" + + elif flag == "skiplinux": + config.skiplinux = "yes" + + elif flag == "skipclean": + config.skipclean = "yes" + + elif flag == "skipupload": + config.skipupload = "yes" + + else: + print 'Unknown flag: "%s"' % flag + usage() + sys.exit(2) -# --------------------------------------------------------------------------- -# OSX build + # ensure the staging area exists + if not os.path.exists(config.STAGING_DIR): + os.makedirs(config.STAGING_DIR) -function DoOSXBuild { - local host=$1 - local flavor=$2 + # Figure out the wxPython version number, possibly adjusted for being a daily build + if config.KIND == "daily": + t = time.localtime() + config.DAILY = time.strftime("%Y%m%d") # should it include the hour too? 2-digit year? + file("DAILY_BUILD", "w").write(config.DAILY) + sys.path.append('.') + import setup + config.VERSION = setup.VERSION - # test if the target machine is online - if ping -q -c1 -w1 $host > /dev/null; then - echo "-----------------------------------------------------------------" - echo " The $host machine is online, OSX-$flavor build continuing..." - echo "-----------------------------------------------------------------" - else - echo "-----------------------------------------------------------------" - echo "The $host machine is offline, skipping the OSX-$flavor build." - echo "-----------------------------------------------------------------" - return 0 - fi - - echo "-=-=- Starting OSX-$flavor build on $host..." - - echo "Copying source files and build script..." - ssh root@$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true" - scp $STAGING_DIR/wxPythonSrc-$VERSION.tar.gz \ - $STAGING_DIR/wxPythonDocs-$VERSION.tar.gz \ - $STAGING_DIR/wxPythonDemo-$VERSION.tar.gz \ - distrib/all/build-osx \ - root@$host:$OSX_BUILD - - echo "Running build script on $host..." - wxdir=$OSX_BUILD/wxPythonSrc-$VERSION - cmd=./build-osx - ssh root@$host "cd $OSX_BUILD && $cmd $wxdir $OSX_BUILD $skipclean $VERSION $flavor $PYVER && rm $cmd" - - echo "Fetching the results..." - scp "root@$host:$OSX_BUILD/wxPythonOSX*" $STAGING_DIR - ssh root@$host "rm $OSX_BUILD/wxPythonOSX*" - -} + # write the config file where the build scripts can find it + config.write(CFGFILE) + print "Build getting started at: ", time.ctime() -if [ $skiposx != yes ]; then + # Run the first task, which will create the docs and sources tarballs + tr = TaskRunner(initialTask) + rc = tr.run() - DoOSXBuild $OSX_HOST_panther panther - DoOSXBuild $OSX_HOST_jaguar jaguar + # cleanup the DAILY_BUILD file + if config.KIND == "daily": + os.unlink("DAILY_BUILD") -fi + # Quit now? + if rc != 0 or config.onlysource == "yes": + sys.exit(rc) -# --------------------------------------------------------------------------- -# Linux build + # Run the main build tasks + tr = TaskRunner(buildTasks) + rc = tr.run() + if rc != 0: + sys.exit(rc) -# The remote Linux builds are different than those above. The source -# RPMs were already built in the source step, and so building the -# binary RPMs is a very simple followup step. But then add to that -# the fact that we need to build on more than one distro... -function DoLinuxBuild { - local host=$1 - local reltag=$2 - shift;shift - local pyver=$@ + # when all the builds are done, run the finalization task + tr = TaskRunner(finalizationTask) + rc = tr.run() + if rc != 0: + sys.exit(rc) - # test if the target machine is online - if ping -q -c1 -w1 $host > /dev/null; then - echo "-----------------------------------------------------------------" - echo " The $host machine is online, build continuing..." - echo "-----------------------------------------------------------------" - else - echo "-----------------------------------------------------------------" - echo "The $host machine is offline, skipping the binary RPM build." - echo "-----------------------------------------------------------------" - return 0 - fi - - echo "Copying source files and build script..." - ssh root@$host "mkdir -p $LINUX_BUILD && rm -rf $LINUX_BUILD/*" - scp $STAGING_DIR/wxPython*.src.rpm \ - distrib/all/build-linux \ - root@$host:$LINUX_BUILD - - echo "Running build script on $host..." - cmd=./build-linux - ssh root@$host "cd $LINUX_BUILD && ./build-linux $reltag $skipclean $VERSION $pyver" - echo "Fetching the results..." - scp "root@$host:$LINUX_BUILD/wxPythonGTK*.i[0-9]86.rpm" $STAGING_DIR - ssh root@$host "rm $LINUX_BUILD/wxPythonGTK*.i[0-9]86.rpm" - -} - -if [ $skiplinux != yes ]; then - - DoLinuxBuild co-rh9 RH9 $PYVER - DoLinuxBuild co-fc2 FC2 2.3 - -fi + print "Build finished at: ", time.ctime() + sys.exit(0) -# --------------------------------------------------------------------------- -# Final disposition of build results... - -chmod a+r $STAGING_DIR/* - -if [ $KIND = dryrun ]; then - # we're done - echo "Finished at " `date` - exit 0 -fi -if [ $KIND = daily ]; then - - destdir=$UPLOAD_DAILY_ROOT/$DAILY - echo "Copying to the starship at $destdir..." - ssh $UPLOAD_HOST "mkdir -p $destdir" - scp $STAGING_DIR/* $UPLOAD_HOST:/$destdir - ssh $UPLOAD_HOST "cd $destdir && ls -al" - - - echo "Cleaning up staging dir..." - rm $STAGING_DIR/* - rmdir $STAGING_DIR - - # TODO: something to remove old builds from starship, keeping - # only N days worth - - # Send email to wxPython-dev - DATE=`date` - TO=wxPython-dev@lists.wxwidgets.org - - cat < -To: $TO -Subject: $DAILY test build uploaded -Date: $DATE - -Hi, - -A new test build of wxPython has been uploaded to starship. - - Version: $VERSION - URL: http://starship.python.net/crew/robind/wxPython/daily/$DAILY - Changes: http://starship.python.net/crew/robind/wxPython/daily/$DAILY/CHANGES.html - -Have fun! -R'bot - -EOF - - echo "Finished at " `date` - exit 0 -fi - - -if [ $KIND = release ]; then - - echo "Copying to the local file server..." - destdir=/stuff/Development/wxPython/dist/$VERSION - mkdir -p $destdir - cp $STAGING_DIR/* $destdir - - echo "Copying to the starship..." - destdir=$UPLOAD_PREVIEW_ROOT/$VERSION - ssh $UPLOAD_HOST "mkdir -p $destdir" - scp $STAGING_DIR/* $UPLOAD_HOST:/$destdir - - echo "Cleaning up staging dir..." - rm $STAGING_DIR/* - rmdir $STAGING_DIR - - # Send email to wxPython-dev - DATE=`date` - TO=wxPython-dev@lists.wxwidgets.org - - cat < -To: $TO -Subject: $VERSION release candidate build uploaded -Date: $DATE - -Hi, - -A new RC build of wxPython has been uploaded to starship. - - Version: $VERSION - URL: http://starship.python.net/crew/robind/wxPython/preview/$VERSION - Changes: http://starship.python.net/crew/robind/wxPython/preview/$VERSION/CHANGES.html - -Have fun! -R'bot - -EOF - - echo "Finished at " `date` - exit 0 -fi - - -# --------------------------------------------------------------------------- +if __name__ == "__main__": + main(sys.argv[1:]) diff --git a/wxPython/distrib/all/build-docs b/wxPython/distrib/all/build-docs new file mode 100755 index 0000000000..24b72f3931 --- /dev/null +++ b/wxPython/distrib/all/build-docs @@ -0,0 +1,36 @@ +#!/bin/bash +#---------------------------------------------------------------------- + +set -o errexit + +# read the config variables from the file given on the command line +. $1 + + +if [ $skipdocs != yes ]; then + # Regenerate the reST docs + echo "Regenerating the reST docs..." + cd docs + for x in *.txt; do + docutils-html $x `basename $x .txt`.html + done + cd - + for doc in CHANGES BUILD INSTALL MigrationGuide default; do + cp docs/$doc.* $STAGING_DIR + done + + # build the doc and demo tarballs + distrib/makedemo + distrib/makedocs + mv dist/wxPython-docs-$VERSION.tar.gz $STAGING_DIR + mv dist/wxPython-demo-$VERSION.tar.gz $STAGING_DIR + + + # build the new docs too + if [ $skipnewdocs != yes ]; then + docs/bin/everything + mv dist/wxPython-newdocs-$VERSION.tar.gz $STAGING_DIR + fi +fi + +#---------------------------------------------------------------------- diff --git a/wxPython/distrib/all/build-finalize b/wxPython/distrib/all/build-finalize new file mode 100755 index 0000000000..63eceea5fb --- /dev/null +++ b/wxPython/distrib/all/build-finalize @@ -0,0 +1,115 @@ +#!/bin/bash +#---------------------------------------------------------------------- + +set -o errexit + +# read the config variables from the file given on the command line +. $1 + + + + +chmod a+r $STAGING_DIR/* + +if [ $KIND = dryrun ]; then + # we're done leave the files in the staging dir and quit + echo "Not uploading dryrun." + exit 0 +fi + + +if [ $KIND = daily ]; then + + echo "Copying to the local file server..." + destdir=/stuff/temp/$VERSION + mkdir -p $destdir + cp $STAGING_DIR/* $destdir + + if [ $skipupload != yes ]; then + destdir=$UPLOAD_DAILY_ROOT/$DAILY + echo "Copying to the starship at $destdir..." + ssh $UPLOAD_HOST "mkdir -p $destdir" + scp $STAGING_DIR/* $UPLOAD_HOST:/$destdir + ssh $UPLOAD_HOST "cd $destdir && ls -al" + + + # TODO: something to remove old builds from starship, keeping + # only N days worth + + # Send email to wxPython-dev + DATE=`date` + TO=wxPython-dev@lists.wxwidgets.org + + cat < +To: $TO +Subject: $DAILY test build uploaded +Date: $DATE + +Hi, + +A new test build of wxPython has been uploaded to starship. + + Version: $VERSION + URL: http://starship.python.net/crew/robind/wxPython/daily/$DAILY + Changes: http://starship.python.net/crew/robind/wxPython/daily/$DAILY/CHANGES.html + +Have fun! +R'bot + +EOF + fi + + echo "Cleaning up staging dir..." + rm $STAGING_DIR/* + rmdir $STAGING_DIR + + exit 0 +fi + + +if [ $KIND = release ]; then + + echo "Copying to the local file server..." + destdir=/stuff/Development/wxPython/dist/$VERSION + mkdir -p $destdir + cp $STAGING_DIR/* $destdir + + if [ $skipupload != yes ]; then + echo "Copying to the starship..." + destdir=$UPLOAD_PREVIEW_ROOT/$VERSION + ssh $UPLOAD_HOST "mkdir -p $destdir" + scp $STAGING_DIR/* $UPLOAD_HOST:/$destdir + + # Send email to wxPython-dev + DATE=`date` + TO=wxPython-dev@lists.wxwidgets.org + + cat < +To: $TO +Subject: $VERSION release candidate build uploaded +Date: $DATE + +Hi, + +A new RC build of wxPython has been uploaded to starship. + + Version: $VERSION + URL: http://starship.python.net/crew/robind/wxPython/preview/$VERSION + Changes: http://starship.python.net/crew/robind/wxPython/preview/$VERSION/CHANGES.html + +Have fun! +R'bot + +EOF + + fi + + echo "Cleaning up staging dir..." + rm $STAGING_DIR/* + rmdir $STAGING_DIR + + exit 0 +fi + diff --git a/wxPython/distrib/all/build-osx b/wxPython/distrib/all/build-osx index 112aacadd0..3bbb287c26 100755 --- a/wxPython/distrib/all/build-osx +++ b/wxPython/distrib/all/build-osx @@ -1,65 +1,40 @@ #!/bin/bash -# --------------------------------------------------------------------------- -# Build wxWidgets and wxPython on a OSX box. This is normally -# called from build-all but it should be able to be used standalone too... -# -# The command line must have the following parameters: -# -# 1. the path to the base of the wx source tree -# 2. the path of where to put the resulting installers -# 3. skipclean flag (yes|no) -# 4. the VERSION -# 5. the FLAVOR (panther or jaguar) -# *. the remaining args are the versions of Python to build for -# -# --------------------------------------------------------------------------- +#---------------------------------------------------------------------- set -o errexit -#set -o xtrace -echo "-=-=-=- Hello from $HOSTNAME -=-=-=-" +# read the config variables from the file given on the command line +. $1 -if [ $# -lt 6 ]; then - echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION FLAVOR PYVER..." - exit 1 + +host=$2 +flavor=$3 + +if [ $skiposx != yes ]; then + # test if the target machine is online + if ping -q -c1 -w1 $host > /dev/null; then + echo " The $host machine is online, OSX-$flavor build continuing..." + else + echo "The $host machine is **OFFLINE**, skipping the OSX-$flavor build." + exit 0 + fi + + echo "Copying source files and build script..." + ssh root@$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true" + + scp $STAGING_DIR/wxPython-src-$VERSION.tar.gz \ + $STAGING_DIR/wxPython-docs-$VERSION.tar.gz \ + $STAGING_DIR/wxPython-demo-$VERSION.tar.gz \ + distrib/all/do-build-osx \ + root@$host:$OSX_BUILD + + echo "Running build script on $host..." + wxdir=$OSX_BUILD/wxPython-src-$VERSION + cmd=./do-build-osx + ssh root@$host "cd $OSX_BUILD && $cmd $wxdir $OSX_BUILD $skipclean $VERSION $flavor $PYVER && rm $cmd" + + echo "Fetching the results..." + scp "root@$host:$OSX_BUILD/wxPython*-osx*" $STAGING_DIR + ssh root@$host "rm $OSX_BUILD/wxPython*-osx*" fi -WXDIR=$1 -DESTDIR=$2 -SKIPCLEAN=$3 -VERSION=$4 -FLAVOR=$5 -shift;shift;shift;shift;shift -PYVER=$@ - - -export PATH=/sw/bin:/usr/local/bin:$PATH - - -# untar the source -echo "Unarchiving wxPythonSrc-$VERSION.tar.gz" -cd $DESTDIR -tar xzf wxPythonSrc-$VERSION.tar.gz -rm wxPythonSrc-$VERSION.tar.gz - - -echo "Invoking wxPythonOSX build script..." -cd $WXDIR/wxPython -export TARBALLDIR=$DESTDIR -mkdir -p dist -distrib/mac/wxPythonOSX/build $FLAVOR inplace skipclean - - -echo "Copying installers to $DESTDIR..." -cp dist/*.dmg $DESTDIR -cd $DESTDIR - - -if [ $SKIPCLEAN != yes ]; then - echo "Cleaning up..." - rm -r $WXDIR || true - rm wxPythonDocs-$VERSION.tar.gz - rm wxPythonDemo-$VERSION.tar.gz -fi - -echo "-=-=-=- Goodbye! -=-=-=-" diff --git a/wxPython/distrib/all/build-rpm b/wxPython/distrib/all/build-rpm new file mode 100755 index 0000000000..f53be94cdc --- /dev/null +++ b/wxPython/distrib/all/build-rpm @@ -0,0 +1,98 @@ +#!/bin/bash +#---------------------------------------------------------------------- + +set -o errexit + +# read the config variables from the file given on the command line +. $1 + +coHost=$2 +host=$3 +reltag=$4 +shift;shift;shift;shift +pyver=$@ + +if [ $pyver = config ]; then + pyver=$PYVER +fi + + +function TestOnline { + local host=$1 + local message=$2 + + if ping -q -c1 -w1 $host > /dev/null; then + return 0 + else + return 1 + fi +} + + +if [ $skiplinux != yes ]; then + + startedCoHost=no + hostAvailable=no + + # test if the target machine is online + if TestOnline $host; then + hostAvailable=yes + else + # Attempt to start the host via it's coLinux host, if there is one + if [ $coHost != none ]; then + if TestOnline $coHost; then + echo "Attempting to start $host via coLinux on $coHost..." + ssh $coHost "/c/coLinux/VMs/$host.bat -d > /dev/null 2>&1 &" + + # Give it time to boot and be ready for conenctions, + # and then test with ssh, limiting retries. + for x in `seq 12`; do + sleep 5 + echo "checking..." + if ssh root@$host "true" >/dev/null 2>&1; then + # success! the host is ready so we can break out of the loop + break; + fi + done + + # test if the host is ready + if TestOnline $host; then + echo "coLinux start of $host on $coHost successful." + startedCoHost=yes + hostAvailable=yes + fi + else + echo "The $coHost machine is offline, unable to start coLinux for $host" + fi + fi + fi + + if [ $hostAvailable = yes ]; then + echo "The $host machine is online, build continuing..." + else + echo "The $host machine is **OFFLINE**, skipping the binary RPM build." + exit 0 + fi + + + echo "Copying source files and build script..." + ssh root@$host "mkdir -p $LINUX_BUILD && rm -rf $LINUX_BUILD/*" + scp $STAGING_DIR/wxPython-src* $STAGING_DIR/wxPython.spec\ + distrib/all/do-build-rpm \ + root@$host:$LINUX_BUILD + + echo "Running build script on $host..." + cmd=./do-build-rpm + ssh root@$host "cd $LINUX_BUILD && $cmd $reltag $skipclean $VERSION $pyver" + + echo "Fetching the results..." + scp "root@$host:$LINUX_BUILD/wxPython*.i[0-9]86.rpm" $STAGING_DIR + ssh root@$host "rm $LINUX_BUILD/wxPython*.i[0-9]86.rpm" + + + if [ $startedCoHost = yes ]; then + echo "Halting $host on $coHost..." + ssh root@$host "/sbin/halt" + sleep 10 + fi +fi diff --git a/wxPython/distrib/all/build-setup b/wxPython/distrib/all/build-setup new file mode 100755 index 0000000000..f8134cd151 --- /dev/null +++ b/wxPython/distrib/all/build-setup @@ -0,0 +1,12 @@ +#!/bin/bash +#---------------------------------------------------------------------- + +set -o errexit + +# read the config variables from the file given on the command line +. $1 + + +# clean out the local dist dir +rm -f dist/* + diff --git a/wxPython/distrib/all/build-sources b/wxPython/distrib/all/build-sources new file mode 100755 index 0000000000..22faacff51 --- /dev/null +++ b/wxPython/distrib/all/build-sources @@ -0,0 +1,18 @@ +#!/bin/bash +#---------------------------------------------------------------------- + +set -o errexit + +# read the config variables from the file given on the command line +. $1 + +if [ $skipsource != yes -o $onlysource = yes ]; then + + # make the source tarball and srpm + distrib/makerpm 2.3 srpm + + # Copy everything to the staging dir + echo "Moving stuff to $STAGING_DIR..." + mv dist/* $STAGING_DIR + +fi diff --git a/wxPython/distrib/all/build-windows b/wxPython/distrib/all/build-windows index 7024f4efca..d8b70d2db4 100755 --- a/wxPython/distrib/all/build-windows +++ b/wxPython/distrib/all/build-windows @@ -1,128 +1,32 @@ #!/bin/bash -# --------------------------------------------------------------------------- -# Build wxWidgets and wxPython on a Windows box. This is normally called -# from build-all but it should be able to be used standalone too... -# -# The command line must have the following parameters: -# -# 1. the path to the base of the wx source tree -# 2. the path of where to put the resulting installers -# 3. skipclean flag (yes|no) -# 4. the VERSION -# 5. the remaining args are the versions of Python to build for -# -# --------------------------------------------------------------------------- +#---------------------------------------------------------------------- set -o errexit -#set -o xtrace -echo "-=-=-=- Hello from $HOSTNAME -=-=-=-" - -if [ $# -lt 5 ]; then - echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION PYVER..." - exit 1 -fi - -WXDIR=$1 -DESTDIR=$2 -SKIPCLEAN=$3 -VERSION=$4 -shift;shift;shift;shift -PYVER=$@ +# read the config variables from the file given on the command line +. $1 -# WXDIR is the cygwin path, WXWIN is the DOS path -WXWIN_OLD=$WXWIN -WXWIN=`cygpath -m $WXDIR` -export WXWIN +if [ $skipwin != yes ]; then + # test if the target machine is online + if ping -q -c1 -w1 $WIN_HOST > /dev/null; then + echo " The $WIN_HOST machine is online, Windows build continuing..." + else + echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build." + return 0 + fi + echo "Copying source file and build script..." + scp $STAGING_DIR/wxPython-src-$VERSION.tar.gz \ + distrib/all/do-build-windows \ + $WIN_HOST:$WIN_BUILD + + echo "Running build script on $WIN_HOST..." + wxdir=$WIN_BUILD/wxPython-src-$VERSION + cmd=./do-build-windows + ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxdir $WIN_BUILD $skipclean $VERSION $PYVER && rm $cmd" -# # Fix the PATH. (Why is this needed??) -# PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/robind/bin:.:$WXDIR/lib/vc_dll:$PATH -# export PATH -# echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" -# echo $PATH -# echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" -# exit 0 - - -# untar the source -echo "Unarchiving wxPythonSrc-$VERSION.tar.gz" -cd $DESTDIR -tar xzf wxPythonSrc-$VERSION.tar.gz -rm wxPythonSrc-$VERSION.tar.gz - - -# Fix line endings -echo "Converting wxPython line endings to CRLF..." -cd $WXDIR -names=`find wxPython -name "*.py" -o -name "*.txt" -o -name "*.htm*" -o -name "*.css" -o -name "*.h" -o -name "*.cpp" -o -name "*.c" -o -name "*.xml" ` -unix2dos -D $names - - -# change to the right spot in the source tree and copy our build scripts -echo "Setting up for the build..." -cd $WXDIR/build/msw -cp $WXDIR/wxPython/distrib/msw/.m* . - - -# replace some settings in setup0.h and write to setup.h -cat > .my.sedexpr < $WXDIR/include/wx/msw/setup.h -rm .my.sedexpr - - -echo "Building the wx DLLs..." -.make hybrid -.make hybrid-uni - - -echo "Building the wx tools..." -.make_tools - -# cheat and just copy the .CHM files from the regular project dir -# TODO: Copy over the wxPythonDocs fle and run hhc on the contents of that. -mkdir -p $WXDIR/docs/htmlhelp -cp `cygpath $WXWIN_OLD/docs/htmlhelp`/*.chm $WXDIR/docs/htmlhelp - - -echo "Building wxPython and installers..." -cd $WXDIR/wxPython -mkdir -p dist - -for ver in $PYVER; do - echo $ver - b $ver d USE_SWIG=0 - b $ver h USE_SWIG=0 - b $ver r USE_SWIG=0 - b $ver d UNICODE=1 USE_SWIG=0 - b $ver h UNICODE=1 USE_SWIG=0 - b $ver r UNICODE=1 USE_SWIG=0 -done - -echo "Building the developer package..." -WXWIN=`cygpath -w $WXDIR` -export WXWIN -4nt /c distrib/makedev.bat $VERSION - - -echo "Copying installers to $DESTDIR..." -mv dist/wxPythonWIN32* $DESTDIR -cd $DESTDIR - - -if [ $SKIPCLEAN != yes ]; then - echo "Cleaning up..." - rm -r $WXDIR || true -fi - -echo "-=-=-=- Goodbye! -=-=-=-" + echo "Fetching the results..." + scp "$WIN_HOST:$WIN_BUILD/wxPython*-win32*" $STAGING_DIR + ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*" +fi \ No newline at end of file diff --git a/wxPython/distrib/all/do-build-osx b/wxPython/distrib/all/do-build-osx new file mode 100755 index 0000000000..02e7938e2a --- /dev/null +++ b/wxPython/distrib/all/do-build-osx @@ -0,0 +1,71 @@ +#!/bin/bash +# --------------------------------------------------------------------------- +# Build wxWidgets and wxPython on a OSX box. This is normally +# called from build-all but it should be able to be used standalone too... +# +# The command line must have the following parameters: +# +# 1. the path to the base of the wx source tree +# 2. the path of where to put the resulting installers +# 3. skipclean flag (yes|no) +# 4. the VERSION +# 5. the KIND (panther or jaguar) +# *. the remaining args are the versions of Python to build for +# +# --------------------------------------------------------------------------- + +set -o errexit +#set -o xtrace + +echo "-=-=-=- Hello from $HOSTNAME -=-=-=-" + +if [ $# -lt 6 ]; then + echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION KIND PYVER..." + exit 1 +fi + +WXDIR=$1 +DESTDIR=$2 +SKIPCLEAN=$3 +VERSION=$4 +KIND=$5 +shift;shift;shift;shift;shift +PYVER=$@ + + +#export PATH=/sw/bin:/usr/local/bin:$PATH +export PATH=/sw/bin:/sw/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:.:/usr/X11R6/bin +echo "PATH =" $PATH +echo "which gcc = " `which gcc` +#exit 0 + +# untar the source +echo "Unarchiving wxPython-src-$VERSION.tar.gz" +cd $DESTDIR +tar xzf wxPython-src-$VERSION.tar.gz +rm wxPython-src-$VERSION.tar.gz + + +echo "Invoking wxPythonOSX build script..." +cd $WXDIR/wxPython +export TARBALLDIR=$DESTDIR +mkdir -p dist +if [ $KIND = panther ]; then + distrib/mac/wxPythonOSX/build $KIND inplace unicode +fi +distrib/mac/wxPythonOSX/build $KIND inplace + + +echo "Copying installers to $DESTDIR..." +cp dist/*.dmg $DESTDIR +cd $DESTDIR + + +if [ $SKIPCLEAN != yes ]; then + echo "Cleaning up..." + rm -r $WXDIR || true + rm wxPython-docs-$VERSION.tar.gz + rm wxPython-demo-$VERSION.tar.gz +fi + +echo "-=-=-=- Goodbye! -=-=-=-" diff --git a/wxPython/distrib/all/build-linux b/wxPython/distrib/all/do-build-rpm similarity index 60% rename from wxPython/distrib/all/build-linux rename to wxPython/distrib/all/do-build-rpm index cb2a02b70e..910f09a6ca 100755 --- a/wxPython/distrib/all/build-linux +++ b/wxPython/distrib/all/do-build-rpm @@ -31,52 +31,65 @@ PYVER=$@ rpmtop=_rpm_top -function DoRPMBuild { - echo "*** Setting up RPM build dirs" - for dir in SPECS BUILD RPMS SRPMS tmp; do - if [ ! -d $rpmtop/$dir ]; then - mkdir -p $rpmtop/$dir - fi - done - if [ ! -e $rpmtop/SOURCES ]; then - ln -s $PWD $rpmtop/SOURCES - fi +if which rpmbuild > /dev/null 2>&1; then + RPMBUILD=rpmbuild +else + RPMBUILD=rpm +fi - rpmbuild --define "_topdir $PWD/$rpmtop" \ + +function DoRPMBuild { + # $1 : python version + # $2 : port + # $3 : unicode + + echo "-=-=-=-=-=-=-=-=-=-=-" + echo $1 $2 $3 + echo "-=-=-=-=-=-=-=-=-=-=-" + + $RPMBUILD --define "_topdir $PWD/$rpmtop" \ --define "_tmppath $PWD/$rpmtop/tmp" \ - --define "release $RELEASE" \ - $@ + --define "release ${RELEASE}_py$1" \ + --define "pyver $1" \ + --define "port $2" \ + --define "unicode $3" \ + -bb wxPython.spec if [ $? != 0 ]; then return $? fi - - echo "*** Moving RPMs to ." - find $rpmtop -name "*.rpm" - mv -f `find $rpmtop -name "*.rpm"` . - - echo "*** Cleaning up $rpmtop" - rm -rf $rpmtop } +echo "*** Setting up RPM build dirs" +for dir in SPECS BUILD RPMS SOURCES SRPMS tmp; do + if [ ! -d $rpmtop/$dir ]; then + mkdir -p $rpmtop/$dir + fi +done + +cp wxPython-src-$VERSION.tar.gz $rpmtop/SOURCES + +echo "******************** PYVER = " $PYVER for ver in $PYVER; do echo "Building the RPMs for Python $ver..." - for port in GTK GTK2; do - rpm2cpio wxPython$port-py$ver-$VERSION-1.src.rpm | \ - cpio --extract -R root. - DoRPMBuild -ba wxPython$port.spec - done + DoRPMBuild $ver gtk 0 + DoRPMBuild $ver gtk2 1 + DoRPMBuild $ver gtk2 0 done +echo "*** Moving RPMs to ." +find $rpmtop -name "*.rpm" +mv -f `find $rpmtop -name "*.rpm"` . + + if [ $SKIPCLEAN != yes ]; then + echo "*** Cleaning up $rpmtop" + rm -rf $rpmtop + echo "Cleaning up..." - for ver in $PYVER; do - rm wxPythonGTK-py$ver-$VERSION-*.src.rpm - rm wxPythonGTK2-py$ver-$VERSION-*.src.rpm - done rm *.spec *.tar.gz fi diff --git a/wxPython/distrib/all/do-build-windows b/wxPython/distrib/all/do-build-windows new file mode 100755 index 0000000000..cd40bdb2bf --- /dev/null +++ b/wxPython/distrib/all/do-build-windows @@ -0,0 +1,128 @@ +#!/bin/bash +# --------------------------------------------------------------------------- +# Build wxWidgets and wxPython on a Windows box. This is normally called +# from build-all but it should be able to be used standalone too... +# +# The command line must have the following parameters: +# +# 1. the path to the base of the wx source tree +# 2. the path of where to put the resulting installers +# 3. skipclean flag (yes|no) +# 4. the VERSION +# 5. the remaining args are the versions of Python to build for +# +# --------------------------------------------------------------------------- + +set -o errexit +#set -o xtrace + +echo "-=-=-=- Hello from $HOSTNAME -=-=-=-" + +if [ $# -lt 5 ]; then + echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION PYVER..." + exit 1 +fi + +WXDIR=$1 +DESTDIR=$2 +SKIPCLEAN=$3 +VERSION=$4 +shift;shift;shift;shift +PYVER=$@ + + +# WXDIR is the cygwin path, WXWIN is the DOS path +WXWIN_OLD=$WXWIN +WXWIN=`cygpath -w $WXDIR` +export WXWIN + + +# # Fix the PATH. (Why is this needed??) +# PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/robind/bin:.:$WXDIR/lib/vc_dll:$PATH +# export PATH +# echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" +# echo $PATH +# echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" +# exit 0 + + +# untar the source +echo "Unarchiving wxPython-src-$VERSION.tar.gz" +cd $DESTDIR +tar xzf wxPython-src-$VERSION.tar.gz +rm wxPython-src-$VERSION.tar.gz + + +# Fix line endings +echo "Converting wxPython line endings to CRLF..." +cd $WXDIR +names=`find wxPython -name "*.py" -o -name "*.txt" -o -name "*.htm*" -o -name "*.css" -o -name "*.xml" ` +unix2dos -D $names + + +# change to the right spot in the source tree and copy our build scripts +echo "Setting up for the build..." +cd $WXDIR/build/msw +cp $WXDIR/wxPython/distrib/msw/.m* . + + +# replace some settings in setup0.h and write to setup.h +cat > .my.sedexpr < $WXDIR/include/wx/msw/setup.h +rm .my.sedexpr + + +echo "Building the wx DLLs..." +.make hybrid +.make hybrid-uni + + +#echo "Building the wx tools..." +#.make_tools + +# cheat and just copy the .CHM files from the regular project dir +# TODO: Copy over the wxPython-docs fle and run hhc on the contents of that. +mkdir -p $WXDIR/docs/htmlhelp +cp `cygpath $WXWIN_OLD/docs/htmlhelp`/*.chm $WXDIR/docs/htmlhelp + + +echo "Building wxPython and installers..." +cd $WXDIR/wxPython +mkdir -p dist + +for ver in $PYVER; do + echo $ver + b $ver d USE_SWIG=0 + b $ver h USE_SWIG=0 EP_ADD_OPTS=1 + b $ver r USE_SWIG=0 + b $ver d UNICODE=1 USE_SWIG=0 + b $ver h UNICODE=1 USE_SWIG=0 EP_ADD_OPTS=1 + b $ver r UNICODE=1 USE_SWIG=0 +done + +echo "Building the developer package..." +WXWIN=`cygpath -w $WXDIR` +export WXWIN +4nt /c distrib/makedev.bat $VERSION + + +echo "Copying installers to $DESTDIR..." +mv dist/wxPython* $DESTDIR +cd $DESTDIR + + +if [ $SKIPCLEAN != yes ]; then + echo "Cleaning up..." + rm -r $WXDIR || true +fi + +echo "-=-=-=- Goodbye! -=-=-=-" diff --git a/wxPython/distrib/all/dryrun b/wxPython/distrib/all/dryrun new file mode 100755 index 0000000000..a46f597e81 --- /dev/null +++ b/wxPython/distrib/all/dryrun @@ -0,0 +1,4 @@ +#!/bin/bash + +distrib/all/build-all dryrun $* 2>&1 | tee tmp/dryrun.log + diff --git a/wxPython/distrib/all/subprocess.py b/wxPython/distrib/all/subprocess.py new file mode 100644 index 0000000000..3a3020d2ce --- /dev/null +++ b/wxPython/distrib/all/subprocess.py @@ -0,0 +1,1158 @@ +# subprocess - Subprocesses with accessible I/O streams +# +# For more information about this module, see PEP 324. +# +# Copyright (c) 2003-2004 by Peter Astrand +# +# By obtaining, using, and/or copying this software and/or its +# associated documentation, you agree that you have read, understood, +# and will comply with the following terms and conditions: +# +# Permission to use, copy, modify, and distribute this software and +# its associated documentation for any purpose and without fee is +# hereby granted, provided that the above copyright notice appears in +# all copies, and that both that copyright notice and this permission +# notice appear in supporting documentation, and that the name of the +# author not be used in advertising or publicity pertaining to +# distribution of the software without specific, written prior +# permission. +# +# THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +"""subprocess - Subprocesses with accessible I/O streams + +This module allows you to spawn processes and connect to their +input/output/error pipes and obtain their return codes under Unix. +This module intends to replace several other, older modules and +functions, like: + +os.system +os.spawn* +os.popen* +popen2.* +commands.* + +Information about how the subprocess module can be used to replace these +modules and functions can be found below. + + + +Using the subprocess module +=========================== +This module defines one class called Popen: + +class Popen(args, bufsize=0, executable=None, + stdin=None, stdout=None, stderr=None, + preexec_fn=None, close_fds=False, shell=False, + cwd=None, env=None, universal_newlines=False, + startupinfo=None, creationflags=0): + + +Arguments are: + +args should be a string, or a sequence of program arguments. The +program to execute is normally the first item in the args sequence or +string, but can be explicitly set by using the executable argument. + +On UNIX, with shell=False (default): In this case, the Popen class +uses os.execvp() to execute the child program. args should normally +be a sequence. A string will be treated as a sequence with the string +as the only item (the program to execute). + +On UNIX, with shell=True: If args is a string, it specifies the +command string to execute through the shell. If args is a sequence, +the first item specifies the command string, and any additional items +will be treated as additional shell arguments. + +On Windows: the Popen class uses CreateProcess() to execute the child +program, which operates on strings. If args is a sequence, it will be +converted to a string using the list2cmdline method. Please note that +not all MS Windows applications interpret the command line the same +way: The list2cmdline is designed for applications using the same +rules as the MS C runtime. + +bufsize, if given, has the same meaning as the corresponding argument +to the built-in open() function: 0 means unbuffered, 1 means line +buffered, any other positive value means use a buffer of +(approximately) that size. A negative bufsize means to use the system +default, which usually means fully buffered. The default value for +bufsize is 0 (unbuffered). + +stdin, stdout and stderr specify the executed programs' standard +input, standard output and standard error file handles, respectively. +Valid values are PIPE, an existing file descriptor (a positive +integer), an existing file object, and None. PIPE indicates that a +new pipe to the child should be created. With None, no redirection +will occur; the child's file handles will be inherited from the +parent. Additionally, stderr can be STDOUT, which indicates that the +stderr data from the applications should be captured into the same +file handle as for stdout. + +If preexec_fn is set to a callable object, this object will be called +in the child process just before the child is executed. + +If close_fds is true, all file descriptors except 0, 1 and 2 will be +closed before the child process is executed. + +if shell is true, the specified command will be executed through the +shell. + +If cwd is not None, the current directory will be changed to cwd +before the child is executed. + +If env is not None, it defines the environment variables for the new +process. + +If universal_newlines is true, the file objects stdout and stderr are +opened as a text files, but lines may be terminated by any of '\n', +the Unix end-of-line convention, '\r', the Macintosh convention or +'\r\n', the Windows convention. All of these external representations +are seen as '\n' by the Python program. Note: This feature is only +available if Python is built with universal newline support (the +default). Also, the newlines attribute of the file objects stdout, +stdin and stderr are not updated by the communicate() method. + +The startupinfo and creationflags, if given, will be passed to the +underlying CreateProcess() function. They can specify things such as +appearance of the main window and priority for the new process. +(Windows only) + + +This module also defines two shortcut functions: + +call(*args, **kwargs): + Run command with arguments. Wait for command to complete, then + return the returncode attribute. + + The arguments are the same as for the Popen constructor. Example: + + retcode = call(["ls", "-l"]) + + +Exceptions +---------- +Exceptions raised in the child process, before the new program has +started to execute, will be re-raised in the parent. Additionally, +the exception object will have one extra attribute called +'child_traceback', which is a string containing traceback information +from the childs point of view. + +The most common exception raised is OSError. This occurs, for +example, when trying to execute a non-existent file. Applications +should prepare for OSErrors. + +A ValueError will be raised if Popen is called with invalid arguments. + + +Security +-------- +Unlike some other popen functions, this implementation will never call +/bin/sh implicitly. This means that all characters, including shell +metacharacters, can safely be passed to child processes. + + +Popen objects +============= +Instances of the Popen class have the following methods: + +poll() + Check if child process has terminated. Returns returncode + attribute. + +wait() + Wait for child process to terminate. Returns returncode attribute. + +communicate(input=None) + Interact with process: Send data to stdin. Read data from stdout + and stderr, until end-of-file is reached. Wait for process to + terminate. The optional stdin argument should be a string to be + sent to the child process, or None, if no data should be sent to + the child. + + communicate() returns a tuple (stdout, stderr). + + Note: The data read is buffered in memory, so do not use this + method if the data size is large or unlimited. + +The following attributes are also available: + +stdin + If the stdin argument is PIPE, this attribute is a file object + that provides input to the child process. Otherwise, it is None. + +stdout + If the stdout argument is PIPE, this attribute is a file object + that provides output from the child process. Otherwise, it is + None. + +stderr + If the stderr argument is PIPE, this attribute is file object that + provides error output from the child process. Otherwise, it is + None. + +pid + The process ID of the child process. + +returncode + The child return code. A None value indicates that the process + hasn't terminated yet. A negative value -N indicates that the + child was terminated by signal N (UNIX only). + + +Replacing older functions with the subprocess module +==================================================== +In this section, "a ==> b" means that b can be used as a replacement +for a. + +Note: All functions in this section fail (more or less) silently if +the executed program cannot be found; this module raises an OSError +exception. + +In the following examples, we assume that the subprocess module is +imported with "from subprocess import *". + + +Replacing /bin/sh shell backquote +--------------------------------- +output=`mycmd myarg` +==> +output = Popen(["mycmd", "myarg"], stdout=PIPE).communicate()[0] + + +Replacing shell pipe line +------------------------- +output=`dmesg | grep hda` +==> +p1 = Popen(["dmesg"], stdout=PIPE) +p2 = Popen(["grep", "hda"], stdin=p1.stdout) +output = p2.communicate()[0] + + +Replacing os.system() +--------------------- +sts = os.system("mycmd" + " myarg") +==> +p = Popen("mycmd" + " myarg", shell=True) +sts = os.waitpid(p.pid, 0) + +Note: + +* Calling the program through the shell is usually not required. + +* It's easier to look at the returncode attribute than the + exitstatus. + +A more real-world example would look like this: + +try: + retcode = call("mycmd" + " myarg", shell=True) + if retcode < 0: + print >>sys.stderr, "Child was terminated by signal", -retcode + else: + print >>sys.stderr, "Child returned", retcode +except OSError, e: + print >>sys.stderr, "Execution failed:", e + + +Replacing os.spawn* +------------------- +P_NOWAIT example: + +pid = os.spawnlp(os.P_NOWAIT, "/bin/mycmd", "mycmd", "myarg") +==> +pid = Popen(["/bin/mycmd", "myarg"]).pid + + +P_WAIT example: + +retcode = os.spawnlp(os.P_WAIT, "/bin/mycmd", "mycmd", "myarg") +==> +retcode = call(["/bin/mycmd", "myarg"]) + + +Vector example: + +os.spawnvp(os.P_NOWAIT, path, args) +==> +Popen([path] + args[1:]) + + +Environment example: + +os.spawnlpe(os.P_NOWAIT, "/bin/mycmd", "mycmd", "myarg", env) +==> +Popen(["/bin/mycmd", "myarg"], env={"PATH": "/usr/bin"}) + + +Replacing os.popen* +------------------- +pipe = os.popen(cmd, mode='r', bufsize) +==> +pipe = Popen(cmd, shell=True, bufsize=bufsize, stdout=PIPE).stdout + +pipe = os.popen(cmd, mode='w', bufsize) +==> +pipe = Popen(cmd, shell=True, bufsize=bufsize, stdin=PIPE).stdin + + +(child_stdin, child_stdout) = os.popen2(cmd, mode, bufsize) +==> +p = Popen(cmd, shell=True, bufsize=bufsize, + stdin=PIPE, stdout=PIPE, close_fds=True) +(child_stdin, child_stdout) = (p.stdin, p.stdout) + + +(child_stdin, + child_stdout, + child_stderr) = os.popen3(cmd, mode, bufsize) +==> +p = Popen(cmd, shell=True, bufsize=bufsize, + stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True) +(child_stdin, + child_stdout, + child_stderr) = (p.stdin, p.stdout, p.stderr) + + +(child_stdin, child_stdout_and_stderr) = os.popen4(cmd, mode, bufsize) +==> +p = Popen(cmd, shell=True, bufsize=bufsize, + stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True) +(child_stdin, child_stdout_and_stderr) = (p.stdin, p.stdout) + + +Replacing popen2.* +------------------ +Note: If the cmd argument to popen2 functions is a string, the command +is executed through /bin/sh. If it is a list, the command is directly +executed. + +(child_stdout, child_stdin) = popen2.popen2("somestring", bufsize, mode) +==> +p = Popen(["somestring"], shell=True, bufsize=bufsize + stdin=PIPE, stdout=PIPE, close_fds=True) +(child_stdout, child_stdin) = (p.stdout, p.stdin) + + +(child_stdout, child_stdin) = popen2.popen2(["mycmd", "myarg"], bufsize, mode) +==> +p = Popen(["mycmd", "myarg"], bufsize=bufsize, + stdin=PIPE, stdout=PIPE, close_fds=True) +(child_stdout, child_stdin) = (p.stdout, p.stdin) + +The popen2.Popen3 and popen3.Popen4 basically works as subprocess.Popen, +except that: + +* subprocess.Popen raises an exception if the execution fails +* the capturestderr argument is replaced with the stderr argument. +* stdin=PIPE and stdout=PIPE must be specified. +* popen2 closes all filedescriptors by default, but you have to specify + close_fds=True with subprocess.Popen. + + +""" + +import sys +mswindows = (sys.platform == "win32") + +import os +import types +import traceback + +if mswindows: + import threading + import msvcrt + if 0: # <-- change this to use pywin32 instead of the _subprocess driver + import pywintypes + from win32api import GetStdHandle, STD_INPUT_HANDLE, \ + STD_OUTPUT_HANDLE, STD_ERROR_HANDLE + from win32api import GetCurrentProcess, DuplicateHandle, \ + GetModuleFileName, GetVersion + from win32con import DUPLICATE_SAME_ACCESS + from win32pipe import CreatePipe + from win32process import CreateProcess, STARTUPINFO, \ + GetExitCodeProcess, STARTF_USESTDHANDLES, \ + CREATE_NEW_CONSOLE + from win32event import WaitForSingleObject, INFINITE, WAIT_OBJECT_0 + else: + from _subprocess import * + class STARTUPINFO: + dwFlags = 0 + hStdInput = None + hStdOutput = None + hStdError = None + class pywintypes: + error = IOError +else: + import select + import errno + import fcntl + import pickle + +__all__ = ["Popen", "PIPE", "STDOUT", "call"] + +try: + MAXFD = os.sysconf("SC_OPEN_MAX") +except: + MAXFD = 256 + +# True/False does not exist on 2.2.0 +try: + False +except NameError: + False = 0 + True = 1 + +_active = [] + +def _cleanup(): + for inst in _active[:]: + inst.poll() + +PIPE = -1 +STDOUT = -2 + + +def call(*args, **kwargs): + """Run command with arguments. Wait for command to complete, then + return the returncode attribute. + + The arguments are the same as for the Popen constructor. Example: + + retcode = call(["ls", "-l"]) + """ + return Popen(*args, **kwargs).wait() + + +def list2cmdline(seq): + """ + Translate a sequence of arguments into a command line + string, using the same rules as the MS C runtime: + + 1) Arguments are delimited by white space, which is either a + space or a tab. + + 2) A string surrounded by double quotation marks is + interpreted as a single argument, regardless of white space + contained within. A quoted string can be embedded in an + argument. + + 3) A double quotation mark preceded by a backslash is + interpreted as a literal double quotation mark. + + 4) Backslashes are interpreted literally, unless they + immediately precede a double quotation mark. + + 5) If backslashes immediately precede a double quotation mark, + every pair of backslashes is interpreted as a literal + backslash. If the number of backslashes is odd, the last + backslash escapes the next double quotation mark as + described in rule 3. + """ + + # See + # http://msdn.microsoft.com/library/en-us/vccelng/htm/progs_12.asp + result = [] + needquote = False + for arg in seq: + bs_buf = [] + + # Add a space to separate this argument from the others + if result: + result.append(' ') + + needquote = (" " in arg) or ("\t" in arg) + if needquote: + result.append('"') + + for c in arg: + if c == '\\': + # Don't know if we need to double yet. + bs_buf.append(c) + elif c == '"': + # Double backspaces. + result.append('\\' * len(bs_buf)*2) + bs_buf = [] + result.append('\\"') + else: + # Normal char + if bs_buf: + result.extend(bs_buf) + bs_buf = [] + result.append(c) + + # Add remaining backspaces, if any. + if bs_buf: + result.extend(bs_buf) + + if needquote: + result.append('"') + + return ''.join(result) + + +class Popen(object): + def __init__(self, args, bufsize=0, executable=None, + stdin=None, stdout=None, stderr=None, + preexec_fn=None, close_fds=False, shell=False, + cwd=None, env=None, universal_newlines=False, + startupinfo=None, creationflags=0): + """Create new Popen instance.""" + _cleanup() + + if mswindows: + if preexec_fn is not None: + raise ValueError("preexec_fn is not supported on Windows " + "platforms") + if close_fds: + raise ValueError("close_fds is not supported on Windows " + "platforms") + else: + # POSIX + if startupinfo is not None: + raise ValueError("startupinfo is only supported on Windows " + "platforms") + if creationflags != 0: + raise ValueError("creationflags is only supported on Windows " + "platforms") + + self.stdin = None + self.stdout = None + self.stderr = None + self.pid = None + self.returncode = None + self.universal_newlines = universal_newlines + + # Input and output objects. The general principle is like + # this: + # + # Parent Child + # ------ ----- + # p2cwrite ---stdin---> p2cread + # c2pread <--stdout--- c2pwrite + # errread <--stderr--- errwrite + # + # On POSIX, the child objects are file descriptors. On + # Windows, these are Windows file handles. The parent objects + # are file descriptors on both platforms. The parent objects + # are None when not using PIPEs. The child objects are None + # when not redirecting. + + (p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite) = self._get_handles(stdin, stdout, stderr) + + self._execute_child(args, executable, preexec_fn, close_fds, + cwd, env, universal_newlines, + startupinfo, creationflags, shell, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite) + + if p2cwrite: + self.stdin = os.fdopen(p2cwrite, 'wb', bufsize) + if c2pread: + if universal_newlines: + self.stdout = os.fdopen(c2pread, 'rU', bufsize) + else: + self.stdout = os.fdopen(c2pread, 'rb', bufsize) + if errread: + if universal_newlines: + self.stderr = os.fdopen(errread, 'rU', bufsize) + else: + self.stderr = os.fdopen(errread, 'rb', bufsize) + + _active.append(self) + + + def _translate_newlines(self, data): + data = data.replace("\r\n", "\n") + data = data.replace("\r", "\n") + return data + + + if mswindows: + # + # Windows methods + # + def _get_handles(self, stdin, stdout, stderr): + """Construct and return tupel with IO objects: + p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite + """ + if stdin == None and stdout == None and stderr == None: + return (None, None, None, None, None, None) + + p2cread, p2cwrite = None, None + c2pread, c2pwrite = None, None + errread, errwrite = None, None + + if stdin == None: + p2cread = GetStdHandle(STD_INPUT_HANDLE) + elif stdin == PIPE: + p2cread, p2cwrite = CreatePipe(None, 0) + # Detach and turn into fd + p2cwrite = p2cwrite.Detach() + p2cwrite = msvcrt.open_osfhandle(p2cwrite, 0) + elif type(stdin) == types.IntType: + p2cread = msvcrt.get_osfhandle(stdin) + else: + # Assuming file-like object + p2cread = msvcrt.get_osfhandle(stdin.fileno()) + p2cread = self._make_inheritable(p2cread) + + if stdout == None: + c2pwrite = GetStdHandle(STD_OUTPUT_HANDLE) + elif stdout == PIPE: + c2pread, c2pwrite = CreatePipe(None, 0) + # Detach and turn into fd + c2pread = c2pread.Detach() + c2pread = msvcrt.open_osfhandle(c2pread, 0) + elif type(stdout) == types.IntType: + c2pwrite = msvcrt.get_osfhandle(stdout) + else: + # Assuming file-like object + c2pwrite = msvcrt.get_osfhandle(stdout.fileno()) + c2pwrite = self._make_inheritable(c2pwrite) + + if stderr == None: + errwrite = GetStdHandle(STD_ERROR_HANDLE) + elif stderr == PIPE: + errread, errwrite = CreatePipe(None, 0) + # Detach and turn into fd + errread = errread.Detach() + errread = msvcrt.open_osfhandle(errread, 0) + elif stderr == STDOUT: + errwrite = c2pwrite + elif type(stderr) == types.IntType: + errwrite = msvcrt.get_osfhandle(stderr) + else: + # Assuming file-like object + errwrite = msvcrt.get_osfhandle(stderr.fileno()) + errwrite = self._make_inheritable(errwrite) + + return (p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite) + + + def _make_inheritable(self, handle): + """Return a duplicate of handle, which is inheritable""" + return DuplicateHandle(GetCurrentProcess(), handle, + GetCurrentProcess(), 0, 1, + DUPLICATE_SAME_ACCESS) + + + def _find_w9xpopen(self): + """Find and return absolut path to w9xpopen.exe""" + w9xpopen = os.path.join(os.path.dirname(GetModuleFileName(0)), + "w9xpopen.exe") + if not os.path.exists(w9xpopen): + # Eeek - file-not-found - possibly an embedding + # situation - see if we can locate it in sys.exec_prefix + w9xpopen = os.path.join(os.path.dirname(sys.exec_prefix), + "w9xpopen.exe") + if not os.path.exists(w9xpopen): + raise RuntimeError("Cannot locate w9xpopen.exe, which is " + "needed for Popen to work with your " + "shell or platform.") + return w9xpopen + + + def _execute_child(self, args, executable, preexec_fn, close_fds, + cwd, env, universal_newlines, + startupinfo, creationflags, shell, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite): + """Execute program (MS Windows version)""" + + if not isinstance(args, types.StringTypes): + args = list2cmdline(args) + + if shell: + comspec = os.environ.get("COMSPEC", "cmd.exe") + args = comspec + " /c " + args + if (GetVersion() >= 0x80000000L or + os.path.basename(comspec).lower() == "command.com"): + # Win9x, or using command.com on NT. We need to + # use the w9xpopen intermediate program. For more + # information, see KB Q150956 + # (http://web.archive.org/web/20011105084002/http://support.microsoft.com/support/kb/articles/Q150/9/56.asp) + w9xpopen = self._find_w9xpopen() + args = '"%s" %s' % (w9xpopen, args) + # Not passing CREATE_NEW_CONSOLE has been known to + # cause random failures on win9x. Specifically a + # dialog: "Your program accessed mem currently in + # use at xxx" and a hopeful warning about the + # stability of your system. Cost is Ctrl+C wont + # kill children. + creationflags |= CREATE_NEW_CONSOLE + + # Process startup details + if startupinfo == None: + startupinfo = STARTUPINFO() + if not None in (p2cread, c2pwrite, errwrite): + startupinfo.dwFlags |= STARTF_USESTDHANDLES + startupinfo.hStdInput = p2cread + startupinfo.hStdOutput = c2pwrite + startupinfo.hStdError = errwrite + + # Start the process + try: + hp, ht, pid, tid = CreateProcess(executable, args, + # no special security + None, None, + # must inherit handles to pass std + # handles + 1, + creationflags, + env, + cwd, + startupinfo) + except pywintypes.error, e: + # Translate pywintypes.error to WindowsError, which is + # a subclass of OSError. FIXME: We should really + # translate errno using _sys_errlist (or simliar), but + # how can this be done from Python? + raise WindowsError(*e.args) + + # Retain the process handle, but close the thread handle + self._handle = hp + self.pid = pid + ht.Close() + + # Child is launched. Close the parent's copy of those pipe + # handles that only the child should have open. You need + # to make sure that no handles to the write end of the + # output pipe are maintained in this process or else the + # pipe will not close when the child process exits and the + # ReadFile will hang. + if p2cread != None: + p2cread.Close() + if c2pwrite != None: + c2pwrite.Close() + if errwrite != None: + errwrite.Close() + + + def poll(self): + """Check if child process has terminated. Returns returncode + attribute.""" + if self.returncode == None: + if WaitForSingleObject(self._handle, 0) == WAIT_OBJECT_0: + self.returncode = GetExitCodeProcess(self._handle) + _active.remove(self) + return self.returncode + + + def wait(self): + """Wait for child process to terminate. Returns returncode + attribute.""" + if self.returncode == None: + obj = WaitForSingleObject(self._handle, INFINITE) + self.returncode = GetExitCodeProcess(self._handle) + _active.remove(self) + return self.returncode + + + def _readerthread(self, fh, buffer): + buffer.append(fh.read()) + + + def communicate(self, input=None): + """Interact with process: Send data to stdin. Read data from + stdout and stderr, until end-of-file is reached. Wait for + process to terminate. The optional input argument should be a + string to be sent to the child process, or None, if no data + should be sent to the child. + + communicate() returns a tuple (stdout, stderr).""" + stdout = None # Return + stderr = None # Return + + if self.stdout: + stdout = [] + stdout_thread = threading.Thread(target=self._readerthread, + args=(self.stdout, stdout)) + stdout_thread.setDaemon(True) + stdout_thread.start() + if self.stderr: + stderr = [] + stderr_thread = threading.Thread(target=self._readerthread, + args=(self.stderr, stderr)) + stderr_thread.setDaemon(True) + stderr_thread.start() + + if self.stdin: + if input != None: + self.stdin.write(input) + self.stdin.close() + + if self.stdout: + stdout_thread.join() + if self.stderr: + stderr_thread.join() + + # All data exchanged. Translate lists into strings. + if stdout != None: + stdout = stdout[0] + if stderr != None: + stderr = stderr[0] + + # Translate newlines, if requested. We cannot let the file + # object do the translation: It is based on stdio, which is + # impossible to combine with select (unless forcing no + # buffering). + if self.universal_newlines and hasattr(open, 'newlines'): + if stdout: + stdout = self._translate_newlines(stdout) + if stderr: + stderr = self._translate_newlines(stderr) + + self.wait() + return (stdout, stderr) + + else: + # + # POSIX methods + # + def _get_handles(self, stdin, stdout, stderr): + """Construct and return tupel with IO objects: + p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite + """ + p2cread, p2cwrite = None, None + c2pread, c2pwrite = None, None + errread, errwrite = None, None + + if stdin == None: + pass + elif stdin == PIPE: + p2cread, p2cwrite = os.pipe() + elif type(stdin) == types.IntType: + p2cread = stdin + else: + # Assuming file-like object + p2cread = stdin.fileno() + + if stdout == None: + pass + elif stdout == PIPE: + c2pread, c2pwrite = os.pipe() + elif type(stdout) == types.IntType: + c2pwrite = stdout + else: + # Assuming file-like object + c2pwrite = stdout.fileno() + + if stderr == None: + pass + elif stderr == PIPE: + errread, errwrite = os.pipe() + elif stderr == STDOUT: + errwrite = c2pwrite + elif type(stderr) == types.IntType: + errwrite = stderr + else: + # Assuming file-like object + errwrite = stderr.fileno() + + return (p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite) + + + def _set_cloexec_flag(self, fd): + try: + cloexec_flag = fcntl.FD_CLOEXEC + except AttributeError: + cloexec_flag = 1 + + old = fcntl.fcntl(fd, fcntl.F_GETFD) + fcntl.fcntl(fd, fcntl.F_SETFD, old | cloexec_flag) + + + def _close_fds(self, but): + for i in range(3, MAXFD): + if i == but: + continue + try: + os.close(i) + except: + pass + + + def _execute_child(self, args, executable, preexec_fn, close_fds, + cwd, env, universal_newlines, + startupinfo, creationflags, shell, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite): + """Execute program (POSIX version)""" + + if isinstance(args, types.StringTypes): + args = [args] + + if shell: + args = ["/bin/sh", "-c"] + args + + if executable == None: + executable = args[0] + + # For transferring possible exec failure from child to parent + # The first char specifies the exception type: 0 means + # OSError, 1 means some other error. + errpipe_read, errpipe_write = os.pipe() + self._set_cloexec_flag(errpipe_write) + + self.pid = os.fork() + if self.pid == 0: + # Child + try: + # Close parent's pipe ends + if p2cwrite: + os.close(p2cwrite) + if c2pread: + os.close(c2pread) + if errread: + os.close(errread) + os.close(errpipe_read) + + # Dup fds for child + if p2cread: + os.dup2(p2cread, 0) + if c2pwrite: + os.dup2(c2pwrite, 1) + if errwrite: + os.dup2(errwrite, 2) + + # Close pipe fds. Make sure we doesn't close the same + # fd more than once. + if p2cread: + os.close(p2cread) + if c2pwrite and c2pwrite not in (p2cread,): + os.close(c2pwrite) + if errwrite and errwrite not in (p2cread, c2pwrite): + os.close(errwrite) + + # Close all other fds, if asked for + if close_fds: + self._close_fds(but=errpipe_write) + + if cwd != None: + os.chdir(cwd) + + if preexec_fn: + apply(preexec_fn) + + if env == None: + os.execvp(executable, args) + else: + os.execvpe(executable, args, env) + + except: + exc_type, exc_value, tb = sys.exc_info() + # Save the traceback and attach it to the exception object + exc_lines = traceback.format_exception(exc_type, + exc_value, + tb) + exc_value.child_traceback = ''.join(exc_lines) + os.write(errpipe_write, pickle.dumps(exc_value)) + + # This exitcode won't be reported to applications, so it + # really doesn't matter what we return. + os._exit(255) + + # Parent + os.close(errpipe_write) + if p2cread and p2cwrite: + os.close(p2cread) + if c2pwrite and c2pread: + os.close(c2pwrite) + if errwrite and errread: + os.close(errwrite) + + # Wait for exec to fail or succeed; possibly raising exception + data = os.read(errpipe_read, 1048576) # Exceptions limited to 1 MB + os.close(errpipe_read) + if data != "": + child_exception = pickle.loads(data) + raise child_exception + + + def _handle_exitstatus(self, sts): + if os.WIFSIGNALED(sts): + self.returncode = -os.WTERMSIG(sts) + elif os.WIFEXITED(sts): + self.returncode = os.WEXITSTATUS(sts) + else: + # Should never happen + raise RuntimeError("Unknown child exit status!") + + _active.remove(self) + + + def poll(self): + """Check if child process has terminated. Returns returncode + attribute.""" + if self.returncode == None: + try: + pid, sts = os.waitpid(self.pid, os.WNOHANG) + if pid == self.pid: + self._handle_exitstatus(sts) + except os.error: + pass + return self.returncode + + + def wait(self): + """Wait for child process to terminate. Returns returncode + attribute.""" + if self.returncode == None: + pid, sts = os.waitpid(self.pid, 0) + self._handle_exitstatus(sts) + return self.returncode + + + def communicate(self, input=None): + """Interact with process: Send data to stdin. Read data from + stdout and stderr, until end-of-file is reached. Wait for + process to terminate. The optional input argument should be a + string to be sent to the child process, or None, if no data + should be sent to the child. + + communicate() returns a tuple (stdout, stderr).""" + read_set = [] + write_set = [] + stdout = None # Return + stderr = None # Return + + if self.stdin: + # Flush stdio buffer. This might block, if the user has + # been writing to .stdin in an uncontrolled fashion. + self.stdin.flush() + if input: + write_set.append(self.stdin) + else: + self.stdin.close() + if self.stdout: + read_set.append(self.stdout) + stdout = [] + if self.stderr: + read_set.append(self.stderr) + stderr = [] + + while read_set or write_set: + rlist, wlist, xlist = select.select(read_set, write_set, []) + + if self.stdin in wlist: + # When select has indicated that the file is writable, + # we can write up to PIPE_BUF bytes without risk + # blocking. POSIX defines PIPE_BUF >= 512 + bytes_written = os.write(self.stdin.fileno(), input[:512]) + input = input[bytes_written:] + if not input: + self.stdin.close() + write_set.remove(self.stdin) + + if self.stdout in rlist: + data = os.read(self.stdout.fileno(), 1024) + if data == "": + self.stdout.close() + read_set.remove(self.stdout) + stdout.append(data) + + if self.stderr in rlist: + data = os.read(self.stderr.fileno(), 1024) + if data == "": + self.stderr.close() + read_set.remove(self.stderr) + stderr.append(data) + + # All data exchanged. Translate lists into strings. + if stdout != None: + stdout = ''.join(stdout) + if stderr != None: + stderr = ''.join(stderr) + + # Translate newlines, if requested. We cannot let the file + # object do the translation: It is based on stdio, which is + # impossible to combine with select (unless forcing no + # buffering). + if self.universal_newlines and hasattr(open, 'newlines'): + if stdout: + stdout = self._translate_newlines(stdout) + if stderr: + stderr = self._translate_newlines(stderr) + + self.wait() + return (stdout, stderr) + + +def _demo_posix(): + # + # Example 1: Simple redirection: Get process list + # + plist = Popen(["ps"], stdout=PIPE).communicate()[0] + print "Process list:" + print plist + + # + # Example 2: Change uid before executing child + # + if os.getuid() == 0: + p = Popen(["id"], preexec_fn=lambda: os.setuid(100)) + p.wait() + + # + # Example 3: Connecting several subprocesses + # + print "Looking for 'hda'..." + p1 = Popen(["dmesg"], stdout=PIPE) + p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE) + print repr(p2.communicate()[0]) + + # + # Example 4: Catch execution error + # + print + print "Trying a weird file..." + try: + print Popen(["/this/path/does/not/exist"]).communicate() + except OSError, e: + if e.errno == errno.ENOENT: + print "The file didn't exist. I thought so..." + print "Child traceback:" + print e.child_traceback + else: + print "Error", e.errno + else: + print >>sys.stderr, "Gosh. No error." + + +def _demo_windows(): + # + # Example 1: Connecting several subprocesses + # + print "Looking for 'PROMPT' in set output..." + p1 = Popen("set", stdout=PIPE, shell=True) + p2 = Popen('find "PROMPT"', stdin=p1.stdout, stdout=PIPE) + print repr(p2.communicate()[0]) + + # + # Example 2: Simple execution of program + # + print "Executing calc..." + p = Popen("calc") + p.wait() + + +if __name__ == "__main__": + if mswindows: + _demo_windows() + else: + _demo_posix() diff --git a/wxPython/distrib/all/taskrunner.py b/wxPython/distrib/all/taskrunner.py new file mode 100644 index 0000000000..c6c1082892 --- /dev/null +++ b/wxPython/distrib/all/taskrunner.py @@ -0,0 +1,232 @@ +#---------------------------------------------------------------------- +# Name: taskrunner.py +# Purpose: Classes that can manage running of external processes, +# either consecutively, simultaneously, or both, and can +# log the output of those jobs +# +# Author: Robin Dunn +# +# Created: 05-Nov-2004 +# RCS-ID: $Id$ +# Copyright: (c) 2004 by Total Control Software +# Licence: wxWindows license +#---------------------------------------------------------------------- + +import sys +import os +import signal +import select +import fcntl +from subprocess import Popen, PIPE, STDOUT + + +__all__ = ["Job", "Task", "TaskRunner"] + +#---------------------------------------------------------------------- + + +class Job(object): + """ + Each Job is a monitor wrapped around an externally executing + process. It handles starting the process, polling if it is still + running, reading and logging it's output, and killing it if + needed. + """ + + LOGBASE="." + + def __init__(self, label, args): + self.label = label + self.args = args + self.proc = None + if self.label: + self.log = file("%s/%s.log" % (self.LOGBASE, label), "w", 0) + + def start(self): + self.proc = Popen(self.args, # the command and args to execute + stdout=PIPE, stderr=STDOUT, + bufsize=0, # line-buffered + ) + # put the file in non-blocking mode + #flags = fcntl.fcntl (self.proc.stdout, fcntl.F_GETFL, 0) + #flags = flags | os.O_NONBLOCK + #fcntl.fcntl (self.proc.stdout, fcntl.F_SETFL, flags) + + + def stop(self): + if self.proc is not None and self.proc.returncode is None: + os.kill(self.proc.pid, signal.SIGTERM) + self.logLines() + + + def fileno(self): + if self.proc is not None: + return self.proc.stdout.fileno() + else: + return -1 + + + def logLines(self): + if self.proc is not None: + while self.linesAvailable(): + line = self.proc.stdout.readline() + if not line: break + if self.label: + self.log.write(line) + line = "** %s: %s" % (self.label, line) + sys.stdout.write(line) + + + def linesAvailable(self): + if self.proc is None: + return False + ind, outd, err = select.select([self], [], [], 0) + if ind: + return True + else: + return False + + + def finished(self): + if self.proc is None:# or self.linesAvailable(): + return False + return self.proc.poll() is not None + + + def wait(self): + if self.proc is None: return None + return self.proc.wait() + + + def poll(self): + if self.proc is None: return None + return self.proc.poll() + + + def returnCode(self): + if self.proc is None: return None + return self.proc.returncode + + +#---------------------------------------------------------------------- + +class Task(object): + """ + This class helps manage the running of a Task, which is a simply a + sequence of one or more Jobs, where subesquent jobs are not + started until prior ones are completed. + """ + def __init__(self, jobs=[]): + if type(jobs) != list: + jobs = [jobs] + self.jobs = jobs[:] + self.active = 0 + + def append(self, job): + self.jobs.append(job) + + def activeJob(self): + if self.active > len(self.jobs)-1: + return None + else: + return self.jobs[self.active] + + def next(self): + self.active += 1 + if self.active < len(self.jobs): + self.jobs[self.active].start() + +#---------------------------------------------------------------------- + +class TaskRunner(object): + """ + Manages the running of multiple tasks. + """ + def __init__(self, tasks=[]): + if type(tasks) != list: + tasks = [tasks] + self.tasks = tasks[:] + + def append(self, task): + self.tasks.append(task) + + def run(self): + # start all the active jobs + for task in self.tasks: + task.activeJob().start() + + try: + # loop, getting output from the jobs, etc. + while True: + # get all active Jobs + jobs = [t.activeJob() for t in self.tasks if t.activeJob()] + if not jobs: + break + + # wait for a job to have output ready, then log it + input, output, err = select.select(jobs, [], [], 1) + for job in input: + job.logLines() + + # check for finished jobs + for task in self.tasks: + job = task.activeJob() + if job and job.finished(): + if job.returnCode() != 0: + rc = job.returnCode() + print "JOB RETURNED FAILURE CODE! (%d)" % rc + self.stopAllJobs() + return rc + else: + task.next() + except KeyboardInterrupt: + print "STOPPING JOBS..." + self.stopAllJobs() + return 1 + + except: + print "Unknown exception..." + self.stopAllJobs() + raise + + return 0 + + + def stopAllJobs(self): + for task in self.tasks: + job = task.activeJob() + if job: + job.stop() + +#---------------------------------------------------------------------- + + +if __name__ == "__main__": + + j1 = Job("label1", ["./tmp/job-1.py", "TEST-1"]) + j2 = Job("label2", ["./tmp/job-2.sh", "TEST-2"]) + + t1 = Task() + t1.append(j1) + t1.append(j2) + + j3 = Job("task2a", ["./tmp/job-1.py", "TASK-2a"]) + j4 = Job("task2b", ["./tmp/job-2.sh", "TASK-2b"]) + + t2 = Task() + t2.append(j4) + t2.append(j3) + + t3 = Task([Job("error", ["./tmp/job-3.sh", "TASK-3"])]) + + tr = TaskRunner() + tr.append(t1) + tr.append(t2) + tr.append(t3) + + for task in tr.tasks: + for job in task.jobs: + print job.label + + print tr.run() + diff --git a/wxPython/distrib/mac/uninstall_wxPython.py b/wxPython/distrib/mac/uninstall_wxPython.py new file mode 100755 index 0000000000..4d85ac3e7a --- /dev/null +++ b/wxPython/distrib/mac/uninstall_wxPython.py @@ -0,0 +1,238 @@ +#!/usr/bin/env python +""" +This script will search for installed versions of wxPython on OSX and +allow the user to choose one to uninstall. It then will use the +metadata stored about the installed package to remove all the files +associated with that install. + +Only the files installed by the main Installer Package will be +removed. This includes the Python modules and the wxWidgets shared +libraries. If you also installed the demo or docs by dragging them out +of the disk image, then you will need to drag them to the Trash +yourself. +""" + +import sys, os, glob +from fnmatch import fnmatchcase +import cPickle, urllib + +RCPTDIR = "/Library/Receipts" +RSRCDIR = "Contents/Resources" + +# Only completly clean out dirs that have one of these as a prefix. +# We do this because the file list returned from lsbom will include /, +# /usr, /usr/local, etc. +PREFIXES = [ '/Library/Python/2.3/', + '/Library/Python/2.4/', + '/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-pacakges/', + '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pacakges/', + '/usr/local/lib/', + ] + +# The files that match one of the items in this list will only be +# removed if the last installation of wxPython on the system is being +# uninstalled. +COMMON_FILES = [ '/usr/local/bin/*', + 'wx.pth', + 'wxversion.py', + ] + + + +class AccessError(Exception): + pass + +class ReceiptError(Exception): + pass + + +class InstalledReceipt(object): + def __init__(self, rcptPath): + self.rcptPath = rcptPath + self.rsrcPath = os.path.join(rcptPath, RSRCDIR) + bf = glob.glob(os.path.join(self.rsrcPath, "*.bom")) + if bf: + self.bomFile = bf[0] + else: + print "WARNING: Unable to find %s/*.bom" % self.rsrcPath + raise ReceiptError + self.findMetaData() + + + def findMetaData(self): + # TODO: Make this be able to also look at Info.plist files + infoFiles = glob.glob(os.path.join(self.rsrcPath, "*.info")) + if infoFiles: + # there should be only one + infoFile = infoFiles[0] + self.mdata = {} + for line in open(infoFile, "r").readlines(): + line = line.strip() + if line and line[0] != '#': + ls = line.split() + self.mdata[ls[0]] = line[len(ls[0])+1:] + else: + print "WARNING: Unable to find %s/*.info" % self.rsrcPath + raise ReceiptError + + + def getFileList(self): + p = os.popen("lsbom -s %s" % self.bomFile, "r") + data = p.read() + data.strip() + data = filter(lambda s: s!='' and s!='.', data.split('\n')) + loc = self.mdata['DefaultLocation'] + return [loc+item for item in data] + + + def walkFiles(self, handleFile, handleDir): + dirs = [] + names = self.getFileList() + + # the plain files + for name in names: + name = os.path.abspath(name) + if os.path.isdir(name): + dirs.append(name) + else: + handleFile(name) + + # the directories + dirs.reverse() + for dir in dirs: + for prefix in PREFIXES: + if dir.startswith(prefix): + handleDir(dir) + break + + # Finally, remove the Receipts package, bottom-up + for dirpath, dirname, filenames in os.walk(self.rcptPath, False): + for name in filenames: + name = os.path.join(dirpath, name) + handleFile(name) + handleDir(dirpath) + + + def testCommon(self, name): + for cmn in COMMON_FILES: + if fnmatchcase(name, cmn) or fnmatchcase(os.path.basename(name), cmn): + return True + return False + + + def showFiles(self): + def show(name): + if os.path.exists(name): + if not self.lastInstall and self.testCommon(name): + return + print "Will remove:", name + self.walkFiles(show, show) + + + def testUninstallAccess(self): + def testFile(name): + if os.path.exists(name): + if not self.lastInstall and self.testCommon(name): + return + if not os.access(name, os.W_OK): + raise AccessError(name) + self.walkFiles(testFile, testFile) + + + def doUninstall(self): + def removeFile(name): + if os.path.exists(name): + if not self.lastInstall and self.testCommon(name): + return + print "Removing:", name + os.unlink(name) + def removeDir(name): + print "Removing:", name + if os.path.exists(name): + hasFiles = os.listdir(name) + if hasFiles: # perhaps some stale symlinks, or .pyc files + for file in hasFiles: + os.unlink(os.path.join(name, file)) + os.rmdir(name) + + try: + self.testUninstallAccess() + except AccessError, e: + print "UNABLE TO UNINSTALL!\nNo permission to remove: ", e.args[0] + sys.exit() + + self.walkFiles(removeFile, removeDir) + + + + +def findInstalled(): + installed = [] + for name in glob.glob(os.path.join(RCPTDIR, "wxPython*")): + try: + ir = InstalledReceipt(name) + installed.append(ir) + except ReceiptError: + pass # just skip it... + + return installed + + +# Just in case a Python < 2.3 is used to run this +try: + enumerate +except NameError: + def enumerate(sequence): + return zip(range(len(sequence)), sequence) + + +def main(): + if len(sys.argv) > 1 and sys.argv[1] == "-doit": + inst = cPickle.loads(urllib.unquote(sys.argv[2])) + inst.doUninstall() + sys.exit() + + print __doc__ + installed = findInstalled() + + if not installed: + print "*** No wxPython installations found! ***" + raw_input("Press RETURN...") + sys.exit() + + for i, inst in enumerate(installed): + print " %d. %s \t%s" % (i+1, inst.mdata["Title"], inst.mdata["Version"]) + + print + ans = raw_input("Enter the number of the install to examine or 'Q' to quit: ") + if ans in ['Q', 'q']: + sys.exit() + inst = installed[int(ans) - 1] + inst.lastInstall = len(installed) == 1 + + while True: + print + print """ + Title: %(Title)s + Version: %(Version)s + Description: %(Description)s + """ % inst.mdata + + ans = raw_input("(U)ninstall, (S)how what will be removed, or (Q)uit? [u,s,q] ") + if ans in ['Q', 'q']: + sys.exit() + + elif ans in ['S', 's']: + inst.showFiles() + + elif ans in ['U', 'u']: + print + print "Launching uninstaller with sudo, please enter your password if prompted:" + os.system("sudo %s -doit %s" % + (sys.argv[0], + urllib.quote(cPickle.dumps(inst)))) + sys.exit() + + +if __name__ == '__main__': + main() diff --git a/wxPython/distrib/mac/wxPythonOSX/build b/wxPython/distrib/mac/wxPythonOSX/build index f5e5996d43..079418659f 100755 --- a/wxPython/distrib/mac/wxPythonOSX/build +++ b/wxPython/distrib/mac/wxPythonOSX/build @@ -31,6 +31,7 @@ function usage { echo " skiptar Don't unpack the tarball" echo " inplace Don't use the tarball, build from the CVS tree instead" echo " (The Docs and Demo tarballs are still required for a full build.)" + echo " unicode Make a unicode build" echo " skipconfig Don't run configure" echo " skipbuild Don't build wxWidgets or wxPython" echo " skipinstall Don't do the installation step" @@ -61,6 +62,7 @@ skipinstall=no skipdmg=no skipclean=no inplace=no +unicode=no for flag in $*; do case ${flag} in @@ -71,6 +73,7 @@ for flag in $*; do skipdmg) skipdmg=yes ;; skipclean) skipclean=yes ;; inplace) inplace=yes; skiptar=yes ;; + unicode) unicode=yes ;; *) echo "Unknown flag \"${flag}\"" usage @@ -84,7 +87,21 @@ PYVER=`$PYTHON -c "import sys; print sys.version[:3]"` PYPREFIX=`$PYTHON -c "import sys; print sys.exec_prefix"` PYLIB=$PYPREFIX/lib/python$PYVER SITEPACKAGES=$PYLIB/site-packages +SHORTVER=`echo $VERSION | cut -c 1,2,3` +if [ $unicode == yes ]; then + CHARTYPE=unicode + UNICODEOPT=--enable-unicode + PYUNICODEOPT=1 +else + CHARTYPE=ansi + UNICODEOPT=--disable-unicode + PYUNICODEOPT=0 +fi + +#if [ "$HOSTNAME" = "bigmac.alldunn.com" ]; then +# MAKEJOBS="--jobs=2" +#fi if [ -z "$TARBALLDIR" ]; then @@ -93,28 +110,28 @@ if [ -z "$TARBALLDIR" ]; then # TARBALLDIR before invoking this script... TARBALLDIR=/stuff/Development/wxPython/dist/$VERSION fi -TARBALL=$TARBALLDIR/wxPythonSrc-$VERSION.tar.gz +TARBALL=$TARBALLDIR/wxPython-src-$VERSION.tar.gz -if [ ! -e $TARBALLDIR/wxPythonDemo-$VERSION.tar.gz ]; then +if [ ! -e $TARBALLDIR/wxPython-demo-$VERSION.tar.gz ]; then echo "-------------------------------------------------------" echo " WARNING: Demo tarball not found, will skip building " echo " the Demo app bundle and etc." - echo " $TARBALLDIR/wxPythonDemo-$VERSION.tar.gz" + echo " $TARBALLDIR/wxPython-demo-$VERSION.tar.gz" echo "-------------------------------------------------------" fi -if [ ! -e $TARBALLDIR/wxPythonDocs-$VERSION.tar.gz ]; then +if [ ! -e $TARBALLDIR/wxPython-docs-$VERSION.tar.gz ]; then echo "-------------------------------------------------------" echo " WARNING: Docs tarball not found, will skip building " echo " the the wxDocsViewer app bundle and etc." - echo " $TARBALLDIR/wxPythonDocs-$VERSION.tar.gz" + echo " $TARBALLDIR/wxPython-docs-$VERSION.tar.gz" echo "-------------------------------------------------------" fi -PREFIX=/usr/local/lib/wxPython-$VERSION +PREFIX=/usr/local/lib/wxPython-$CHARTYPE-$VERSION BINPREFIX=/usr/local/bin WXROOT=`dirname $PWD` @@ -122,12 +139,17 @@ PROGDIR="`dirname \"$0\"`" TMPDIR=$PWD/_build_dmg BUILDROOT=$TMPDIR/build -INSTALLROOT=$TMPDIR/install -INSTALLDEVEL=$TMPDIR/install-devel + +INSTALLROOT=$TMPDIR/install-root +INSTALLAPPS=$TMPDIR/install-apps + DMGDIR=$TMPDIR/dmg +DMGROOT=$DMGDIR/root +DMGAPPS=$DMGDIR/apps + RESOURCEDIR=$PROGDIR/resources DESTDIR=$PWD/dist -SRCROOT=$BUILDROOT/wxPythonSrc-$VERSION +SRCROOT=$BUILDROOT/wxPython-src-$VERSION #---------------------------------------------------------------------- @@ -135,11 +157,12 @@ SRCROOT=$BUILDROOT/wxPythonSrc-$VERSION mkdir -p $BUILDROOT mkdir -p $INSTALLROOT -#mkdir -p $INSTALLDEVEL +mkdir -p $INSTALLAPPS + rm -rf $DMGDIR -mkdir -p $DMGDIR/root/Apps -mkdir -p $DMGDIR/root/Docs -mkdir -p $DMGDIR/root/Samples +mkdir -p $DMGROOT +mkdir -p $DMGAPPS/Docs +mkdir -p $DMGAPPS/Samples pushd $BUILDROOT @@ -155,21 +178,26 @@ fi if [ $inplace = no ]; then # make a build dir and cd to it. - cd wxPythonSrc-$VERSION + cd wxPython-src-$VERSION WXDIR=`pwd` mkdir -p $WXDIR/bld cd $WXDIR/bld WXBLD=$WXDIR/bld else - # If building "inplace" then our build dir will be BUILDROOT, - # adjust the variables to find things that way. - WXDIR=$WXROOT + + # If building "inplace" then our build dir will be off of the + # WXROOT like normal, adjust the variables to find things that + # way. + WXBLD=$WXROOT/build-$CHARTYPE + mkdir -p $WXBLD + cd $WXBLD + WXDIR=.. SRCROOT=$WXROOT - WXBLD=$BUILDROOT fi -echo "Using source tree: $WXDIR" +echo "Using wx root dir: $WXROOT" echo "Using build dir: $WXBLD" +echo "Using source tree: $WXDIR" #---------------------------------------------------------------------- @@ -184,14 +212,11 @@ if [ $skipconfig != yes ]; then --enable-sound \ --enable-display \ --enable-geometry \ + --enable-debug_flag \ --enable-precomp=no \ - --enable-debug_flag + --enable-optimise \ + $UNICODEOPT -## --enable-optimise \ -## --with-libjpeg=builtin \ -## --with-libpng=builtin \ -## --with-libtiff=builtin \ -## --with-zlib=builtin \ fi @@ -199,26 +224,32 @@ fi if [ $skipbuild != yes ]; then # Make wxWidgets and some contribs - make - make -C contrib/src/gizmos - make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" - make -C contrib/src/stc - make -C contrib/src/xrc + + # For some reason Rez and DeRez have started locking up if run as + # root, figure out why, but in the meantime... + if [ "$UID" = "0" ]; then + chmod a+w lib + if [ "$CHARTYPE" = "ansi" ]; then + su robind -c "make lib/libwx_macd-2.5.3.r" + else + su robind -c "make lib/libwx_macud-2.5.3.r" + fi + fi + + make $MAKEJOBS + make $MAKEJOBS -C contrib/src/gizmos + make $MAKEJOBS -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" + make $MAKEJOBS -C contrib/src/stc # Build wxPython - cd $WXDIR/wxPython + cd $WXROOT/wxPython $PYTHON setup.py \ + UNICODE=$PYUNICODEOPT \ NO_SCRIPTS=1 \ + EP_ADD_OPTS=1 \ WX_CONFIG="$WXBLD/wx-config --inplace" \ BUILD_BASE=$WXBLD/wxPython \ build - - - # Build wxrc (XRC resource tool) - cd $WXBLD/contrib/utils/wxrc - make - strip wxrc - fi #---------------------------------------------------------------------- @@ -230,13 +261,19 @@ if [ $skipinstall != yes ]; then make -C contrib/src/gizmos prefix=$INSTALLROOT$PREFIX install make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" prefix=$INSTALLROOT/$PREFIX install make -C contrib/src/stc prefix=$INSTALLROOT$PREFIX install - make -C contrib/src/xrc prefix=$INSTALLROOT$PREFIX install + # relink wx-config with a relative link + cd $INSTALLROOT$PREFIX/bin + rm wx-config + ln -s ../lib/wx/config/* wx-config + # and wxPython - cd $WXDIR/wxPython + cd $WXROOT/wxPython $PYTHON setup.py \ + UNICODE=$PYUNICODEOPT \ NO_SCRIPTS=1 \ + EP_ADD_OPTS=1 \ WX_CONFIG="$INSTALLROOT/$PREFIX/bin/wx-config --prefix=$INSTALLROOT/$PREFIX" \ BUILD_BASE=$WXBLD/wxPython \ install \ @@ -256,16 +293,17 @@ if [ $skipinstall != yes ]; then SITEPACKAGES=/Library/Python/$PYVER fi - # install wxPython's tool scripts mkdir -p $INSTALLROOT$BINPREFIX - cd $WXDIR/wxPython/scripts + cd $WXROOT/wxPython/scripts python$PYVER CreateMacScripts.py $INSTALLROOT $BINPREFIX - # Install wxrc - cp $WXBLD/contrib/utils/wxrc/wxrc $INSTALLROOT$BINPREFIX - + # Remove the .pyc/.pyo files they just take up space and can be recreated + # during the install. + pushd $WXROOT/wxPython + $PYTHON $PROGDIR/../zappycfiles.py $INSTALLROOT > /dev/null + popd # Set premissions for files in $INSTALLROOT if [ "$UID" = "0" ]; then @@ -274,6 +312,11 @@ if [ $skipinstall != yes ]; then fi fi +if [ "$KIND" = "panther" ]; then + SITEPACKAGES=/Library/Python/$PYVER +fi +PKGDIR=`cat $INSTALLROOT$SITEPACKAGES/wx.pth` + popd #---------------------------------------------------------------------- @@ -281,22 +324,28 @@ popd # Make the Installer packages and disk image if [ $skipdmg != yes ]; then - # Remove the .pyc/.pyo files they just take up space and can be recreated - # during the install. - $PYTHON $PROGDIR/../zappycfiles.py $INSTALLROOT > /dev/null - + #----------------------------------------------- + # The main runtime installer package # Make the welcome message case $KIND in panther) W_MSG="the Panther (OS X 10.3.x) version of" ;; jaguar) W_MSG="the Jaguar (OS X 10.2.x) version of" ;; esac + + cat > $RESOURCEDIR/Welcome.txt < $RESOURCEDIR/postflight < "$DMGDIR/root/README 1st.txt" < "$DMGROOT/README 1st.txt" < "$DMGAPPS/README 1st.txt" < "$DMGDIR/root/Docs/Build ERROR.txt" < "$DMGAPPS/Docs/Build ERROR.txt" < "$DMGDIR/root/Docs/README 1st.txt" < "$DMGAPPS/Docs/README 1st.txt" < "$DMGDIR/root/Samples/Build ERROR.txt" < "$DMGAPPS/Samples/Build ERROR.txt" < ${distdir}/wxPython${port}.spec + > ${distdir}/wxPython.spec } @@ -89,11 +82,8 @@ for flag in $*; do skipclean) skipclean=1 ;; skiptar) skiptar=1; skipcopy=1 ;; skiprpm) skiprpm=1 ;; - gtk2) unicode=1; port=GTK2; lcport=gtk2 ;; - x11) port=X11; lcport=x11 ;; - smp) export SMP=2 ;; speconly) makespec; exit 0 ;; - srpm) rpmflag=-bs; ;; + srpm) srpmonly=1; ;; *) echo "Unknown flag \"${flag}\"" usage @@ -144,7 +134,7 @@ if [ -z "${skipcopy}" ]; then # copy root dir contents cp -pf --link ${wxdir}/* ${tarver} > /dev/null 2>&1 - # copy all top dirs except CVS, build, demos, utils, samples, and wxPython + # copy all top dirs except CVS, build, demos, samples, utils, and wxPython for d in art build contrib debian distrib docs include lib locale misc patches src; do if [ -e ${wxdir}/$d ]; then cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1 @@ -177,13 +167,16 @@ if [ -z "${skipcopy}" ]; then cleanup CVS cleanup CVSROOT rm BuildCVS.txt + rm -f ChangeLog rm *.spec + rm -rf distrib/msw/tmake rm -rf docs/html rm -rf docs/latex rm -rf contrib/docs rm -rf contrib/samples rm locale/*.mo cleanup ".#*" + cleanup "#*#" cleanup "*~" cleanup "*.orig" cleanup "*.rej" @@ -191,6 +184,13 @@ if [ -z "${skipcopy}" ]; then cleanup core cleanup "core.[0-9]*" + # ports that are not supported yet + cleanup cocoa + cleanup mgl + cleanup motif + cleanup os2 + cleanup x11 + rm -f wxPython/wx/* > /dev/null 2>&1 popd > /dev/null @@ -205,7 +205,7 @@ fi # TODO? Output all combinations of spec files to put in the tar file?? makespec -cp ${distdir}/wxPython${port}.spec ${builddir}/${tarver}/wxPython${port}.spec +cp ${distdir}/wxPython.spec ${builddir}/${tarver}/wxPython.spec #---------------------------------------------------------------------- @@ -237,17 +237,44 @@ fi if [ -z "${skiprpm}" ]; then echo "*** Building RPMs..." cp ${distdir}/${tarver}.tar.gz ${rpmtop}/SOURCES - rpmbuild ${rpmflag} \ - --define "_topdir ${rpmtop}" \ - --define "_tmppath ${builddir}" \ - ${distdir}/wxPython${port}.spec - if [ "$?" != "0" ]; then - echo "*** RPM failure, exiting." - exit 1 - else - echo "*** Moving RPMs to ${distdir}" - mv -f `find ${rpmtop} -name "wxPython*.rpm"` ${distdir} + + if [ "${srpmonly}" = "1" ]; then + rpmbuild -bs \ + --define "_topdir ${rpmtop}" \ + --define "_tmppath ${builddir}" \ + --define "pyver ${pyver}" \ + ${distdir}/wxPython.spec + if [ "$?" != "0" ]; then + echo "*** RPM failure, exiting." + exit 1 + fi + + else + rpmbuild -ba \ + --define "_topdir ${rpmtop}" \ + --define "_tmppath ${builddir}" \ + --define "port gtk" --define "unicode 0" \ + --define "pyver ${pyver}" \ + ${distdir}/wxPython.spec + if [ "$?" != "0" ]; then + echo "*** RPM failure, exiting." + exit 1 + fi + + rpmbuild -ba \ + --define "_topdir ${rpmtop}" \ + --define "_tmppath ${builddir}" \ + --define "port gtk2" --define "unicode 1" \ + --define "pyver ${pyver}" \ + ${distdir}/wxPython.spec + if [ "$?" != "0" ]; then + echo "*** RPM failure, exiting." + exit 1 + fi fi + + echo "*** Moving RPMs to ${distdir}" + mv -f `find ${rpmtop} -name "wxPython*.rpm"` ${distdir} fi #---------------------------------------------------------------------- diff --git a/wxPython/distrib/msw/.makesetup.mk b/wxPython/distrib/msw/.makesetup.mk index 6e4b94ae89..0cc9bef97a 100644 --- a/wxPython/distrib/msw/.makesetup.mk +++ b/wxPython/distrib/msw/.makesetup.mk @@ -21,36 +21,36 @@ test : # debug $(DIR)\vc_dll\mswd\wx\setup.h : $(SRC) .makesetup.mk - -if not exist $(DIR)\vc_dll\mswd\wx mkdir /s $(DIR)\vc_dll\mswd\wx + -if not exist $(DIR)\vc_dll\mswd\wx mkdir $(DIR)\vc_dll\mswd\wx cat $(SRC) > $@ # hybrid $(DIR)\vc_dll\mswh\wx\setup.h : $(SRC) .makesetup.mk - -if not exist $(DIR)\vc_dll\mswh\wx mkdir /s $(DIR)\vc_dll\mswh\wx + -if not exist $(DIR)\vc_dll\mswh\wx mkdir $(DIR)\vc_dll\mswh\wx cat $(SRC) | $(HYB_SEDCMD) > $@ # release $(DIR)\vc_dll\msw\wx\setup.h : $(SRC) .makesetup.mk - -if not exist $(DIR)\vc_dll\msw\wx mkdir /s $(DIR)\vc_dll\msw\wx + -if not exist $(DIR)\vc_dll\msw\wx mkdir $(DIR)\vc_dll\msw\wx cat $(SRC) > $@ $(DIR)\vc_lib\msw\wx\setup.h : $(SRC) .makesetup.mk - -if not exist $(DIR)\vc_lib\msw\wx mkdir /s $(DIR)\vc_lib\msw\wx + -if not exist $(DIR)\vc_lib\msw\wx mkdir $(DIR)\vc_lib\msw\wx cat $(SRC) > $@ # debug-uni $(DIR)\vc_dll\mswud\wx\setup.h : $(SRC) .makesetup.mk - -if not exist $(DIR)\vc_dll\mswud\wx mkdir /s $(DIR)\vc_dll\mswud\wx + -if not exist $(DIR)\vc_dll\mswud\wx mkdir $(DIR)\vc_dll\mswud\wx cat $(SRC) | $(UNI_SEDCMD) > $@ # hybrid-uni $(DIR)\vc_dll\mswuh\wx\setup.h : $(SRC) .makesetup.mk - -if not exist $(DIR)\vc_dll\mswuh\wx mkdir /s $(DIR)\vc_dll\mswuh\wx + -if not exist $(DIR)\vc_dll\mswuh\wx mkdir $(DIR)\vc_dll\mswuh\wx cat $(SRC) | $(UNI_SEDCMD) | $(HYB_SEDCMD) > $@ # release-uni $(DIR)\vc_dll\mswu\wx\setup.h : $(SRC) .makesetup.mk - -if not exist $(DIR)\vc_dll\mswu\wx mkdir /s $(DIR)\vc_dll\mswu\wx + -if not exist $(DIR)\vc_dll\mswu\wx mkdir $(DIR)\vc_dll\mswu\wx cat $(SRC) | $(UNI_SEDCMD) > $@ diff --git a/wxPython/distrib/wxPythonFull.spec.in b/wxPython/distrib/wxPythonFull.spec.in index 2a56d542ef..0c4e78f163 100644 --- a/wxPython/distrib/wxPythonFull.spec.in +++ b/wxPython/distrib/wxPythonFull.spec.in @@ -1,53 +1,97 @@ -%define pref %{_prefix} -%define python @PYTHON@ -%define pyver @PYVER@ -%define port @PORT@ -%define lcport @LCPORT@ -%define unicode @UNICODE@ -%define tarname @TARNAME@ -%define version @VERSION@ -%define ver2 @VER2@ -%define wxprefbase %{pref}/lib/wxPython -%define wxpref %{wxprefbase}-%{version} -%define name wxPython%{port}-py%{pyver} +#---------------------------------------------------------------------- +# Name: wxPython.spec +# Purpose: RPM Build and packaging instructions +# +# Author: Robin Dunn +# +# RCS-ID: $Id$ +# Copyright: (c) 2004 by Total Control Software +# Licence: wxWindows license +#---------------------------------------------------------------------- -# Allow the release tag to be specified on the rpmbuild command -# line with --define 'release SOMETHING' If no such definition is -# used then the release number is 1. -%if %{?release:0}%{!?release:1} -%define release 1 +# The following values can be set on the rpmbuild command line with +# --define 'name VALUE' If no value is set on the command line then +# the default value set here will be used instead. + + +# Which version of Python to build with. Used to assemble python +# binary name so use '2.2', '2.3', etc. +%if %{?pyver:0}%{!?pyver:1} +%define pyver 2.3 +%endif + + +# Which wxWidgets port to build and use. Current acceptable values +# are 'gtk' and 'gtk2'. +%if %{?port:0}%{!?port:1} +%define port gtk2 +%endif + + +# Build in unicode mode? Can only be used if port is gtk2, acceptable +# values are '0' and '1' +%if %{?unicode:0}%{!?unicode:1} +%define unicode 1 %endif # Should the builtin image and etc. libs be used, or system libs? # Distro specific RPMs should probably set this to 0, generic ones -# should use 1 -%define builtin_libs 1 +# should use 1. +# NOTE: I'm trying 0 for this next release to see if I can get rid of +# this... +%if %{?builtin_libs:0}%{!?builtin_libs:1} +%define builtin_libs 0 +%endif # Should --enable-debug_flag be used in release builds? Using it # defines __WXDEBUG__ and gives us runtime diagnostics that are turned -# into Python exceptions starting with 2.3.4. (So turning it on is a -# very helpful thing IMO and is recommended.) The code is still -# compiled with optimization flags and such when this option is used, -# it simply turns on some extra code. +# into Python exceptions. (So turning it on is a very helpful thing +# IMO and is recommended.) The code is still compiled with +# optimization flags and and without debug info and such when this +# option is used, it simply turns on some extra code. +%if %{?debug_flag:0}%{!?debug_flag:1} %define debug_flag 1 +%endif -# build the name of the real wx-config from the port, flags, etc. -%define dbgflg %(if [ "%{debug_flag}" = "1" ]; then echo d; fi) -%define uniflg %(if [ "%{unicode}" = "1" ]; then echo u; fi) -%define DBGFLG %(if [ "%{debug_flag}" = "1" ]; then echo D; fi) -%define UNIFLG %(if [ "%{unicode}" = "1" ]; then echo U; fi) -%define wxconfigname %{wxpref}/bin/wx%{lcport}%{uniflg}%{dbgflg}-%{ver2}-config +# Used to set the Release tag below. I normally use it to define what +# distro the RPM was build on and also include the version of Python +# it was built with. +%if %{?release:0}%{!?release:1} +%define release 1_py%{pyver} +%endif -# turn off the generation of debuginfo rpm (RH9) + + +#---------------------------------------------------------------------- +# Other variables used below + +%define pref %{_prefix} +%define python /usr/bin/python%{pyver} +%define tarname @TARNAME@ +%define version @VERSION@ +%define ver2 @VER2@ + +%define chartype %(if [ "%{unicode}" = "1" ]; then echo unicode; else echo ansi; fi) +%define gtktype %(if [ "%{port}" = "gtk2" ]; then echo 2; fi) +%define using_gtk1 %(if [ "%{port}" = "gtk" ]; then echo 1; else echo 0; fi) + +%define wxprefbase %{pref}/lib/wxPython +%define wxpref %{wxprefbase}-%{version}-%{port}-%{chartype} +%define pkgname wxPython + +# turn off the generation of debuginfo rpm (RH9) ?? %define debug_package %{nil} -#---------------------------------------------------------------- -Summary: Cross platform GUI toolkit for Python using wx%{port} -Name: %{name} + +#---------------------------------------------------------------------- +# Package definition +#---------------------------------------------------------------------- +Name: %{pkgname}%{ver2} +Summary: Cross platform GUI toolkit for Python Version: %{version} Release: %{release} Source0: %{tarname}-%{version}.tar.gz @@ -55,72 +99,105 @@ License: wx Library Licence, Version 3 URL: http://wxPython.org/ Packager: Robin Dunn Group: Development/Python -BuildRoot: %{_tmppath}/%{name}-buildroot +BuildRoot: %{_tmppath}/%{pkgname}-buildroot Prefix: %{pref} -Provides: wxPython = %{version} -Provides: wxPython%{port} = %{version} - -# Provides: libwx_%{lcport}%{uniflg}%{dbgflg}-%{ver2}.so -# Provides: libwx_%{lcport}%{uniflg}%{dbgflg}-%{ver2}.so(WX%{port}%{UNIFLG}%{DBGFLG}_%{ver2}) -# Provides: libwx_%{lcport}%{uniflg}%{dbgflg}_gl-%{ver2}.so -# Provides: libwx_%{lcport}%{uniflg}%{dbgflg}_gl-%{ver2}.so(WX%{port}%{UNIFLG}%{DBGFLG}_%{ver2}) +%description +Cross platform GUI toolkit for Python -# old wxPython packages -Obsoletes: wxPython wxPython%{port} -%description -wxPython is a GUI toolkit for Python that is a wrapper around the -wxWidgets C++ GUI library. wxPython provides a large variety of -window types and controls, all implemented with a native look and feel -(and native runtime speed) on the platforms it is supported on. - -This package is implemented using the %{port} port of wxWidgets, and -includes the wx%{port} shared libs and etc. +%package -n %{pkgname}%{ver2}-%{port}-%{chartype} +Summary: Cross platform GUI toolkit for Python +Group: Development/Python +Requires: %{pkgname}-common +Obsoletes: wxPythonGTK%{gtktype}-py%{pyver} +Provides: wxPython -%package -n wxPython%{port}-devel -Summary: wxPython%{port} development files +%description -n %{pkgname}%{ver2}-%{port}-%{chartype} +wxPython is a GUI toolkit for the Python programming language. It + allows Python programmers to create programs with a robust, highly +functional graphical user interface, simply and easily. It is +implemented as a Python extension module (native code) that wraps the +popular wxWidgets cross platform GUI library, which is written in C++. + +wxPython is a cross-platform toolkit. The same program will usually +run on multiple platforms without modification. Currently supported +platforms are 32-bit Microsoft Windows, most Unix or unix-like +systems, and Macintosh OS X. + +This package contains the wxPython runtime files built for the +wxWidgets %{port} port with %{chartype} character type. + + + + + +%package -n %{pkgname}-common-%{port}-%{chartype} +Summary: Common files for needed by all wxPython runtimes +Group: Development/Python +Provides: %{pkgname}-common + +# They obsolete each other so any of them can be installed over another +# without conflicts +Obsoletes: %{pkgname}-common-gtk-ansi +Obsoletes: %{pkgname}-common-gtk2-ansi +Obsoletes: %{pkgname}-common-gtk2-unicode + +%description -n %{pkgname}-common-%{port}-%{chartype} +This package contains the common files needed by any version of the +wxPython runtime. This pacakge also installs a wx.pth file which will +determine which of the installed runtimes is the default version of +wxPython that is imported automatically with a bare "import wx". + + + + + +%package -n %{pkgname}%{ver2}-devel-%{port}-%{chartype} +Summary: wxPython development files Group: Development/Libraries -Requires: wxPython%{port} = %{version} +Requires: %{pkgname}%{ver2}-%{port}-%{chartype} = %{version} - -%description -n wxPython%{port}-devel +%description -n %{pkgname}%{ver2}-devel-%{port}-%{chartype} This packages contains the headers and etc. for building apps or -Python extension modules that use the same wx%{port} shared libraries +Python extension modules that use the same wxWidgets shared libraries that wxPython uses. -#---------------------------------------------------------------- + + +#---------------------------------------------------------------------- %prep %setup -q -n %{tarname}-%{version} -#---------------------------------------------------------------- +#---------------------------------------------------------------------- %build WXDIR=`pwd` + +# Configure and build wxWidgets mkdir bld cd bld - -# Configure, trying to reduce external dependencies -../configure --with-%{lcport} \ +../configure --with-gtk \ --prefix=%{wxpref} \ - --disable-soname \ - --disable-monolithic \ + --enable-monolithic \ --enable-rpath=%{wxpref}/lib \ --with-opengl \ -%if %{unicode} - --enable-gtk2 \ - --enable-unicode \ -%else - --disable-gtk2 \ -%endif --enable-geometry \ --enable-optimise \ --enable-sound --with-sdl \ --enable-display \ +%if %{using_gtk1} + --disable-gtk2 \ +%else + --enable-gtk2 \ +%endif +%if %{unicode} + --enable-unicode \ +%endif %if %{debug_flag} --enable-debug_flag \ %endif @@ -132,56 +209,56 @@ cd bld %endif -# Build wxWidgets and some contrib libs make make -C contrib/src/gizmos make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" make -C contrib/src/stc -make -C contrib/src/xrc -# Now build wxPython + +# Build wxPython cd $WXDIR/wxPython %{python} setup.py \ - NO_SCRIPTS=1 \ - WXPORT=%{lcport} \ + WXPORT=%{port} \ UNICODE=%{unicode} \ + EP_ADD_OPTS=1 \ + NO_SCRIPTS=1 \ WX_CONFIG="$WXDIR/bld/wx-config --inplace" \ build -# Build wxrc (XRC resource tool) -cd $WXDIR/bld/contrib/utils/wxrc -make -strip wxrc - -#---------------------------------------------------------------- +#---------------------------------------------------------------------- %install WXDIR=`pwd` -cd bld -# Install wxWidgets and the contribs +# Install wxGTK and contribs +cd bld make prefix=$RPM_BUILD_ROOT%{wxpref} install make -C contrib/src/gizmos prefix=$RPM_BUILD_ROOT%{wxpref} install make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" prefix=$RPM_BUILD_ROOT%{wxpref} install make -C contrib/src/stc prefix=$RPM_BUILD_ROOT%{wxpref} install -make -C contrib/src/xrc prefix=$RPM_BUILD_ROOT%{wxpref} install -# install wxPython + +# Install wxPython for wxGTK cd $WXDIR/wxPython %{python} setup.py \ - NO_SCRIPTS=1 \ - WXPORT=%{lcport} \ + WXPORT=%{port} \ UNICODE=%{unicode} \ + EP_ADD_OPTS=1 \ + NO_SCRIPTS=1 \ WX_CONFIG="$RPM_BUILD_ROOT%{wxpref}/bin/wx-config --prefix=$RPM_BUILD_ROOT%{wxpref}" \ install \ --root=$RPM_BUILD_ROOT -cd $WXDIR/wxPython +# remove the wx-config symlink, we'll redo it when installing the -devel package +rm $RPM_BUILD_ROOT%{wxpref}/bin/wx-config + +# make sure that debug info is stripped +strip $RPM_BUILD_ROOT%{pref}/lib*/python%{pyver}/site-packages/wx-%{ver2}*-%{port}-%{chartype}/wx/*.so # Since I want this RPM to be as generic as possible I won't let @@ -189,10 +266,8 @@ cd $WXDIR/wxPython # the #! line to use the real python pathname. Since some distros # install python 2.2 as python2 and others as python I can't let # distutils do that otherwise the dependencies will be fouled up. -# Copy them manually instead, leaving the #!/bin/env line intact. -# TODO: Should this be dependent on %{builtin_libs} or something like -# it? - +# Copy them manually instead, leaving the #!/usr/bin/env line intact. +cd $WXDIR/wxPython mkdir -p $RPM_BUILD_ROOT%{pref}/bin for s in \ helpviewer \ @@ -204,16 +279,14 @@ for s in \ pycrust \ pywrap \ pyshell \ + pywxrc \ xrced; do cp scripts/$s $RPM_BUILD_ROOT%{pref}/bin done -# Install wxrc -cp $WXDIR/bld/contrib/utils/wxrc/wxrc $RPM_BUILD_ROOT%{pref}/bin - -# install KDE & GNOME menus +# install KDE & GNOME menu items mkdir -p $RPM_BUILD_ROOT%{_datadir}/applnk/Development mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications for d in distrib/*.desktop; do @@ -231,31 +304,31 @@ install -m 644 wx/tools/XRCed/XRCed_16.png $RPM_BUILD_ROOT%{_datadir}/icons/hico install -m 644 wx/tools/XRCed/XRCed_32.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/XRCed.png install -m 644 wx/tools/XRCed/XRCed_32.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/XRCed.png -# install Mandrake menu +# install Mandrake menu items mkdir -p $RPM_BUILD_ROOT%{_libdir}/menu -cat > $RPM_BUILD_ROOT%{_libdir}/menu/%{name} < $RPM_BUILD_ROOT%{_libdir}/menu/%{pkgname} < $RPM_BUILD_ROOT%{_libdir}/menu/%{name} <http://wxWidgets.org/snapshots/, a checkout from CVS, or -one of the released wxPythonSrc-2.5.* tarballs. I'll also assume that +one of the released wxPython-src-2.5.* tarballs. I'll also assume that you know your way around your system, the compiler, etc. and most importantly, that you know what you are doing! ;-)

If you want to also install the version of wxPython you build to be in @@ -25,29 +25,29 @@ you only use the instructions in this BUI will end up with a separate installation of wxPython and you can switch back and forth between this and the release version that you may already have installed.

-

If you want to make changes to any of the *.i files, (SWIG interface -definition files,) or to regenerate the extension sources or renamer -modules, then you will need an up to date version of SWIG. Either get -and build the current CVS version, or version 1.3.20, and then apply -the patches in wxPython/SWIG. See the README.txt in that dir for -details about each patch and also info about those that may already -have been applied to the SWIG sources. If you install this build of -SWIG to a location that is not on the PATH (so it doesn't interfere -with an existing SWIG install for example) then you can set a setup.py -command-line variable named SWIG to be the full path name of the -executable and the wxPython build will use it. See below for an -example.

+

If you want to make changes to any of the *.i files, (SWIG +interface definition files,) or to regenerate the extension sources or +renamer modules, then you will need an up to date version of SWIG, +plus some patches. Get the sources for version 1.3.22, and then apply +the patches in wxPython/SWIG and then build SWIG like normal. See the +README.txt in the wxPython/SWIG dir for details about each patch and +also info about those that may already have been applied to the SWIG +sources. If you install this build of SWIG to a location that is not +on the PATH (so it doesn't interfere with an existing SWIG install for +example) then you can set a setup.py command-line variable named SWIG +to be the full path name of the executable and the wxPython build will +use it. See below for an example.

In the text below I'll use WXDIR with environment variable syntax -(either $WXDIR or %WXDIR%) to refer to the top level directory were +(either $WXDIR or %WXDIR%) to refer to the top level directory where your wxWidgerts and wxPython sources are located. It will equate to whereever you checked out the wxWidgets module from CVS, or untarred -the wxPythonSrc tarball to. You can either substitute the $WXDIR text +the wxPython-src tarball to. You can either substitute the $WXDIR text below with your actual dir, or set the value in the environment and use it just like you see it below.

If you run into what appears to be compatibility issues between wxWidgets and wxPython while building wxPython, be sure you are using -the wxWidgets sources included with the wxPythonSrc tarball or the CVS -snapshot, and not a previously installed version or a version +the wxWidgets sources included with the wxPython-src tarball or the +CVS snapshot, and not a previously installed version or a version installed from one of the standard wxWidgets installers. With the "unstable" releases (have a odd-numbered minor release value, where the APIs are allowed to change) there are often significant @@ -81,23 +81,28 @@ cd bld

On OS X of course you'll want to use --with-mac instead of --with-gtk.

-

NOTE: Due to a recent change there is a dependency problem in the -multilib builds of wxWidgets on OSX, so I have switched to a -monolithic build on that platform. (IOW, all of the core code in -one shared library instead of several.) I would also expect other -unix builds to do just fine with a monolithic library, but I havn't -tested it in a while so your mileage may vary. Anyway, to switch +

NOTE: Due to a recent change there is currently a dependency +problem in the multilib builds of wxWidgets on OSX, so I have +switched to using a monolithic build. That means that all of the +core wxWidgets code is placed in in one shared library instead of +several. wxPython can be used with either mode, so use whatever +suits you on Linux and etc. but use monolithic on OSX. To switch to the monolithic build of wxWidgets just add this configure flag:

 --enable-monolithic \
 
-

By default GTK2 will be selected if it is on your build system. To -force the use of GTK 1.2.x add this flag:

+

By default GTK2 will be selected if its development pacakge is +installed on your build system. To force the use of GTK 1.2.x +instead add this flag:

 --disable-gtk2 \
 
-

To make the wxWidgets build be Unicode enabled (strongly -recommended if you are building with GTK2) then add:

+

To make the wxWidgets build be unicode enabled (strongly +recommended if you are building with GTK2) then add the following. +When wxPython is unicode enabled then all strings that are passed +to wx functions and methods will first be converted to unicode +objects, and any 'strings' returned from wx functions and methods +will actually be unicode objects.:

 --enable-unicode \
 
@@ -131,8 +136,7 @@ dir I don't lose my scripts too.) This is what it looks like:

make $* \ && make -C contrib/src/gizmos $* \ && make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" $* \ - && make -C contrib/src/stc $* \ - && make -C contrib/src/xrc $* + && make -C contrib/src/stc $*

So you just use .make as if it where make, but don't forget to set the execute bit on .make first!:

@@ -178,7 +182,7 @@ WX_CONFIG=/opt/wx/2.5/bin/wx-config GTK2. If you built wxWidgets to use GTK 1.2.x then you should add this flag to the command-line:

-WXPORT=gtk2 
+WXPORT=gtk 
 

If you would like to do a Unicode enabled build (all strings sent to or retruned from wx functions are Unicode objects) and your @@ -235,7 +239,7 @@ compilers) can also be used but I've never done the work to make that happen. If you want to try that then first you'll want to find out if there are any tricks that have to be done to make Python extension modules using that compiler, and then make a few changes to setup.py -to accomodate that. (And send the patches to me.) If you plan on +to accommodate that. (And send the patches to me.) If you plan on using VisualStudio.Net (a.k.a. MSVC 7.1) keep in mind that you'll also have to build Python and any other extension modules that you use with that compiler because a different version of the C runtime library is @@ -251,6 +255,12 @@ or python23_d.dll. If you don't need to trace through the C/C++ parts of the code with the debugger then building the normal (or hybrid) version is fine, and you can use the regular python executables with it.

+

Starting with 2.5.3.0 wxPython can be built for either the monlithic +or the multi-lib wxWidgets builds. (Monolithic means that all the +core wxWidgets code is in one DLL, and multi-lib means that the core +code is divided into multiple DLLs.) To select which one to use +specify the MONOLITHIC flag for both the wxWidgets build and the +wxPython build as shown below, setting it to either 0 or 1.

Just like the unix versions I also use some scripts to help me build wxWidgets, but I use some non-standard stuff to do it. So if you have bash (cygwin or probably MSYS too) or 4NT plus unix-like cat and sed @@ -343,7 +353,7 @@ clean up the build:

executing nmake with a bunch of extra command line parameters. The base set are:

--f makefile.vc OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=0 USE_OPENGL=1
+-f makefile.vc OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=1 USE_OPENGL=1
 

If doing a debug build then add:

@@ -363,7 +373,6 @@ same command from the following directories in order to build the
 contrib libraries:

     %WXDIR%\contrib\build\gizmos
-    %WXDIR%\contrib\build\xrc
     %WXDIR%\contrib\build\stc
     %WXDIR%\contrib\build\ogl
 
@@ -385,10 +394,11 @@ version the rest of the time.  If you ever do want to install the
 development version please refer to INSTALL.txt.

Change to the %WXDIR%\wxPython dir and run the this command, making sure that you use the version of python that you want to -build for (if you have more than one on your system):

+build for (if you have more than one on your system) and to match +the MONOLITHIC flag with how you built wxWidgets:

 cd %WXDIR%\wxPython
-python setup.py build_ext --inplace 
+python setup.py build_ext --inplace MONOLITHIC=1
 

If you are wanting to have the source files regenerated with swig, then you need to turn on the USE_SWIG flag and optionally tell it diff --git a/wxPython/docs/BUILD.txt b/wxPython/docs/BUILD.txt index 1b59bc8a69..85d25f0dda 100644 --- a/wxPython/docs/BUILD.txt +++ b/wxPython/docs/BUILD.txt @@ -5,7 +5,7 @@ This file describes how I build wxWidgets and wxPython while doing development and testing, and is meant to help other people that want to do the same thing. I'll assume that you are using either a CVS snapshot from http://wxWidgets.org/snapshots/, a checkout from CVS, or -one of the released wxPythonSrc-2.5.* tarballs. I'll also assume that +one of the released wxPython-src-2.5.* tarballs. I'll also assume that you know your way around your system, the compiler, etc. and most importantly, that you know what you are doing! ;-) @@ -21,31 +21,31 @@ may already have installed. .. _INSTALL: INSTALL.html .. _BUILD: BUILD.html -If you want to make changes to any of the ``*.i`` files, (SWIG interface -definition files,) or to regenerate the extension sources or renamer -modules, then you will need an up to date version of SWIG. Either get -and build the current CVS version, or version 1.3.20, and then apply -the patches in wxPython/SWIG. See the README.txt in that dir for -details about each patch and also info about those that may already -have been applied to the SWIG sources. If you install this build of -SWIG to a location that is not on the PATH (so it doesn't interfere -with an existing SWIG install for example) then you can set a setup.py -command-line variable named SWIG to be the full path name of the -executable and the wxPython build will use it. See below for an -example. +If you want to make changes to any of the ``*.i`` files, (SWIG +interface definition files,) or to regenerate the extension sources or +renamer modules, then you will need an up to date version of SWIG, +plus some patches. Get the sources for version 1.3.22, and then apply +the patches in wxPython/SWIG and then build SWIG like normal. See the +README.txt in the wxPython/SWIG dir for details about each patch and +also info about those that may already have been applied to the SWIG +sources. If you install this build of SWIG to a location that is not +on the PATH (so it doesn't interfere with an existing SWIG install for +example) then you can set a setup.py command-line variable named SWIG +to be the full path name of the executable and the wxPython build will +use it. See below for an example. In the text below I'll use WXDIR with environment variable syntax -(either $WXDIR or %WXDIR%) to refer to the top level directory were +(either $WXDIR or %WXDIR%) to refer to the top level directory where your wxWidgerts and wxPython sources are located. It will equate to whereever you checked out the wxWidgets module from CVS, or untarred -the wxPythonSrc tarball to. You can either substitute the $WXDIR text +the wxPython-src tarball to. You can either substitute the $WXDIR text below with your actual dir, or set the value in the environment and use it just like you see it below. If you run into what appears to be compatibility issues between wxWidgets and wxPython while building wxPython, be sure you are using -the wxWidgets sources included with the wxPythonSrc tarball or the CVS -snapshot, and not a previously installed version or a version +the wxWidgets sources included with the wxPython-src tarball or the +CVS snapshot, and not a previously installed version or a version installed from one of the standard wxWidgets installers. With the "unstable" releases (have a odd-numbered minor release value, where the APIs are allowed to change) there are often significant @@ -86,23 +86,28 @@ place, then do the same for wxPython. On OS X of course you'll want to use --with-mac instead of --with-gtk. - **NOTE**: Due to a recent change there is a dependency problem in the - multilib builds of wxWidgets on OSX, so I have switched to a - monolithic build on that platform. (IOW, all of the core code in - one shared library instead of several.) I would also expect other - unix builds to do just fine with a monolithic library, but I havn't - tested it in a while so your mileage may vary. Anyway, to switch + **NOTE**: Due to a recent change there is currently a dependency + problem in the multilib builds of wxWidgets on OSX, so I have + switched to using a monolithic build. That means that all of the + core wxWidgets code is placed in in one shared library instead of + several. wxPython can be used with either mode, so use whatever + suits you on Linux and etc. but use monolithic on OSX. To switch to the monolithic build of wxWidgets just add this configure flag:: --enable-monolithic \ - By default GTK2 will be selected if it is on your build system. To - force the use of GTK 1.2.x add this flag:: + By default GTK2 will be selected if its development pacakge is + installed on your build system. To force the use of GTK 1.2.x + instead add this flag:: --disable-gtk2 \ - To make the wxWidgets build be Unicode enabled (strongly - recommended if you are building with GTK2) then add:: + To make the wxWidgets build be unicode enabled (strongly + recommended if you are building with GTK2) then add the following. + When wxPython is unicode enabled then all strings that are passed + to wx functions and methods will first be converted to unicode + objects, and any 'strings' returned from wx functions and methods + will actually be unicode objects.:: --enable-unicode \ @@ -137,8 +142,7 @@ place, then do the same for wxPython. make $* \ && make -C contrib/src/gizmos $* \ && make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" $* \ - && make -C contrib/src/stc $* \ - && make -C contrib/src/xrc $* + && make -C contrib/src/stc $* So you just use .make as if it where make, but don't forget to set the execute bit on .make first!:: @@ -250,7 +254,7 @@ compilers) can also be used but I've never done the work to make that happen. If you want to try that then first you'll want to find out if there are any tricks that have to be done to make Python extension modules using that compiler, and then make a few changes to setup.py -to accomodate that. (And send the patches to me.) If you plan on +to accommodate that. (And send the patches to me.) If you plan on using VisualStudio.Net (a.k.a. MSVC 7.1) keep in mind that you'll also have to build Python and any other extension modules that you use with that compiler because a different version of the C runtime library is @@ -268,6 +272,13 @@ of the code with the debugger then building the normal (or hybrid) version is fine, and you can use the regular python executables with it. +Starting with 2.5.3.0 wxPython can be built for either the monlithic +or the multi-lib wxWidgets builds. (Monolithic means that all the +core wxWidgets code is in one DLL, and multi-lib means that the core +code is divided into multiple DLLs.) To select which one to use +specify the MONOLITHIC flag for both the wxWidgets build and the +wxPython build as shown below, setting it to either 0 or 1. + Just like the unix versions I also use some scripts to help me build wxWidgets, but I use some non-standard stuff to do it. So if you have bash (cygwin or probably MSYS too) or 4NT plus unix-like cat and sed @@ -361,7 +372,7 @@ accordingly if you are using the bash shell. executing nmake with a bunch of extra command line parameters. The base set are:: - -f makefile.vc OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=0 USE_OPENGL=1 + -f makefile.vc OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=1 USE_OPENGL=1 If doing a debug build then add:: @@ -381,7 +392,6 @@ accordingly if you are using the bash shell. contrib libraries:: %WXDIR%\contrib\build\gizmos - %WXDIR%\contrib\build\xrc %WXDIR%\contrib\build\stc %WXDIR%\contrib\build\ogl @@ -404,10 +414,11 @@ accordingly if you are using the bash shell. Change to the %WXDIR%\\wxPython dir and run the this command, making sure that you use the version of python that you want to - build for (if you have more than one on your system):: + build for (if you have more than one on your system) and to match + the MONOLITHIC flag with how you built wxWidgets:: cd %WXDIR%\wxPython - python setup.py build_ext --inplace + python setup.py build_ext --inplace MONOLITHIC=1 If you are wanting to have the source files regenerated with swig, then you need to turn on the USE_SWIG flag and optionally tell it diff --git a/wxPython/docs/CHANGES.html b/wxPython/docs/CHANGES.html index 51f9a80a67..992e4b380c 100644 --- a/wxPython/docs/CHANGES.html +++ b/wxPython/docs/CHANGES.html @@ -11,7 +11,161 @@

Recent Changes for wxPython

-

2.5.2.8

+

2.5.3.1

+

wxMac focus and border refreshes corrected.

+

Updated internal PNG library.

+

wxMac fix for metal appearance on wx.ToolBar.

+

wx.grid.Grid fix allowing DoGetBestSize to be called before CreateGrid +(which means that a min size doesn't need to be specified.)

+

wxMac fix for not sending a native click to a control if it is not +enabled (does an enable itself)

+

Added wx.lib.ogl.DrawnShape, and fixed various little bugs in the new +OGL.

+

Added support to XRC and XRCed for the 3-state checkbox flags and also +for wx.ToggleButton. Updated the generic window styles supported by +XRCed.

+

It is now possible to create "stock" buttons. Basically this means +that you only have to provide one of the stock IDs (and either an +empty label or a label that matches the stock label) when creating the +button and wxWidgets will choose the stock label to go with it +automatically. Additionally on the platforms that have a native +concept of a stock button (currently only GTK2) then the native stock +button will be used. For example, the following will result in a +button with "Cancel" as the label and an accelerator on the "C", and +if run on wxGTK2 then there will also be an image of a red X:

+
+b = wx.Button(parent, wx.ID_CANCEL) 
+
+

Added wx.lib.ticker.Ticker class from Chris Mellon.

+

Fix some incorrect clipping regions in wxSTC on wxGTK.

+

Added wrapper for wx.grid.Grid.GetOrCreateCellAttr.

+

Removed my copy of distutils from the wxPython source tree. Now that +I am no longer doing builds on Python 2.1 the newest distutils is no +longer needed. (There is still one small bug in Python 2.2 distutils +on win32, but it is easily worked around.) This sovles the problem of +incorrect builds on some systems where the system installed distutils +has been patched to behave slightly differently, for example SuSE on +x86_64 or Chandler's build.

+

Updated to SWIG 1.3.22 (plus my patch.) See wxPython/SWIG/README.txt +in the source tree if you need to use SWIG when building your own copy +of wxPython, or other extension modules that need to integrate with +the wxPython modules.

+

Added wx.Frame.RequestUserAttention which, if the platform suports it, +will do something (such as flash the task bar item) to suggest to the +user that they should look at that window.

+

"Fixed" wx.grid.Grid.SetDefaultEditor and SetDefaultRenderer by making +them register the editor or renderer for the "string" data type.

+

Added depth param to wx.Image.ConvertToBitmap.

+

Extended the wx.calendar.CalendarCtrl class with methods that get/set +a Python datetime or date object. (These will only work with Python +2.3+) The methods are PySetDate, PyGetDate, PySetLowerDateLimit, +PySetUpperDateLimit, PySetDateRange, PyGetLowerDateLimit, and +PyGetUpperDateLimit. Also, CalendarEvent was extended with PySetDate +and PyGetDate methods.

+

wxMSW: SetBackgroundColour on a wx.Choice or a wx.ComboBox will now +also set the colour of the dropdown.

+

wxMac: MessageDialog now supports wx.NO_DEFAULT style

+

wxMSW: added AssociateHandle and DissociateHandle to wx.Window

+

wxMac: fix for toolbar tooltips

+

wx.Sizer.Show (and Hide) now take an optional parameter specifying if +the item to be shown should be searched for recursivly in subsizers, +and return a boolean value indicating if the item was found.

+

wxMSW: fixed MaximizeEvent generation in wx.Frame

+

wxMSW: fixed sending duplicate EVT_COMBOBOX events

+

Smoother time estimation updates in wx.ProgressDialog (patch 992813)

+

Made wx.Listbook events more consistent with wx.Notebook ones (patch +1001271)

+

Fixed rounding errors in variable status bar panes widths computation +(patch 1030021)

+

Added possibility to specify printer bin (patch 910272)

+

wxMSW: fixed wx.ListCtrl's SetWindowStyleFlag() to not remove +WS_VISIBLE; also refresh the control automatically (closes bug +1019440)

+

Added wx.Choicebook, yet another notebook-like control.

+

wxMSW: Make radiobutton tab behaviour the same on MSW as in standard +MSW app, i.e. tab into the activated, not necessarily the first radio +button.

+

Added limited support for wxEventLoop (you can't derive from a +wx.PyEventLoop version yet...) Updated and moved the sample showing +how to replace the MainLoop to samples/mainloop/mainloop.py.

+

The C++ xrc lib has been moved out of contrib and into the core, so it +is always built by default. wxPython's build has also changed +accordingly and will build the xrc module as part of the core set of +modules built by default. If you were axplicitly using BUILD_XRC then +it will no longer be recognized as a build option, otherwise you +should notice no difference.

+

wxMac: Fixed radio toolbar buttons to correctly untoggle the others +when a new one is selected.

+

wxMac: Fixed GetLineLength and GetLineText for MLTE text controls

+

wxMac: wx.TaskBarIcon is implemented by allowing you to change the +app's icon on the Dock and also specifying a menu that should be +merged with the normal dock popup menu. See the MigrationGuide for +more details and a warning.

+

Added wx.TopLevelWindow.IsActive() which tells you if the frame or +dialog is or containts the active window with the keyboard focus.

+

Added ability to create a font based on pixel size rather than point +size via the FontFromPixelSize constructor.

+

Updated the Scintilla used by StyledTextCtrl to version 1.61

+

Improved image HitTest for TreeListCtrl.

+

Added wx.App.IsMainLoopRunning.

+

wxGTK: Make wxComboBox spit out a bit fewer surplus events when +holding down the mouse button.

+

wxGTK: Enable key based navigation through notebook tabs as in the +native control with Left and right keys. Support for vetoing.

+

FloatCanvas updates from Chris Barker

+
+
PyPlot updates from Gordon Williams:
+
    +
  • Added bar graph demo
  • +
  • Modified line end shape from round to square.
  • +
  • Removed FloatDCWrapper for conversion to ints and ints in +arguments
  • +
  • Imported modules given leading underscore to name.
  • +
  • Added Cursor Line Tracking and User Point Labels.
  • +
  • Demo for Cursor Line Tracking and Point Labels.
  • +
  • Size of plot preview frame adjusted to show page better.
  • +
  • Added helper functions PositionUserToScreen and +PositionScreenToUser in PlotCanvas.
  • +
  • Added functions GetClosestPoints (all curves) and GetClosestPoint +(only closest curve) can be in either user coords or screen +coords.
  • +
+
+
MaskedEdit updates from Will Sadkin:
+
    +
  • Added '*' mask char that means "all ansii chars" (ords 32-255)
  • +
  • Added proper unicode support to masked controls and wx.tools.dbg
  • +
  • Fixed two reported missing import bugs introduced by package +creation
  • +
  • Converted masked package doc strings to reST format for better +epydoc support
  • +
  • lots of doc string improvements and function hiding to better +reflect package's public contents.
  • +
+
+
+

Restructured the installer packages slightly to help facilitate having +multiple versions of wxPython installed at the same time. See the +Migrarion Guide for more information.

+
+
Applied patch from Pim Van Heuven that modifies 4 files:
+
    +
  • wxPython/demo/ListCtrl_edit.py (new demo)
  • +
  • wxPython/demo/Main.py (include new demo in demo app)
  • +
  • wxPython/wx/lib/mixins/listctrl.py (several improvements to +TextEditMixin)
  • +
  • wxPython/wx/lib/wxpTag.py (some small fixes)
  • +
+
+
+

Added (thanks to Kevin Ollivier!) wrappers for wx.WebKitCtrl for the +OSX build. Other platforms will raise an exception if you try to use +it.

+

wxPython on OSX can now be built in Unicode mode, can support multiple +version installs, and comes with an uninstaller script.

+
+
+

2.5.2.8

Predominantly a bug-fix release.

    @@ -39,8 +193,8 @@ wxCheckListBox.
-
-

2.5.2.7

+
+

2.5.2.7

wx.ADJUST_MINSIZE is now the default behaviour for window items in sizers. This means that the item's GetMinSize and/or GetBestSize will be called when calculating layout and the return value from that will @@ -133,8 +287,8 @@ in the PyShell:

... wx.MilliSleep(10)
-
-

2.5.1.5

+
+

2.5.1.5

(See also the MigrationGuide file for details about some of the big changes that have happened in this release and how you should adapt your code.)

@@ -215,8 +369,8 @@ migrating away from using activexwrapper as well. Please see the MigrationGuide for more details on using the new module.

Floats are allowed again as function parameters where ints are expected.

-
-

2.4.2.4

+
+

2.4.2.4

Use wxSTC in the demo for displaying the soucre code of the samples.

Lots of bug fixes and such from the wxWindows folks.

Added wxPython.lib.newevent from Miki Tebeka. Its usage is @@ -225,8 +379,8 @@ demonstrated in the Threads sample in the demo.

Added wxMaskedNumCtrl.

Added Chris Barker's FloatCanvas.

-
-

2.4.1.2

+
+

2.4.1.2

Added wxScrolledPanel from Will Sadkin

Added SetShape method to top level windows (e.g. wxFrame.)

Changed wxSWIG to not generate Python code using apply, (since it will @@ -277,8 +431,8 @@ release,) SetItemMinSize can now take a wxSize (or 2-tuple) parameter, and Spacers can be specified with a wxSize (or 2-tuple) parameter

Added wxCursorFromBits.

-
-

2.4.0.7

+
+

2.4.0.7

Gave up on generating a warning upon the use of the old true/false or TRUE/FALSE values.

Fixed wxGenericTreeCtrl (used on wxGTK and wxMac for wxTreeCtrl) so @@ -308,8 +462,8 @@ think I am testing in the future...

Updated pycolourchooser.

Updated to 0.9b of PyCrust.

-
-

2.4.0.4

+
+

2.4.0.4

Added missing wxRect methods

Add OOR support for wxApp objects too.

Added wxCursorFromImage, which works on wxMSW and wxGTK so far.

@@ -365,25 +519,25 @@ doesn't have a standard place for them.

Fixed typemaps for wxGridCellCoordsArray.

Updated to the 0.9a version of PyCrust

-
-

2.4.0.2

+
+

2.4.0.2

Several bug fixes.

Added wxIntCtrl from Will Sadkin.

Added wxPyColourChooser by Michael Gilfix.

-
-

2.4.0.1

+
+

2.4.0.1

No major new features since 2.3.4.2, mostly bug fixes and minor enhancements.

Added function wrappers for the common dialogs from Kevin Altis. See wxPython/lib/dialogs.py for more details.

-
-

2.3.4.2

+
+

2.3.4.2

Various bug fixes.

-
-

2.3.4.1

+
+

2.3.4.1

Updated XRCed and wxTimeCtrl contribs.

Show a couple new wxGrid features in the demo.

Several bug fixes in wxWindows.

@@ -437,8 +591,8 @@ windows when desired.

HTMLHelp viewer does. Changed how the wxPythonDocs tarball is built and added a script to launch the doc viewer.

-
-

2.3.3.1

+
+

2.3.3.1

Added wxSplashScreen.

Added wxGenericDirCtrl.

Added wxMultiChoiceDialog.

@@ -580,15 +734,15 @@ example.

Added wxPython.lib.mixins.rubberband module from Robb Shecter.

Added wxTimeCtrl from Will Sadkin.

-
-

2.3.2.1

+
+

2.3.2.1

Changed (again) how the Python global interpreter lock is handled as well as the Python thread state. This time it works on SMP machines without barfing and is also still compatible with Python debuggers.

Added some patches from library contributors.

-
-

2.3.2

+
+

2.3.2

Added EVT_HELP, EVT_HELP_RANGE, EVT_DETAILED_HELP, EVT_DETAILED_HELP_RANGE, EVT_CONTEXT_MENU, wxHelpEvent, wxContextMenuEvent, wxContextHelp, wxContextHelpButton, wxTipWindow, @@ -670,8 +824,8 @@ SendCommand method, but it is still quite powerful. See wxPython/contrib/dllwidget and wxPython/demo/dllwidget for more details.

-
-

2.3.1

+
+

2.3.1

Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the user code can get access to the edit control when it is created, (to push on a custom event handler for example.)

@@ -684,8 +838,8 @@ subclass wxXmlResourceHandler, etc...

Fixed img2py to work correctly with Python 2.1.

Added enhanced wxVTKRenderWindow by Prabhu Ramachandran

-
-

2.3.0

+
+

2.3.0

Removed initial startup dependency on the OpenGL DLLs so only the glcanvasc.pyd depends on them, (on wxMSW.)

Changed wxFont, wxPen, wxBrush to not implicitly use the @@ -781,13 +935,13 @@ please send it to me for inclusion in this package.

by having smaller functional apps to play with. They can be found in wxPython/samples.

-
-

2.2.6

+
+

2.2.6

No changes happened in the Python wrappers for this release, only changes and fixes in the wxWindows library.

-
-

2.2.5

+
+

2.2.5

New typemaps for wxString when compiling for Python 2.0 and beyond that allow Unicode objects to be passed as well as String objects. If a Unicode object is passed PyString_AsStringAndSize is used to convert @@ -1030,7 +1184,7 @@ an EVT_SIZE handler that calls Layout().

Fixed deadlock problem that happened when using threads.

Added new HTML printing classes.

Added wxWindow.GetHandle

-

Apparently wxMouseEvent.Position has been depreciated in wxWindows as +

Apparently wxMouseEvent.Position has been deprecated in wxWindows as it is no longer available by default. You can use GetPositionTuple (returning a tuple with x,y) instead, or GetPosition (returning a wxPoint.)

@@ -1088,7 +1242,7 @@ pages. See the demo for an example.

wxGTK. Added them back in since the methods exist now.

Wrapped the wxHtmlHelpController and related classes.

Wrapped the C++ versions of wxSizer and friends. The Python-only -versions are still in the library, but depreciated. (You will get a +versions are still in the library, but deprecated. (You will get a warning message if you try to use them, but the warning can be disabled.) The usage of the C++ versions is slightly different, and the functionality of wxBorderSizer is now part of wxBoxSizer. I have @@ -1227,7 +1381,7 @@ matches MSW's.

Added wxGrid.GetCells

Added wxSystemSettings static methods as functions with names like wxSystemSettings_GetSystemColour.

-

Removed wxPyMenu since using menu callbacks have been depreciated in +

Removed wxPyMenu since using menu callbacks have been deprecated in wxWindows. Use wxMenu and events instead.

Added alternate wxBitmap constructor (for MSW only) as
diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 2e3ecaaf9f..41c070fa35 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -1,7 +1,7 @@ Recent Changes for wxPython ===================================================================== -2.5.3.0 +2.5.3.1 ------- wxMac focus and border refreshes corrected. @@ -152,8 +152,17 @@ FloatCanvas updates from Chris Barker PyPlot updates from Gordon Williams: - Added bar graph demo - Modified line end shape from round to square. - - Removed FloatDCWrapper for conversion to ints and ints in arguments - + - Removed FloatDCWrapper for conversion to ints and ints in + arguments + - Imported modules given leading underscore to name. + - Added Cursor Line Tracking and User Point Labels. + - Demo for Cursor Line Tracking and Point Labels. + - Size of plot preview frame adjusted to show page better. + - Added helper functions PositionUserToScreen and + PositionScreenToUser in PlotCanvas. + - Added functions GetClosestPoints (all curves) and GetClosestPoint + (only closest curve) can be in either user coords or screen + coords. MaskedEdit updates from Will Sadkin: - Added '*' mask char that means "all ansii chars" (ords 32-255) @@ -165,6 +174,24 @@ MaskedEdit updates from Will Sadkin: - lots of doc string improvements and function hiding to better reflect package's public contents. +Restructured the installer packages slightly to help facilitate having +multiple versions of wxPython installed at the same time. See the +Migrarion Guide for more information. + +Applied patch from Pim Van Heuven that modifies 4 files: + - wxPython/demo/ListCtrl_edit.py (new demo) + - wxPython/demo/Main.py (include new demo in demo app) + - wxPython/wx/lib/mixins/listctrl.py (several improvements to + TextEditMixin) + - wxPython/wx/lib/wxpTag.py (some small fixes) + +Added (thanks to Kevin Ollivier!) wrappers for wx.WebKitCtrl for the +OSX build. Other platforms will raise an exception if you try to use +it. + +wxPython on OSX can now be built in Unicode mode, can support multiple +version installs, and comes with an uninstaller script. + @@ -1558,7 +1585,7 @@ Added new HTML printing classes. Added wxWindow.GetHandle -Apparently wxMouseEvent.Position has been depreciated in wxWindows as +Apparently wxMouseEvent.Position has been deprecated in wxWindows as it is no longer available by default. You can use GetPositionTuple (returning a tuple with x,y) instead, or GetPosition (returning a wxPoint.) @@ -1640,7 +1667,7 @@ wxGTK. Added them back in since the methods exist now. Wrapped the wxHtmlHelpController and related classes. Wrapped the C++ versions of wxSizer and friends. The Python-only -versions are still in the library, but depreciated. (You will get a +versions are still in the library, but deprecated. (You will get a warning message if you try to use them, but the warning can be disabled.) The usage of the C++ versions is slightly different, and the functionality of wxBorderSizer is now part of wxBoxSizer. I have @@ -1800,7 +1827,7 @@ Added wxGrid.GetCells Added wxSystemSettings static methods as functions with names like wxSystemSettings_GetSystemColour. -Removed wxPyMenu since using menu callbacks have been depreciated in +Removed wxPyMenu since using menu callbacks have been deprecated in wxWindows. Use wxMenu and events instead. Added alternate wxBitmap constructor (for MSW only) as diff --git a/wxPython/docs/INSTALL.html b/wxPython/docs/INSTALL.html index 2a898ca42c..a48c51f67a 100644 --- a/wxPython/docs/INSTALL.html +++ b/wxPython/docs/INSTALL.html @@ -65,9 +65,11 @@ all.

  • In addition to building wxPython as described in BUILD.txt, you can install it to Python's site-packages dir, as well as some scripts -into the same bin dir used by Python by using this command:

    +into the same bin dir used by Python by using this command, plus +whatever WXPORT, UNICODE, etc. settings you used for the initial +build step:

    -python2.3 setup.py install
    +python2.3 setup.py install 
     

    If you would like to install to some place besides the prefix where Python is installed, (such as to your home directory) then you can @@ -105,9 +107,9 @@ machines be careful to install to /Library/Python/2.3. To complicate things further, the Jaguar version, or a custom build you do yourself will end up in /Library/Frameworks even on Panther...

  • -
  • You need to use pythonw at the command line or PythonLauncher app -to run wxPython apps, otherwise the app will not be able to fully -use the GUI display.
  • +
  • You need to use pythonw at the command line or the PythonLauncher +app to run wxPython apps, otherwise the app will not be able to +fully use the GUI display.
  • diff --git a/wxPython/docs/INSTALL.txt b/wxPython/docs/INSTALL.txt index c8c16923e4..eaa7e3e2da 100644 --- a/wxPython/docs/INSTALL.txt +++ b/wxPython/docs/INSTALL.txt @@ -112,9 +112,9 @@ instructions above, except for a few small, but important details: you do yourself will end up in /Library/Frameworks even on Panther... -3. You need to use pythonw at the command line or PythonLauncher app - to run wxPython apps, otherwise the app will not be able to fully - use the GUI display. +3. You need to use pythonw at the command line or the PythonLauncher + app to run wxPython apps, otherwise the app will not be able to + fully use the GUI display. diff --git a/wxPython/docs/MigrationGuide.html b/wxPython/docs/MigrationGuide.html index ac48c34bed..585fcda395 100644 --- a/wxPython/docs/MigrationGuide.html +++ b/wxPython/docs/MigrationGuide.html @@ -358,7 +358,7 @@ class MyDialog(wx.Dialog):

    Sizers

    The hack allowing the old "option" keyword parameter has been removed. -If you use keyword args with w.xSizer Add, Insert, or Prepend methods +If you use keyword args with wx.Sizer Add, Insert, or Prepend methods then you will need to use the proportion name instead of option. (The proportion keyword was also allowed in 2.4.2.4.)

    When adding a spacer to a sizer you now need to use a wx.Size or a @@ -376,7 +376,7 @@ be used from XRC.

    You should not use AddWindow, AddSizer, AddSpacer (and similar for Insert, Prepend, and etc.) methods any longer. Just use Add and the wrappers will figure out what to do. [Changed in 2.5.2.x] -AddWindow, AddSize, AddSpacer and etc. will now issue a +AddWindow, AddSizer, AddSpacer and etc. will now issue a DeprecationWarning.

    [Changed in 2.5.2.x] The Sizers have had some fundamental internal changes in the 2.5.2.x release intended to make them do more of the @@ -393,7 +393,7 @@ flag then when layout was calculated the item's -

    The main thrust of the new Sizer changes was to make behaviour like +

    The main thrust of the new Sizer changes was to make behavior like wx.ADJUST_MINSIZE be the default, and also to push the tracking of the minimal size to the window itself (since it knows its own needs) instead of having the sizer take care of it. Consequently these @@ -401,7 +401,7 @@ changes were made:

    • The wx.FIXED_MINSIZE flag was added to allow for the old -behaviour. When this flag is used the size a window has when +behavior. When this flag is used the size a window has when added to the sizer will be treated as its minimal size and it will not be readjusted on each layout.
    • The min size stored in wx.Window and settable with @@ -603,9 +603,7 @@ mask and the rest would be made fully opaque.

      channel and will now only create a mask when all the pixels in the image are either fully transparent or fully opaque. In addition, the wx.DC.DrawBitmap and wx.DC.Blit methods are able to correctly blend -the pixels in the image with partially transparent alpha values. -(Currently only on MSW and Mac, if anybody knows how to do it for GTK -then please submit a patch!)

      +the pixels in the image with partially transparent alpha values.

      If you are using a PNG with an alpha channel but you need to have a wx.Mask like you automatically got in 2.4 then you can do one of the following:

      @@ -674,7 +672,7 @@ later into the main namespace via Python code.

      the "internal" module names have changed, but you shouldn't have been using them anyway so it shouldn't bother you. ;-) In case you were erroneously using them in 2.4, here are the internal extension modules -no longer exist:

      +that no longer exist:

      • clip_dnd
      • @@ -715,8 +713,93 @@ the objects in these modules only via the wx or wxPython.wx packages:

        The help module no longer exists and the classes therein are now part of the core module imported with wxPython.wx or the wx package.

    -
    -

    Other Stuff

    +
    +

    wx.TaskBarIcon

    +

    [Changed in 2.5.3.x]

    +

    wx.TaskbarIcon now works on all three platforms, although for wxGTK it +depends on support from the Window Manager. On OS X the icon replaces +the application's icon on the dock and when you right click on it the +app's default popup menu is merged with the wx.TaskBarIcon's menu. +Because of how it is implemented on the Mac using the Dock most of the +TaskBarIcon events will _not_ be emitted on that platform, but since +98% of the time you simply want to display an icon and have a popup +menu it shouldn't be much of a problem. You can still use the other +events on the other platforms, you'll just want to be sure that you +can do everything you want via the menu too.

    +

    Since popping up a menu is the most common thing to do with a +TaskBarIcon the class has some new built in functionality to +facilitate that. To use the TaskBarIcon in this new way, simply +derive a new class from TaskBarIcon and implement a CreatePopupMenu +method that creates and returns the menu. That's all there is to it, +besides binding event handlers for the menu items of course. Take a +look at the DemoTaskBarIcon class in the demo/Main.py module for an +example.

    +

    NOTE: Unfortunately due to being able to support virtualizing +CreatePopupMenu the C++ TaskBarIcon instance now holds a reference to +the Python instance, and so you will need to explicitly Destroy() your +TaskBarIcon instance when you are done with it. (Like you do with +wx.Dialogs.) If you don't destroy it then wxWidgets will assume that +you want the app to keep running with just the icon in the task bar +and the MainLoop will not exit.

    +
    +
    +

    Version Number Change

    +

    [Changed in 2.5.3.x]

    +

    Starting with 2.5.3.0 the Unicode versions of wxPython will no longer +have a 'u' appended to the fourth component of the version number. +Please check for the presence of "unicode" in the wx.PlatformInfo +tuple instead. (This tuple of strings has been available since the +first 2.5 version.) For example:

    +
    +if "unicode" in wx.PlatformInfo:
    +    # do whatever
    +    ...
    +
    +
    +
    +

    Multi-Version Installs

    +

    [Changed in 2.5.3.x]

    +

    Starting with 2.5.3.0 the wx and wxPython package directories will be +installed in a subdirectory of the site-packages directory, instead of +directly in site-packages. This is done to help facilitate having +multiple versions of wxPython installed side-by-side. Why would you +want to do this? One possible scenario is you have an app that +requires wxPython 2.4 but you want to use the newest 2.5 to do your +own development with. Or perhaps you want to be able to test your app +with several different versions of wxPython to ensure compatibility. +Before everyone panics, rest asured that if you only install one +version of wxPython then you should notice no difference in how things +work.

    +

    In addition to installing wxPython into a "versioned" subdirectory of +site-packages, a file named wx.pth is optionally installed that will +contain the name of the versioned subdirectory. This will cause that +subdirectory to be automatically added to the sys.path and so doing an +"import wx" will find the package in the subdirectory like it would +have if it was still located directly in site-packages. I say +"optionally" above because that is how you can control which install +of wxPython is the default one. Which ever version installs the +wx.pth file will be the one that is imported with a plain "import wx" +statement. Of course you can always manipulate that by editing the +wx.pth file, or by setting PYTHONPATH in the environment, or by the +method described in the next paragraph.

    +

    Finally, a new module named wxversion.py is installed to the +site-packages directory. It can be used to manipulate the sys.path at +runtime so your applications can select which version of wxPython they +would like to to have imported. You use it like this:

    +
    +import wxversion
    +wxversion.select("2.4")
    +import wx
    +
    +

    Then even though a 2.5 version of wxPython may be the default the +application that does the above the first time that wx is imported +will actually get a 2.4 version. NOTE: There isn't actually a 2.4 +version of wxPython that supports this, but there will be.

    +

    Please see this wiki page for more details, HowTo's and FAQ's: +http://wiki.wxpython.org/index.cgi/MultiVersionInstalls

    +
    +
    +

    Miscellaneous Stuff

    wxPyDefaultPosition and wxPyDefaultSize are gone. Use the wxDefaultPosition and wxDefaultSize objects instead.

    Similarly, the wxSystemSettings backwards compatibiility aliases for @@ -742,15 +825,6 @@ wxPyTypeCast at all.

    there are compatibility aliases for much of the above items.

    The wxWave class has been renamed to wxSound, and now has a slightly different API.

    -

    wx.TaskbarIcon works on wxGTK-based platforms (for some window -managers,) however you have to manage it a little bit more than you -did before. Basically, the app will treat it like a top-level frame -in that if the wx.TaskBarIcon still exists when all the frames are -closed then the app will still not exit. You need to ensure that the -wx.TaskBarIcon is destroyed when your last Frame is closed. For -wxPython apps it is usually enough if your main frame object holds the -only reference to the wx.TaskBarIcon, then when the frame is closed -Python reference counting takes care of the rest.

    Before Python 2.3 it was possible to pass a floating point object as a parameter to a function that expected an integer, and the PyArg_ParseTuple family of functions would automatically convert to diff --git a/wxPython/docs/MigrationGuide.txt b/wxPython/docs/MigrationGuide.txt index 572324dace..0ade0dcccf 100644 --- a/wxPython/docs/MigrationGuide.txt +++ b/wxPython/docs/MigrationGuide.txt @@ -403,7 +403,7 @@ Sizers ------ The hack allowing the old "option" keyword parameter has been removed. -If you use keyword args with w.xSizer Add, Insert, or Prepend methods +If you use keyword args with wx.Sizer Add, Insert, or Prepend methods then you will need to use the ``proportion`` name instead of ``option``. (The ``proportion`` keyword was also allowed in 2.4.2.4.) @@ -441,14 +441,14 @@ First a bit about how things used to work: flag then when layout was calculated the item's ``GetBestSize`` would be used to reset the minimal size that the sizer used. -The main thrust of the new Sizer changes was to make behaviour like +The main thrust of the new Sizer changes was to make behavior like ``wx.ADJUST_MINSIZE`` be the default, and also to push the tracking of the minimal size to the window itself (since it knows its own needs) instead of having the sizer take care of it. Consequently these changes were made: * The ``wx.FIXED_MINSIZE`` flag was added to allow for the old - behaviour. When this flag is used the size a window has when + behavior. When this flag is used the size a window has when added to the sizer will be treated as its minimal size and it will not be readjusted on each layout. @@ -669,8 +669,6 @@ channel and will now only create a mask when all the pixels in the image are either fully transparent or fully opaque. In addition, the wx.DC.DrawBitmap and wx.DC.Blit methods are able to correctly blend the pixels in the image with partially transparent alpha values. -(Currently only on MSW and Mac, if anybody knows how to do it for GTK -then please submit a patch!) If you are using a PNG with an alpha channel but you need to have a wx.Mask like you automatically got in 2.4 then you can do one of the @@ -786,6 +784,7 @@ The help module no longer exists and the classes therein are now part of the core module imported with wxPython.wx or the wx package. + wx.TaskBarIcon -------------- @@ -821,9 +820,76 @@ and the MainLoop will not exit. +Version Number Change +--------------------- -Other Stuff ------------ +**[Changed in 2.5.3.x]** + +Starting with 2.5.3.0 the Unicode versions of wxPython will no longer +have a 'u' appended to the fourth component of the version number. +Please check for the presence of "unicode" in the `wx.PlatformInfo` +tuple instead. (This tuple of strings has been available since the +first 2.5 version.) For example:: + + if "unicode" in wx.PlatformInfo: + # do whatever + ... + + + + +Multi-Version Installs +---------------------- + +**[Changed in 2.5.3.x]** + +Starting with 2.5.3.0 the wx and wxPython package directories will be +installed in a subdirectory of the site-packages directory, instead of +directly in site-packages. This is done to help facilitate having +multiple versions of wxPython installed side-by-side. Why would you +want to do this? One possible scenario is you have an app that +requires wxPython 2.4 but you want to use the newest 2.5 to do your +own development with. Or perhaps you want to be able to test your app +with several different versions of wxPython to ensure compatibility. +Before everyone panics, rest asured that if you only install one +version of wxPython then you should notice no difference in how things +work. + +In addition to installing wxPython into a "versioned" subdirectory of +site-packages, a file named `wx.pth` is optionally installed that will +contain the name of the versioned subdirectory. This will cause that +subdirectory to be automatically added to the sys.path and so doing an +"import wx" will find the package in the subdirectory like it would +have if it was still located directly in site-packages. I say +"optionally" above because that is how you can control which install +of wxPython is the default one. Which ever version installs the +wx.pth file will be the one that is imported with a plain "import wx" +statement. Of course you can always manipulate that by editing the +wx.pth file, or by setting PYTHONPATH in the environment, or by the +method described in the next paragraph. + +Finally, a new module named wxversion.py is installed to the +site-packages directory. It can be used to manipulate the sys.path at +runtime so your applications can select which version of wxPython they +would like to to have imported. You use it like this:: + + import wxversion + wxversion.select("2.4") + import wx + +Then even though a 2.5 version of wxPython may be the default the +application that does the above the first time that wx is imported +will actually get a 2.4 version. **NOTE:** There isn't actually a 2.4 +version of wxPython that supports this, but there will be. + +Please see this wiki page for more details, HowTo's and FAQ's: +http://wiki.wxpython.org/index.cgi/MultiVersionInstalls + + + + +Miscellaneous Stuff +------------------- wxPyDefaultPosition and wxPyDefaultSize are gone. Use the wxDefaultPosition and wxDefaultSize objects instead. diff --git a/wxPython/docs/bin/everything b/wxPython/docs/bin/everything index 545074359a..80b896dff1 100755 --- a/wxPython/docs/bin/everything +++ b/wxPython/docs/bin/everything @@ -3,7 +3,7 @@ b 23 gtk2 t b 23 gtk2 BUILD_RENAMERS=0 PREP_ONLY=1 FULL_DOCS=1 -docs/bin/simplify.py +##docs/bin/simplify.py docs/bin/makeapidocs b 23 gtk2 t b 23 gtk2 BUILD_RENAMERS=0 PREP_ONLY=1 diff --git a/wxPython/docs/wxPackage.html b/wxPython/docs/wxPackage.html index 8969840b20..58b408ea2c 100644 --- a/wxPython/docs/wxPackage.html +++ b/wxPython/docs/wxPackage.html @@ -169,8 +169,8 @@ wxPython, so there are lots of examples to look at and to play with. Here is one of them, it is the simple sample.

     #----------------------------------------------------------------------
    -# A very simple wxPython example.  Just a wxFrame, wxPanel,
    -# wxStaticText, wxButton, and a wxBoxSizer, but it shows the basic
    +# A very simple wxPython example.  Just a wx.Frame, wx.Panel,
    +# wx.StaticText, wx.Button, and a wx.BoxSizer, but it shows the basic
     # structure of any wxPython application.
     #----------------------------------------------------------------------
     
    @@ -244,11 +244,14 @@ class MyFrame(wx.Frame):
     class MyApp(wx.App):
         def OnInit(self):
             frame = MyFrame(None, "Simple wxPython App")
    -        frame.Show(True)
             self.SetTopWindow(frame)
    +
    +        print "Print statements go to this stdout window by default."
    +
    +        frame.Show(True)
             return True
             
    -app = MyApp(True)
    +app = MyApp(redirect=True)
     app.MainLoop()
     
     
    diff --git a/wxPython/docs/xml/wxPython-metadata.xml b/wxPython/docs/xml/wxPython-metadata.xml
    index 32144cea8b..48ef3ad331 100644
    --- a/wxPython/docs/xml/wxPython-metadata.xml
    +++ b/wxPython/docs/xml/wxPython-metadata.xml
    @@ -5724,7 +5724,7 @@ value as used by the parent. In addition, if the window overrides
     ShouldInheritColours to return false, the colours will not be changed
     no matter what and only the font might.
     
    -This rather complicated logic is necessary in order to accomodate the
    +This rather complicated logic is necessary in order to accommodate the
     different usage scenarius. The most common one is when all default
     attributes are used and in this case, nothing should be inherited as
     in modern GUIs different controls use different fonts (and colours)
    diff --git a/wxPython/setup.py b/wxPython/setup.py
    index 832c8b83ca..f86d77a1c3 100755
    --- a/wxPython/setup.py
    +++ b/wxPython/setup.py
    @@ -65,6 +65,20 @@ RELEASE_NUMBER = RELEASE_VERSION  # for compatibility
     CLEANUP.append('wx/__version__.py')
     
     
    +#----------------------------------------------------------------------
    +# patch distutils if it can't cope with the "classifiers" or
    +# "download_url" keywords 
    +#----------------------------------------------------------------------
    +
    +if sys.version < '2.2.3': 
    +    from distutils.dist import DistributionMetadata 
    +    DistributionMetadata.classifiers = None 
    +    DistributionMetadata.download_url = None
    +    depends = {}
    +else:
    +    depends = {'depends' : depends}
    +    
    +
     #----------------------------------------------------------------------
     # Define the CORE extension module
     #----------------------------------------------------------------------
    @@ -135,7 +149,7 @@ ext = Extension('_core_', ['src/helpers.cpp',
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
     
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -172,7 +186,7 @@ ext = Extension('_gdi_', ['src/drawlist.cpp'] + swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -208,7 +222,7 @@ ext = Extension('_windows_', swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -250,7 +264,7 @@ ext = Extension('_controls_', swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -288,7 +302,7 @@ ext = Extension('_misc_', swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -307,7 +321,7 @@ ext = Extension('_calendar', swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -321,7 +335,7 @@ ext = Extension('_grid', swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -336,7 +350,22 @@ ext = Extension('_html', swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
    +                )
    +wxpExtensions.append(ext)
    +
    +
    +
    +swig_sources = run_swig(['webkit.i'], 'src', GENDIR, PKGDIR,
    +                        USE_SWIG, swig_force, swig_args, swig_deps)
    +ext = Extension('_webkit', swig_sources,
    +                include_dirs =  includes,
    +                define_macros = defines,
    +                library_dirs = libdirs,
    +                libraries = libs,
    +                extra_compile_args = cflags,
    +                extra_link_args = lflags,
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -351,7 +380,7 @@ ext = Extension('_wizard', swig_sources,
                     libraries = libs,
                     extra_compile_args = cflags,
                     extra_link_args = lflags,
    -                depends = depends
    +                **depends
                     )
     wxpExtensions.append(ext)
     
    @@ -627,16 +656,6 @@ if BUILD_DLLWIDGET:
     
     
     
    -#----------------------------------------------------------------------
    -# patch distutils if it can't cope with the "classifiers" or
    -# "download_url" keywords 
    -#----------------------------------------------------------------------
    -
    -if sys.version < '2.2.3': 
    -    from distutils.dist import DistributionMetadata 
    -    DistributionMetadata.classifiers = None 
    -    DistributionMetadata.download_url = None
    -
         
     #----------------------------------------------------------------------
     # Tools, scripts data files, etc.
    diff --git a/wxPython/src/_control.i b/wxPython/src/_control.i
    index c89a9ecb89..be2565fa70 100644
    --- a/wxPython/src/_control.i
    +++ b/wxPython/src/_control.i
    @@ -124,7 +124,7 @@ optionally, client data associated with them.
     class wxItemContainer
     {
     public:
    -    // wxItemContainer() { m_clientDataItemsType = wxClientData_None; }  ** It's an ABC
    +    // wxItemContainer()  ** It's an ABC
         
     
         %extend {
    diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i
    index 49bc1ec8d5..7d6635d34a 100644
    --- a/wxPython/src/_sizers.i
    +++ b/wxPython/src/_sizers.i
    @@ -866,7 +866,7 @@ the item.", "");
             """
             A convenience method for Show(item, False, recursive).
             """
    -        return self.Show(item, false, recursive)
    +        return self.Show(item, False, recursive)
         }
     
         
    diff --git a/wxPython/src/_webkit_rename.i b/wxPython/src/_webkit_rename.i
    new file mode 100644
    index 0000000000..6ac538dddd
    --- /dev/null
    +++ b/wxPython/src/_webkit_rename.i
    @@ -0,0 +1,15 @@
    +// A bunch of %rename directives generated by BuildRenamers in config.py
    +// in order to remove the wx prefix from all global scope names.
    +
    +#ifndef BUILDING_RENAMERS
    +
    +%rename(WebKitCtrl)                         wxWebKitCtrl;
    +%rename(WEBKIT_STATE_START)                 wxWEBKIT_STATE_START;
    +%rename(WEBKIT_STATE_NEGOTIATING)           wxWEBKIT_STATE_NEGOTIATING;
    +%rename(WEBKIT_STATE_REDIRECTING)           wxWEBKIT_STATE_REDIRECTING;
    +%rename(WEBKIT_STATE_TRANSFERRING)          wxWEBKIT_STATE_TRANSFERRING;
    +%rename(WEBKIT_STATE_STOP)                  wxWEBKIT_STATE_STOP;
    +%rename(WEBKIT_STATE_FAILED)                wxWEBKIT_STATE_FAILED;
    +%rename(WebKitStateChangedEvent)            wxWebKitStateChangedEvent;
    +
    +#endif
    diff --git a/wxPython/src/_webkit_reverse.txt b/wxPython/src/_webkit_reverse.txt
    new file mode 100644
    index 0000000000..eac48e8ccc
    --- /dev/null
    +++ b/wxPython/src/_webkit_reverse.txt
    @@ -0,0 +1,4 @@
    +# Other names that need to be reverse-renamed for the old namespace
    +
    +
    +EVT*
    diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i
    index e423775d55..2a7c38d513 100644
    --- a/wxPython/src/_window.i
    +++ b/wxPython/src/_window.i
    @@ -1883,8 +1883,8 @@ value as used by the parent. In addition, if the window overrides
     ShouldInheritColours to return false, the colours will not be changed
     no matter what and only the font might.
     
    -This rather complicated logic is necessary in order to accomodate the
    -different usage scenarius. The most common one is when all default
    +This rather complicated logic is necessary in order to accommodate the
    +different usage scenarios. The most common one is when all default
     attributes are used and in this case, nothing should be inherited as
     in modern GUIs different controls use different fonts (and colours)
     than their siblings so they can't inherit the same value from the
    diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py
    index 079b910769..09abfe6f0c 100644
    --- a/wxPython/src/gtk/_core.py
    +++ b/wxPython/src/gtk/_core.py
    @@ -7678,8 +7678,8 @@ class Window(EvtHandler):
             ShouldInheritColours to return false, the colours will not be changed
             no matter what and only the font might.
     
    -        This rather complicated logic is necessary in order to accomodate the
    -        different usage scenarius. The most common one is when all default
    +        This rather complicated logic is necessary in order to accommodate the
    +        different usage scenarios. The most common one is when all default
             attributes are used and in this case, nothing should be inherited as
             in modern GUIs different controls use different fonts (and colours)
             than their siblings so they can't inherit the same value from the
    @@ -9444,7 +9444,7 @@ class Sizer(Object):
             """
             A convenience method for Show(item, False, recursive).
             """
    -        return self.Show(item, false, recursive)
    +        return self.Show(item, False, recursive)
     
         def ShowItems(*args, **kwargs):
             """
    diff --git a/wxPython/src/gtk/webkit.py b/wxPython/src/gtk/webkit.py
    new file mode 100644
    index 0000000000..0ad8c4742e
    --- /dev/null
    +++ b/wxPython/src/gtk/webkit.py
    @@ -0,0 +1,136 @@
    +# This file was created automatically by SWIG.
    +# Don't modify this file, modify the SWIG interface instead.
    +
    +"""
    +wx.webkit.WebKitCtrl for Mac OSX.
    +"""
    +
    +import _webkit
    +
    +import _core
    +wx = _core 
    +__docfilter__ = wx.__DocFilter(globals()) 
    +class WebKitCtrl(_core.Control):
    +    def __repr__(self):
    +        return "<%s.%s; proxy of C++ wxWebKitCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
    +    def __init__(self, *args, **kwargs):
    +        """
    +        __init__(self, Window parent, int winID=-1, String strURL=EmptyString, 
    +            Point pos=DefaultPosition, Size size=DefaultSize, 
    +            long style=0, Validator validator=DefaultValidator, 
    +            String name=WebKitNameStr) -> WebKitCtrl
    +        """
    +        newobj = _webkit.new_WebKitCtrl(*args, **kwargs)
    +        self.this = newobj.this
    +        self.thisown = 1
    +        del newobj.thisown
    +        self._setOORInfo(self)
    +
    +    def Create(*args, **kwargs):
    +        """
    +        Create(self, Window parent, int winID=-1, String strURL=EmptyString, 
    +            Point pos=DefaultPosition, Size size=DefaultSize, 
    +            long style=0, Validator validator=DefaultValidator, 
    +            String name=WebKitNameStr) -> bool
    +        """
    +        return _webkit.WebKitCtrl_Create(*args, **kwargs)
    +
    +    def LoadURL(*args, **kwargs):
    +        """LoadURL(self, String url)"""
    +        return _webkit.WebKitCtrl_LoadURL(*args, **kwargs)
    +
    +    def CanGoBack(*args, **kwargs):
    +        """CanGoBack(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGoBack(*args, **kwargs)
    +
    +    def CanGoForward(*args, **kwargs):
    +        """CanGoForward(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGoForward(*args, **kwargs)
    +
    +    def GoBack(*args, **kwargs):
    +        """GoBack(self) -> bool"""
    +        return _webkit.WebKitCtrl_GoBack(*args, **kwargs)
    +
    +    def GoForward(*args, **kwargs):
    +        """GoForward(self) -> bool"""
    +        return _webkit.WebKitCtrl_GoForward(*args, **kwargs)
    +
    +    def Reload(*args, **kwargs):
    +        """Reload(self)"""
    +        return _webkit.WebKitCtrl_Reload(*args, **kwargs)
    +
    +    def Stop(*args, **kwargs):
    +        """Stop(self)"""
    +        return _webkit.WebKitCtrl_Stop(*args, **kwargs)
    +
    +    def CanGetPageSource(*args, **kwargs):
    +        """CanGetPageSource(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGetPageSource(*args, **kwargs)
    +
    +    def GetPageSource(*args, **kwargs):
    +        """GetPageSource(self) -> String"""
    +        return _webkit.WebKitCtrl_GetPageSource(*args, **kwargs)
    +
    +    def SetPageSource(*args, **kwargs):
    +        """SetPageSource(self, String source, String baseUrl=EmptyString)"""
    +        return _webkit.WebKitCtrl_SetPageSource(*args, **kwargs)
    +
    +
    +class WebKitCtrlPtr(WebKitCtrl):
    +    def __init__(self, this):
    +        self.this = this
    +        if not hasattr(self,"thisown"): self.thisown = 0
    +        self.__class__ = WebKitCtrl
    +_webkit.WebKitCtrl_swigregister(WebKitCtrlPtr)
    +cvar = _webkit.cvar
    +WebKitNameStr = cvar.WebKitNameStr
    +
    +def PreWebKitCtrl(*args, **kwargs):
    +    """PreWebKitCtrl() -> WebKitCtrl"""
    +    val = _webkit.new_PreWebKitCtrl(*args, **kwargs)
    +    val.thisown = 1
    +    return val
    +
    +WEBKIT_STATE_START = _webkit.WEBKIT_STATE_START
    +WEBKIT_STATE_NEGOTIATING = _webkit.WEBKIT_STATE_NEGOTIATING
    +WEBKIT_STATE_REDIRECTING = _webkit.WEBKIT_STATE_REDIRECTING
    +WEBKIT_STATE_TRANSFERRING = _webkit.WEBKIT_STATE_TRANSFERRING
    +WEBKIT_STATE_STOP = _webkit.WEBKIT_STATE_STOP
    +WEBKIT_STATE_FAILED = _webkit.WEBKIT_STATE_FAILED
    +wxEVT_WEBKIT_STATE_CHANGED = _webkit.wxEVT_WEBKIT_STATE_CHANGED
    +class WebKitStateChangedEvent(_core.CommandEvent):
    +    def __repr__(self):
    +        return "<%s.%s; proxy of C++ wxWebKitStateChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
    +    def __init__(self, *args, **kwargs):
    +        """__init__(self, Window win=None) -> WebKitStateChangedEvent"""
    +        newobj = _webkit.new_WebKitStateChangedEvent(*args, **kwargs)
    +        self.this = newobj.this
    +        self.thisown = 1
    +        del newobj.thisown
    +    def GetState(*args, **kwargs):
    +        """GetState(self) -> int"""
    +        return _webkit.WebKitStateChangedEvent_GetState(*args, **kwargs)
    +
    +    def SetState(*args, **kwargs):
    +        """SetState(self, int state)"""
    +        return _webkit.WebKitStateChangedEvent_SetState(*args, **kwargs)
    +
    +    def GetURL(*args, **kwargs):
    +        """GetURL(self) -> String"""
    +        return _webkit.WebKitStateChangedEvent_GetURL(*args, **kwargs)
    +
    +    def SetURL(*args, **kwargs):
    +        """SetURL(self, String url)"""
    +        return _webkit.WebKitStateChangedEvent_SetURL(*args, **kwargs)
    +
    +
    +class WebKitStateChangedEventPtr(WebKitStateChangedEvent):
    +    def __init__(self, this):
    +        self.this = this
    +        if not hasattr(self,"thisown"): self.thisown = 0
    +        self.__class__ = WebKitStateChangedEvent
    +_webkit.WebKitStateChangedEvent_swigregister(WebKitStateChangedEventPtr)
    +
    +EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED)
    +
    +
    diff --git a/wxPython/src/gtk/webkit_wrap.cpp b/wxPython/src/gtk/webkit_wrap.cpp
    new file mode 100644
    index 0000000000..d5faba66c5
    --- /dev/null
    +++ b/wxPython/src/gtk/webkit_wrap.cpp
    @@ -0,0 +1,1759 @@
    +/* ----------------------------------------------------------------------------
    + * This file was automatically generated by SWIG (http://www.swig.org).
    + * Version 1.3.22
    + * 
    + * This file is not intended to be easily readable and contains a number of 
    + * coding conventions designed to improve portability and efficiency. Do not make
    + * changes to this file unless you know what you are doing--modify the SWIG 
    + * interface file instead. 
    + * ----------------------------------------------------------------------------- */
    +
    +#define SWIGPYTHON
    +#define SWIG_NOINCLUDE
    +
    +#ifdef __cplusplus
    +template class SwigValueWrapper {
    +    T *tt;
    +public:
    +    SwigValueWrapper() : tt(0) { }
    +    SwigValueWrapper(const SwigValueWrapper& rhs) : tt(new T(*rhs.tt)) { }
    +    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    +    ~SwigValueWrapper() { delete tt; } 
    +    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    +    operator T&() const { return *tt; }
    +    T *operator&() { return tt; }
    +private:
    +    SwigValueWrapper& operator=(const SwigValueWrapper& rhs);
    +};                                                    
    +#endif
    +
    +
    +#include "Python.h"
    +
    +/*************************************************************** -*- c -*-
    + * python/precommon.swg
    + *
    + * Rename all exported symbols from common.swg, to avoid symbol
    + * clashes if multiple interpreters are included
    + *
    + ************************************************************************/
    +
    +#define SWIG_TypeRegister    SWIG_Python_TypeRegister
    +#define SWIG_TypeCheck       SWIG_Python_TypeCheck
    +#define SWIG_TypeCast        SWIG_Python_TypeCast
    +#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
    +#define SWIG_TypeName        SWIG_Python_TypeName
    +#define SWIG_TypePrettyName  SWIG_Python_TypePrettyName
    +#define SWIG_TypeQuery       SWIG_Python_TypeQuery
    +#define SWIG_TypeClientData  SWIG_Python_TypeClientData
    +#define SWIG_PackData        SWIG_Python_PackData 
    +#define SWIG_UnpackData      SWIG_Python_UnpackData 
    +
    +
    +/***********************************************************************
    + * common.swg for wxPython
    + *
    + * Include only the function prototypes and such from SWIG's common.swg,
    + * but not the runtime functions themselves.  This helps keep the
    + * wrapper files clean of unnecessary stuff that is in the libpy.c file
    + * anyway.
    + *
    + ************************************************************************/
    +
    +#include 
    +
    +#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
    +#  if defined(_MSC_VER) || defined(__GNUC__)
    +#    if defined(STATIC_LINKED)
    +#      define SWIGEXPORT(a) a
    +#      define SWIGIMPORT(a) extern a
    +#    else
    +#      define SWIGEXPORT(a) __declspec(dllexport) a
    +#      define SWIGIMPORT(a) extern a
    +#    endif
    +#  else
    +#    if defined(__BORLANDC__)
    +#      define SWIGEXPORT(a) a _export
    +#      define SWIGIMPORT(a) a _export
    +#    else
    +#      define SWIGEXPORT(a) a
    +#      define SWIGIMPORT(a) a
    +#    endif
    +#  endif
    +#else
    +#  define SWIGEXPORT(a) a
    +#  define SWIGIMPORT(a) a
    +#endif
    +
    +#ifdef SWIG_GLOBAL
    +#  define SWIGRUNTIME(a) SWIGEXPORT(a)
    +#else
    +#  define SWIGRUNTIME(a) static a
    +#endif
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +
    +typedef void *(*swig_converter_func)(void *);
    +typedef struct swig_type_info *(*swig_dycast_func)(void **);
    +
    +typedef struct swig_type_info {
    +  const char             *name;
    +  swig_converter_func     converter;
    +  const char             *str;
    +  void                   *clientdata;
    +  swig_dycast_func        dcast;
    +  struct swig_type_info  *next;
    +  struct swig_type_info  *prev;
    +} swig_type_info;
    +
    +
    +SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
    +SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info *, void *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
    +SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info *);
    +SWIGIMPORT(const char *)     SWIG_TypePrettyName(const swig_type_info *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
    +SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info *, void *);
    +SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int);
    +SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int);
    +
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +
    +/***********************************************************************
    + * pyrun.swg for wxPython
    + *
    + * Include only the function prototypes and such from SWIG's pyrun.swg,
    + * but not the runtime functions themselves.  This helps keep the
    + * wrapper files clean of unnecessary stuff that is in the libpy.c file
    + * anyway.
    + *
    + ************************************************************************/
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +
    +#define SWIG_PY_INT     1
    +#define SWIG_PY_FLOAT   2
    +#define SWIG_PY_STRING  3
    +#define SWIG_PY_POINTER 4
    +#define SWIG_PY_BINARY  5
    +
    +/* Flags for pointer conversion */
    +
    +#define SWIG_POINTER_EXCEPTION     0x1
    +#define SWIG_POINTER_DISOWN        0x2
    +
    +/* Exception handling in wrappers */
    +#define SWIG_fail   goto fail
    +
    +/* Constant information structure */
    +typedef struct swig_const_info {
    +    int type;
    +    char *name;
    +    long lvalue;
    +    double dvalue;
    +    void   *pvalue;
    +    swig_type_info **ptype;
    +} swig_const_info;
    +
    +/* Common SWIG API */
    +#define SWIG_ConvertPtr(obj, pp, type, flags) \
    +  SWIG_Python_ConvertPtr(obj, pp, type, flags)
    +#define SWIG_NewPointerObj(p, type, flags) \
    +  SWIG_Python_NewPointerObj(p, type, flags)
    +#define SWIG_MustGetPtr(p, type, argnum, flags) \
    +  SWIG_Python_MustGetPtr(p, type, argnum, flags)
    + 
    +/* Python-specific SWIG API */
    +#define SWIG_newvarlink() \
    +  SWIG_Python_newvarlink()
    +#define SWIG_addvarlink(p, name, get_attr, set_attr) \
    +  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
    +#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
    +  SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
    +#define SWIG_NewPackedObj(ptr, sz, type) \
    +  SWIG_Python_NewPackedObj(ptr, sz, type)
    +#define SWIG_InstallConstants(d, constants) \
    +  SWIG_Python_InstallConstants(d, constants)
    +
    +typedef double (*py_objasdbl_conv)(PyObject *obj);
    +
    +SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
    +SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_newvarlink(void);
    +SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
    +SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
    +SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
    +
    +
    +/* Contract support */
    +
    +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +
    +
    +/* -------- TYPES TABLE (BEGIN) -------- */
    +
    +#define  SWIGTYPE_p_wxControl swig_types[0] 
    +#define  SWIGTYPE_p_wxWebKitCtrl swig_types[1] 
    +#define  SWIGTYPE_p_wxWindow swig_types[2] 
    +#define  SWIGTYPE_p_wxEvtHandler swig_types[3] 
    +#define  SWIGTYPE_p_wxObject swig_types[4] 
    +#define  SWIGTYPE_p_wxEvent swig_types[5] 
    +#define  SWIGTYPE_p_char swig_types[6] 
    +#define  SWIGTYPE_p_wxValidator swig_types[7] 
    +#define  SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[8] 
    +#define  SWIGTYPE_p_wxCommandEvent swig_types[9] 
    +static swig_type_info *swig_types[11];
    +
    +/* -------- TYPES TABLE (END) -------- */
    +
    +
    +/*-----------------------------------------------
    +              @(target):= _webkit.so
    +  ------------------------------------------------*/
    +#define SWIG_init    init_webkit
    +
    +#define SWIG_name    "_webkit"
    +
    +/* Auxiliar swig  macros that appear in the header */
    +
    +#define SWIG_OLDOBJ  1
    +#define SWIG_NEWOBJ  SWIG_OLDOBJ + 1
    +#define SWIG_PYSTR   SWIG_NEWOBJ + 1
    +
    +#ifdef __cplusplus
    +#define SWIGSTATICINLINE(a) static inline a
    +#define SWIGSTATIC(a) static a
    +#define swig_new_array(size,Type) (new Type[(size)])
    +#define swig_delete(cptr) delete cptr
    +#define swig_delete_array(cptr) delete[] cptr
    +#define swig_const_cast(a,Type) const_cast(a)
    +#define swig_static_cast(a,Type) static_cast(a)
    +#define swig_reinterpret_cast(a,Type) reinterpret_cast(a)
    +#define swig_new_copy(ptr,Type) (new Type(*ptr))
    +#define swig_numeric_cast(a,Type) static_cast(a)
    +
    +#else /* C case */
    +
    +#define SWIGSTATICINLINE(a) static a
    +#define SWIGSTATIC(a) static a
    +#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
    +#define swig_delete(cptr) free((char*)cptr)
    +#define swig_delete_array(cptr) free((char*)cptr)
    +#define swig_const_cast(a,Type) (Type)(a)
    +#define swig_static_cast(a,Type) (Type)(a)
    +#define swig_reinterpret_cast(a,Type) (Type)(a)
    +#define swig_numeric_cast(a,Type) (Type)(a)
    +#define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
    +
    +#endif /* __cplusplus */
    +
    +
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_signed_SS_char PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_unsigned_SS_char PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_short PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_unsigned_SS_short PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_int PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_long PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_float PyFloat_FromDouble
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_double PyFloat_FromDouble
    +/*@@*/
    +
    +
    +
    +#include "wx/wxPython/wxPython.h"
    +#include "wx/wxPython/pyclasses.h"
    +#include "wx/wxPython/pyistream.h"
    +
    +#ifdef __WXMAC__  // avoid a bug in Carbon headers
    +#define scalb scalbn
    +#endif
    +
    +#if wxUSE_WEBKIT
    +#include "wx/html/webkit.h"
    +#endif
    +
    + static const wxString wxPyEmptyString(wxEmptyString); 
    + static const wxString wxPyWebKitNameStr(wxT("webkitctrl")); 
    +
    +#if !wxUSE_WEBKIT
    +// a dummy class for ports that don't have wxWebKitCtrl
    +class wxWebKitCtrl : public wxControl
    +{
    +public:
    +    wxWebKitCtrl(wxWindow *parent,
    +                 wxWindowID winID,
    +                 const wxString& strURL,
    +                 const wxPoint& pos = wxDefaultPosition,
    +                 const wxSize& size = wxDefaultSize, long style = 0,
    +                 const wxValidator& validator = wxDefaultValidator,
    +                 const wxString& name = wxPyWebKitNameStr)
    +    { wxPyRaiseNotImplemented(); }
    +
    +    wxWebKitCtrl() { wxPyRaiseNotImplemented(); }
    +    
    +    bool Create(wxWindow *parent,
    +                wxWindowID winID,
    +                const wxString& strURL,
    +                const wxPoint& pos = wxDefaultPosition,
    +                const wxSize& size = wxDefaultSize, long style = 0,
    +                const wxValidator& validator = wxDefaultValidator,
    +                const wxString& name = wxPyWebKitNameStr)
    +    { return false; }
    +
    +    void LoadURL(const wxString &url) {}
    +
    +    bool CanGoBack() { return false; }
    +    bool CanGoForward() { return false; }
    +    bool GoBack() { return false; }
    +    bool GoForward() { return false; }
    +    void Reload() {}
    +    void Stop() {}
    +    bool CanGetPageSource() { return false; }
    +    wxString GetPageSource() { return wxEmptyString; }
    +    void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString) {}
    +};
    +
    +
    +enum {
    +    wxWEBKIT_STATE_START = 0,
    +    wxWEBKIT_STATE_NEGOTIATING = 0,
    +    wxWEBKIT_STATE_REDIRECTING = 0,
    +    wxWEBKIT_STATE_TRANSFERRING = 0,
    +    wxWEBKIT_STATE_STOP = 0,
    +    wxWEBKIT_STATE_FAILED = 0,
    +
    +    wxEVT_WEBKIT_STATE_CHANGED = 0
    +};
    +
    +class wxWebKitStateChangedEvent : public wxCommandEvent
    +{
    +public:
    +    wxWebKitStateChangedEvent( wxWindow* win =  NULL )
    +    { wxPyRaiseNotImplemented(); }
    +
    +    int GetState() { return 0; }
    +    void SetState(const int state) {}
    +    wxString GetURL() { return wxEmptyString; }
    +    void SetURL(const wxString& url) {}
    +};
    +
    + 
    +#endif
    +
    +
    +#include 
    +
    +
    +SWIGSTATICINLINE(int)
    +  SWIG_CheckLongInRange(long value, long min_value, long max_value,
    +			const char *errmsg)
    +{
    +  if (value < min_value) {
    +    if (errmsg) {
    +      PyErr_Format(PyExc_OverflowError, 
    +		   "value %ld is less than '%s' minimum %ld", 
    +		   value, errmsg, min_value);
    +    }
    +    return 0;    
    +  } else if (value > max_value) {
    +    if (errmsg) {
    +      PyErr_Format(PyExc_OverflowError,
    +		   "value %ld is greater than '%s' maximum %ld", 
    +		   value, errmsg, max_value);
    +    }
    +    return 0;
    +  }
    +  return 1;
    +}
    +
    +
    +// See my_fragments.i
    +SWIGSTATICINLINE(int)
    +SWIG_AsVal_long(PyObject* obj, long* val)
    +{
    +    if (PyNumber_Check(obj)) {
    +        if (val) *val = PyInt_AsLong(obj);
    +        return 1;
    +    }
    +    else {
    +        PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
    +                                               obj->ob_type->tp_name);
    +        PyErr_SetObject(PyExc_TypeError, errmsg);
    +        Py_DECREF(errmsg);
    +    }
    +    return 0;
    +}
    +
    +
    +#if INT_MAX != LONG_MAX
    +SWIGSTATICINLINE(int)
    +  SWIG_AsVal_int(PyObject *obj, int *val)
    +{ 
    +  const char* errmsg = val ? "int" : 0;
    +  long v;
    +  if (SWIG_AsVal_long(obj, &v)) {
    +    if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
    +      if (val) *val = swig_numeric_cast(v, int);
    +      return 1;
    +    } else {
    +      return 0;
    +    }
    +  } else {
    +    PyErr_Clear();
    +  }
    +  if (val) {
    +    PyErr_SetString(PyExc_TypeError, "an int is expected");
    +  }
    +  return 0;    
    +}
    +#else
    +SWIGSTATICINLINE(int)
    +  SWIG_AsVal_int(PyObject *obj, int *val)
    +{
    +  return SWIG_AsVal_long(obj,(long*)val);
    +}
    +#endif
    +
    +
    +SWIGSTATICINLINE(int)
    +SWIG_As_int(PyObject* obj)
    +{
    +  int v;
    +  if (!SWIG_AsVal_int(obj, &v)) {
    +    /*
    +      this is needed to make valgrind/purify happier.  the other
    +      solution is throw an exception, but since this code should work
    +      with plain C ....
    +     */
    +    memset((void*)&v, 0, sizeof(int));
    +  }
    +  return v;
    +}
    +
    +
    +SWIGSTATICINLINE(long)
    +SWIG_As_long(PyObject* obj)
    +{
    +  long v;
    +  if (!SWIG_AsVal_long(obj, &v)) {
    +    /*
    +      this is needed to make valgrind/purify happier.  the other
    +      solution is throw an exception, but since this code should work
    +      with plain C ....
    +     */
    +    memset((void*)&v, 0, sizeof(long));
    +  }
    +  return v;
    +}
    +
    +  
    +SWIGSTATICINLINE(int)
    +SWIG_Check_int(PyObject* obj)
    +{
    +  return SWIG_AsVal_int(obj, (int*)0);
    +}
    +
    +  
    +SWIGSTATICINLINE(int)
    +SWIG_Check_long(PyObject* obj)
    +{
    +  return SWIG_AsVal_long(obj, (long*)0);
    +}
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +static int _wrap_WebKitNameStr_set(PyObject *) {
    +    PyErr_SetString(PyExc_TypeError,"Variable WebKitNameStr is read-only.");
    +    return 1;
    +}
    +
    +
    +static PyObject *_wrap_WebKitNameStr_get() {
    +    PyObject *pyobj;
    +    
    +    {
    +#if wxUSE_UNICODE
    +        pyobj = PyUnicode_FromWideChar((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
    +#else
    +        pyobj = PyString_FromStringAndSize((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
    +#endif
    +    }
    +    return pyobj;
    +}
    +
    +
    +static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWindow *arg1 = (wxWindow *) 0 ;
    +    int arg2 = (int) -1 ;
    +    wxString const &arg3_defvalue = wxPyEmptyString ;
    +    wxString *arg3 = (wxString *) &arg3_defvalue ;
    +    wxPoint const &arg4_defvalue = wxDefaultPosition ;
    +    wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
    +    wxSize const &arg5_defvalue = wxDefaultSize ;
    +    wxSize *arg5 = (wxSize *) &arg5_defvalue ;
    +    long arg6 = (long) 0 ;
    +    wxValidator const &arg7_defvalue = wxDefaultValidator ;
    +    wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
    +    wxString const &arg8_defvalue = wxPyWebKitNameStr ;
    +    wxString *arg8 = (wxString *) &arg8_defvalue ;
    +    wxWebKitCtrl *result;
    +    bool temp3 = false ;
    +    wxPoint temp4 ;
    +    wxSize temp5 ;
    +    bool temp8 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    PyObject * obj3 = 0 ;
    +    PyObject * obj4 = 0 ;
    +    PyObject * obj5 = 0 ;
    +    PyObject * obj6 = 0 ;
    +    PyObject * obj7 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_WebKitCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if (obj1) {
    +        arg2 = (int)SWIG_As_int(obj1); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj2) {
    +        {
    +            arg3 = wxString_in_helper(obj2);
    +            if (arg3 == NULL) SWIG_fail;
    +            temp3 = true;
    +        }
    +    }
    +    if (obj3) {
    +        {
    +            arg4 = &temp4;
    +            if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
    +        }
    +    }
    +    if (obj4) {
    +        {
    +            arg5 = &temp5;
    +            if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
    +        }
    +    }
    +    if (obj5) {
    +        arg6 = (long)SWIG_As_long(obj5); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj6) {
    +        if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1)
    +        SWIG_fail;
    +        if (arg7 == NULL) {
    +            PyErr_SetString(PyExc_TypeError,"null reference");
    +            SWIG_fail;
    +        }
    +    }
    +    if (obj7) {
    +        {
    +            arg8 = wxString_in_helper(obj7);
    +            if (arg8 == NULL) SWIG_fail;
    +            temp8 = true;
    +        }
    +    }
    +    {
    +        if (!wxPyCheckForApp()) SWIG_fail;
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitCtrl *)new wxWebKitCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    {
    +        if (temp8)
    +        delete arg8;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    {
    +        if (temp8)
    +        delete arg8;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *result;
    +    char *kwnames[] = {
    +        NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWebKitCtrl",kwnames)) goto fail;
    +    {
    +        if (!wxPyCheckForApp()) SWIG_fail;
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitCtrl *)new wxWebKitCtrl();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxWindow *arg2 = (wxWindow *) 0 ;
    +    int arg3 = (int) -1 ;
    +    wxString const &arg4_defvalue = wxPyEmptyString ;
    +    wxString *arg4 = (wxString *) &arg4_defvalue ;
    +    wxPoint const &arg5_defvalue = wxDefaultPosition ;
    +    wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
    +    wxSize const &arg6_defvalue = wxDefaultSize ;
    +    wxSize *arg6 = (wxSize *) &arg6_defvalue ;
    +    long arg7 = (long) 0 ;
    +    wxValidator const &arg8_defvalue = wxDefaultValidator ;
    +    wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
    +    wxString const &arg9_defvalue = wxPyWebKitNameStr ;
    +    wxString *arg9 = (wxString *) &arg9_defvalue ;
    +    bool result;
    +    bool temp4 = false ;
    +    wxPoint temp5 ;
    +    wxSize temp6 ;
    +    bool temp9 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    PyObject * obj3 = 0 ;
    +    PyObject * obj4 = 0 ;
    +    PyObject * obj5 = 0 ;
    +    PyObject * obj6 = 0 ;
    +    PyObject * obj7 = 0 ;
    +    PyObject * obj8 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:WebKitCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if (obj2) {
    +        arg3 = (int)SWIG_As_int(obj2); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj3) {
    +        {
    +            arg4 = wxString_in_helper(obj3);
    +            if (arg4 == NULL) SWIG_fail;
    +            temp4 = true;
    +        }
    +    }
    +    if (obj4) {
    +        {
    +            arg5 = &temp5;
    +            if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
    +        }
    +    }
    +    if (obj5) {
    +        {
    +            arg6 = &temp6;
    +            if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
    +        }
    +    }
    +    if (obj6) {
    +        arg7 = (long)SWIG_As_long(obj6); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj7) {
    +        if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1)
    +        SWIG_fail;
    +        if (arg8 == NULL) {
    +            PyErr_SetString(PyExc_TypeError,"null reference");
    +            SWIG_fail;
    +        }
    +    }
    +    if (obj8) {
    +        {
    +            arg9 = wxString_in_helper(obj8);
    +            if (arg9 == NULL) SWIG_fail;
    +            temp9 = true;
    +        }
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    {
    +        if (temp4)
    +        delete arg4;
    +    }
    +    {
    +        if (temp9)
    +        delete arg9;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp4)
    +        delete arg4;
    +    }
    +    {
    +        if (temp9)
    +        delete arg9;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString *arg2 = 0 ;
    +    bool temp2 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "url", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitCtrl_LoadURL",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->LoadURL((wxString const &)*arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoBack",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGoBack();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoForward",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGoForward();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoBack",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->GoBack();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoForward",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->GoForward();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Reload",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->Reload();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Stop",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->Stop();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGetPageSource",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGetPageSource();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GetPageSource",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (arg1)->GetPageSource();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +#if wxUSE_UNICODE
    +        resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
    +#else
    +        resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
    +#endif
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString *arg2 = 0 ;
    +    wxString const &arg3_defvalue = wxPyEmptyString ;
    +    wxString *arg3 = (wxString *) &arg3_defvalue ;
    +    bool temp2 = false ;
    +    bool temp3 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "source",(char *) "baseUrl", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:WebKitCtrl_SetPageSource",kwnames,&obj0,&obj1,&obj2)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    if (obj2) {
    +        {
    +            arg3 = wxString_in_helper(obj2);
    +            if (arg3 == NULL) SWIG_fail;
    +            temp3 = true;
    +        }
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetPageSource(*arg2,(wxString const &)*arg3);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject * WebKitCtrl_swigregister(PyObject *, PyObject *args) {
    +    PyObject *obj;
    +    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
    +    SWIG_TypeClientData(SWIGTYPE_p_wxWebKitCtrl, obj);
    +    Py_INCREF(obj);
    +    return Py_BuildValue((char *)"");
    +}
    +static PyObject *_wrap_new_WebKitStateChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWindow *arg1 = (wxWindow *) NULL ;
    +    wxWebKitStateChangedEvent *result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "win", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WebKitStateChangedEvent",kwnames,&obj0)) goto fail;
    +    if (obj0) {
    +        if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitStateChangedEvent *)new wxWebKitStateChangedEvent(arg1);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitStateChangedEvent, 1);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    int result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitStateChangedEvent_GetState",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (int)(arg1)->GetState();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_From_int((int)result);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    int arg2 ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "state", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitStateChangedEvent_SetState",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    arg2 = (int)SWIG_As_int(obj1); 
    +    if (PyErr_Occurred()) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetState(arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    wxString result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitStateChangedEvent_GetURL",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (arg1)->GetURL();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +#if wxUSE_UNICODE
    +        resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
    +#else
    +        resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
    +#endif
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    wxString *arg2 = 0 ;
    +    bool temp2 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "url", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitStateChangedEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetURL((wxString const &)*arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject * WebKitStateChangedEvent_swigregister(PyObject *, PyObject *args) {
    +    PyObject *obj;
    +    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
    +    SWIG_TypeClientData(SWIGTYPE_p_wxWebKitStateChangedEvent, obj);
    +    Py_INCREF(obj);
    +    return Py_BuildValue((char *)"");
    +}
    +static PyMethodDef SwigMethods[] = {
    +	 { (char *)"new_WebKitCtrl", (PyCFunction) _wrap_new_WebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"new_PreWebKitCtrl", (PyCFunction) _wrap_new_PreWebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Create", (PyCFunction) _wrap_WebKitCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_LoadURL", (PyCFunction) _wrap_WebKitCtrl_LoadURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGoBack", (PyCFunction) _wrap_WebKitCtrl_CanGoBack, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGoForward", (PyCFunction) _wrap_WebKitCtrl_CanGoForward, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GoBack", (PyCFunction) _wrap_WebKitCtrl_GoBack, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GoForward", (PyCFunction) _wrap_WebKitCtrl_GoForward, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Reload", (PyCFunction) _wrap_WebKitCtrl_Reload, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Stop", (PyCFunction) _wrap_WebKitCtrl_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGetPageSource", (PyCFunction) _wrap_WebKitCtrl_CanGetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GetPageSource", (PyCFunction) _wrap_WebKitCtrl_GetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_SetPageSource", (PyCFunction) _wrap_WebKitCtrl_SetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_swigregister", WebKitCtrl_swigregister, METH_VARARGS, NULL },
    +	 { (char *)"new_WebKitStateChangedEvent", (PyCFunction) _wrap_new_WebKitStateChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_GetState", (PyCFunction) _wrap_WebKitStateChangedEvent_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_SetState", (PyCFunction) _wrap_WebKitStateChangedEvent_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_GetURL", (PyCFunction) _wrap_WebKitStateChangedEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_SetURL", (PyCFunction) _wrap_WebKitStateChangedEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_swigregister", WebKitStateChangedEvent_swigregister, METH_VARARGS, NULL },
    +	 { NULL, NULL, 0, NULL }
    +};
    +
    +
    +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
    +
    +static void *_p_wxWebKitCtrlTo_p_wxControl(void *x) {
    +    return (void *)((wxControl *)  ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
    +    return (void *)((wxControl *)  ((wxControlWithItems *) x));
    +}
    +static void *_p_wxControlTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *)  ((wxControl *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *) (wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *)  ((wxMenuBar *) x));
    +}
    +static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
    +}
    +static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
    +}
    +static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
    +}
    +static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
    +}
    +static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
    +}
    +static void *_p_wxSizerItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxSizerItem *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
    +}
    +static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxIndividualLayoutConstraint *) x));
    +}
    +static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
    +}
    +static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
    +}
    +static void *_p_wxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxSizer *) x));
    +}
    +static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxEvent *) x));
    +}
    +static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
    +}
    +static void *_p_wxGridSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
    +}
    +static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
    +}
    +static void *_p_wxPaintEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
    +}
    +static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
    +}
    +static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
    +}
    +static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
    +}
    +static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
    +}
    +static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxControlTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
    +}
    +static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
    +}
    +static void *_p_wxFSFileTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxFSFile *) x));
    +}
    +static void *_p_wxPySizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
    +}
    +static void *_p_wxPyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxShowEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
    +}
    +static void *_p_wxMenuItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxMenuItem *) x));
    +}
    +static void *_p_wxIdleEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
    +}
    +static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
    +}
    +static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
    +}
    +static void *_p_wxSizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
    +}
    +static void *_p_wxMoveEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
    +}
    +static void *_p_wxActivateEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
    +}
    +static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
    +}
    +static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
    +}
    +static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
    +}
    +static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
    +}
    +static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
    +}
    +static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
    +}
    +static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
    +}
    +static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
    +}
    +static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
    +}
    +static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
    +}
    +static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxImageHandler *) x));
    +}
    +static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
    +}
    +static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxEvtHandler *) x));
    +}
    +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxAcceleratorTable *) x));
    +}
    +static void *_p_wxImageTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxImage *) x));
    +}
    +static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
    +}
    +static void *_p_wxKeyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
    +}
    +static void *_p_wxWindowTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
    +}
    +static void *_p_wxMenuTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
    +}
    +static void *_p_wxFileSystemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxFileSystem *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxMenuEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
    +}
    +static void *_p_wxPyAppTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
    +}
    +static void *_p_wxCloseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
    +}
    +static void *_p_wxMouseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
    +}
    +static void *_p_wxEraseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
    +}
    +static void *_p_wxCommandEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
    +}
    +static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
    +}
    +static void *_p_wxFocusEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
    +}
    +static void *_p_wxValidatorTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMenuEvent *) x));
    +}
    +static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxCloseEvent *) x));
    +}
    +static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMouseEvent *) x));
    +}
    +static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxEraseEvent *) x));
    +}
    +static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSetCursorEvent *) x));
    +}
    +static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxInitDialogEvent *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
    +}
    +static void *_p_wxPyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPyEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxIdleEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxQueryNewPaletteEvent *) x));
    +}
    +static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMaximizeEvent *) x));
    +}
    +static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxIconizeEvent *) x));
    +}
    +static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxActivateEvent *) x));
    +}
    +static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSizeEvent *) x));
    +}
    +static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMoveEvent *) x));
    +}
    +static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPaintEvent *) x));
    +}
    +static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxNcPaintEvent *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPaletteChangedEvent *) x));
    +}
    +static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxDisplayChangedEvent *) x));
    +}
    +static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMouseCaptureChangedEvent *) x));
    +}
    +static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSysColourChangedEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxDropFilesEvent *) x));
    +}
    +static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxFocusEvent *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxShowEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxShowEvent *) x));
    +}
    +static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxCommandEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxNavigationKeyEvent *) x));
    +}
    +static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxKeyEvent *) x));
    +}
    +static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxScrollWinEvent *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
    +    return (void *)((wxValidator *)  ((wxPyValidator *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxScrollEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxPyCommandEvent *) x));
    +}
    +static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWebKitCtrl[] = {{"_p_wxWebKitCtrl", 0, "wxWebKitCtrl *", 0, 0, 0, 0},{"_p_wxWebKitCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWebKitStateChangedEvent[] = {{"_p_wxWebKitStateChangedEvent", 0, "wxWebKitStateChangedEvent *", 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +
    +static swig_type_info *swig_types_initial[] = {
    +_swigt__p_wxControl, 
    +_swigt__p_wxWebKitCtrl, 
    +_swigt__p_wxWindow, 
    +_swigt__p_wxEvtHandler, 
    +_swigt__p_wxObject, 
    +_swigt__p_wxEvent, 
    +_swigt__p_char, 
    +_swigt__p_wxValidator, 
    +_swigt__p_wxWebKitStateChangedEvent, 
    +_swigt__p_wxCommandEvent, 
    +0
    +};
    +
    +
    +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
    +
    +static swig_const_info swig_const_table[] = {
    +{0, 0, 0, 0.0, 0, 0}};
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +#ifdef __cplusplus
    +extern "C"
    +#endif
    +SWIGEXPORT(void) SWIG_init(void) {
    +    static PyObject *SWIG_globals = 0; 
    +    static int       typeinit = 0;
    +    PyObject *m, *d;
    +    int       i;
    +    if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
    +    m = Py_InitModule((char *) SWIG_name, SwigMethods);
    +    d = PyModule_GetDict(m);
    +    
    +    if (!typeinit) {
    +        for (i = 0; swig_types_initial[i]; i++) {
    +            swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
    +        }
    +        typeinit = 1;
    +    }
    +    SWIG_InstallConstants(d,swig_const_table);
    +    
    +    PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
    +    SWIG_addvarlink(SWIG_globals,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get, _wrap_WebKitNameStr_set);
    +    PyDict_SetItemString(d,"WEBKIT_STATE_START", SWIG_From_int((int)wxWEBKIT_STATE_START));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int((int)wxWEBKIT_STATE_NEGOTIATING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_REDIRECTING", SWIG_From_int((int)wxWEBKIT_STATE_REDIRECTING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int((int)wxWEBKIT_STATE_TRANSFERRING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_STOP", SWIG_From_int((int)wxWEBKIT_STATE_STOP));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_FAILED", SWIG_From_int((int)wxWEBKIT_STATE_FAILED));
    +    PyDict_SetItemString(d, "wxEVT_WEBKIT_STATE_CHANGED", PyInt_FromLong(wxEVT_WEBKIT_STATE_CHANGED));
    +    
    +    
    +    
    +}
    +
    diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp
    index 3ae9023311..aa4ebd2986 100644
    --- a/wxPython/src/helpers.cpp
    +++ b/wxPython/src/helpers.cpp
    @@ -424,7 +424,7 @@ void wxPyApp::_BootstrapApp()
             // On wxGTK the locale will be changed to match the system settings, but
             // Python needs to have LC_NUMERIC set to "C" in order for the floating
             // point conversions and such to work right.
    -#ifdef __WXGTK__
    +#if defined(__WXGTK__) && PYTHON_API_VERSION <= 1012
             setlocale(LC_NUMERIC, "C");
     #endif
         
    @@ -635,7 +635,7 @@ PyObject* __wxPySetDictionary(PyObject* /* self */, PyObject* args)
         PyDict_SetItemString(wxPython_dict, "USE_UNICODE", PyInt_FromLong(wxUSE_UNICODE));
         PyDict_SetItemString(wxPython_dict, "__WXDEBUG__", PyInt_FromLong(wxdebug));
     
    -    
    +    // Make a tuple of strings that gives more info about the platform.
         PyObject* PlatInfo = PyList_New(0);
         PyObject* obj;
     
    @@ -649,7 +649,7 @@ PyObject* __wxPySetDictionary(PyObject* /* self */, PyObject* args)
     #if wxUSE_UNICODE
         _AddInfoString("unicode");
     #else
    -    _AddInfoString("ascii");
    +    _AddInfoString("ansi");
     #endif
     #ifdef __WXGTK__
     #ifdef __WXGTK20__
    @@ -1088,11 +1088,12 @@ void wxPySaveThreadState(PyThreadState* tstate) {
                 if (info.tstate != tstate)
                     wxLogMessage("*** tstate mismatch!???");
     #endif
    -            // info.tstate = tstate;    *** DO NOT update existing ones???
    +            info.tstate = tstate;    // allow for transient tstates
                 // Normally it will never change, but apparently COM callbacks
                 // (i.e. ActiveX controls) will (incorrectly IMHO) use a transient
                 // tstate which will then be garbage the next time we try to use
                 // it...
    +            
                 wxPyTMutex->Unlock();
                 return;
             }
    @@ -1910,12 +1911,18 @@ wxString* wxString_in_helper(PyObject* source) {
         if (PyString_Check(source))
             Py_DECREF(uni);
     #else
    -    char* tmpPtr; int tmpSize;
    -    if (PyString_AsStringAndSize(source, &tmpPtr, &tmpSize) == -1) {
    -        PyErr_SetString(PyExc_TypeError, "Unable to convert string");
    -        return NULL;
    +    // Convert to a string object if it isn't already, then to wxString
    +    PyObject* str = source;
    +    if (!PyString_Check(source)) {
    +        str = PyObject_Str(source);
    +        if (PyErr_Occurred()) return NULL;
         }
    +    char* tmpPtr; int tmpSize;
    +    PyString_AsStringAndSize(str, &tmpPtr, &tmpSize);
         target = new wxString(tmpPtr, tmpSize);
    +    
    +    if (!PyString_Check(source))
    +        Py_DECREF(str);
     #endif // wxUSE_UNICODE
         
         return target;
    diff --git a/wxPython/src/mac/_core.py b/wxPython/src/mac/_core.py
    index 079b910769..09abfe6f0c 100644
    --- a/wxPython/src/mac/_core.py
    +++ b/wxPython/src/mac/_core.py
    @@ -7678,8 +7678,8 @@ class Window(EvtHandler):
             ShouldInheritColours to return false, the colours will not be changed
             no matter what and only the font might.
     
    -        This rather complicated logic is necessary in order to accomodate the
    -        different usage scenarius. The most common one is when all default
    +        This rather complicated logic is necessary in order to accommodate the
    +        different usage scenarios. The most common one is when all default
             attributes are used and in this case, nothing should be inherited as
             in modern GUIs different controls use different fonts (and colours)
             than their siblings so they can't inherit the same value from the
    @@ -9444,7 +9444,7 @@ class Sizer(Object):
             """
             A convenience method for Show(item, False, recursive).
             """
    -        return self.Show(item, false, recursive)
    +        return self.Show(item, False, recursive)
     
         def ShowItems(*args, **kwargs):
             """
    diff --git a/wxPython/src/mac/webkit.py b/wxPython/src/mac/webkit.py
    new file mode 100644
    index 0000000000..0ad8c4742e
    --- /dev/null
    +++ b/wxPython/src/mac/webkit.py
    @@ -0,0 +1,136 @@
    +# This file was created automatically by SWIG.
    +# Don't modify this file, modify the SWIG interface instead.
    +
    +"""
    +wx.webkit.WebKitCtrl for Mac OSX.
    +"""
    +
    +import _webkit
    +
    +import _core
    +wx = _core 
    +__docfilter__ = wx.__DocFilter(globals()) 
    +class WebKitCtrl(_core.Control):
    +    def __repr__(self):
    +        return "<%s.%s; proxy of C++ wxWebKitCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
    +    def __init__(self, *args, **kwargs):
    +        """
    +        __init__(self, Window parent, int winID=-1, String strURL=EmptyString, 
    +            Point pos=DefaultPosition, Size size=DefaultSize, 
    +            long style=0, Validator validator=DefaultValidator, 
    +            String name=WebKitNameStr) -> WebKitCtrl
    +        """
    +        newobj = _webkit.new_WebKitCtrl(*args, **kwargs)
    +        self.this = newobj.this
    +        self.thisown = 1
    +        del newobj.thisown
    +        self._setOORInfo(self)
    +
    +    def Create(*args, **kwargs):
    +        """
    +        Create(self, Window parent, int winID=-1, String strURL=EmptyString, 
    +            Point pos=DefaultPosition, Size size=DefaultSize, 
    +            long style=0, Validator validator=DefaultValidator, 
    +            String name=WebKitNameStr) -> bool
    +        """
    +        return _webkit.WebKitCtrl_Create(*args, **kwargs)
    +
    +    def LoadURL(*args, **kwargs):
    +        """LoadURL(self, String url)"""
    +        return _webkit.WebKitCtrl_LoadURL(*args, **kwargs)
    +
    +    def CanGoBack(*args, **kwargs):
    +        """CanGoBack(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGoBack(*args, **kwargs)
    +
    +    def CanGoForward(*args, **kwargs):
    +        """CanGoForward(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGoForward(*args, **kwargs)
    +
    +    def GoBack(*args, **kwargs):
    +        """GoBack(self) -> bool"""
    +        return _webkit.WebKitCtrl_GoBack(*args, **kwargs)
    +
    +    def GoForward(*args, **kwargs):
    +        """GoForward(self) -> bool"""
    +        return _webkit.WebKitCtrl_GoForward(*args, **kwargs)
    +
    +    def Reload(*args, **kwargs):
    +        """Reload(self)"""
    +        return _webkit.WebKitCtrl_Reload(*args, **kwargs)
    +
    +    def Stop(*args, **kwargs):
    +        """Stop(self)"""
    +        return _webkit.WebKitCtrl_Stop(*args, **kwargs)
    +
    +    def CanGetPageSource(*args, **kwargs):
    +        """CanGetPageSource(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGetPageSource(*args, **kwargs)
    +
    +    def GetPageSource(*args, **kwargs):
    +        """GetPageSource(self) -> String"""
    +        return _webkit.WebKitCtrl_GetPageSource(*args, **kwargs)
    +
    +    def SetPageSource(*args, **kwargs):
    +        """SetPageSource(self, String source, String baseUrl=EmptyString)"""
    +        return _webkit.WebKitCtrl_SetPageSource(*args, **kwargs)
    +
    +
    +class WebKitCtrlPtr(WebKitCtrl):
    +    def __init__(self, this):
    +        self.this = this
    +        if not hasattr(self,"thisown"): self.thisown = 0
    +        self.__class__ = WebKitCtrl
    +_webkit.WebKitCtrl_swigregister(WebKitCtrlPtr)
    +cvar = _webkit.cvar
    +WebKitNameStr = cvar.WebKitNameStr
    +
    +def PreWebKitCtrl(*args, **kwargs):
    +    """PreWebKitCtrl() -> WebKitCtrl"""
    +    val = _webkit.new_PreWebKitCtrl(*args, **kwargs)
    +    val.thisown = 1
    +    return val
    +
    +WEBKIT_STATE_START = _webkit.WEBKIT_STATE_START
    +WEBKIT_STATE_NEGOTIATING = _webkit.WEBKIT_STATE_NEGOTIATING
    +WEBKIT_STATE_REDIRECTING = _webkit.WEBKIT_STATE_REDIRECTING
    +WEBKIT_STATE_TRANSFERRING = _webkit.WEBKIT_STATE_TRANSFERRING
    +WEBKIT_STATE_STOP = _webkit.WEBKIT_STATE_STOP
    +WEBKIT_STATE_FAILED = _webkit.WEBKIT_STATE_FAILED
    +wxEVT_WEBKIT_STATE_CHANGED = _webkit.wxEVT_WEBKIT_STATE_CHANGED
    +class WebKitStateChangedEvent(_core.CommandEvent):
    +    def __repr__(self):
    +        return "<%s.%s; proxy of C++ wxWebKitStateChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
    +    def __init__(self, *args, **kwargs):
    +        """__init__(self, Window win=None) -> WebKitStateChangedEvent"""
    +        newobj = _webkit.new_WebKitStateChangedEvent(*args, **kwargs)
    +        self.this = newobj.this
    +        self.thisown = 1
    +        del newobj.thisown
    +    def GetState(*args, **kwargs):
    +        """GetState(self) -> int"""
    +        return _webkit.WebKitStateChangedEvent_GetState(*args, **kwargs)
    +
    +    def SetState(*args, **kwargs):
    +        """SetState(self, int state)"""
    +        return _webkit.WebKitStateChangedEvent_SetState(*args, **kwargs)
    +
    +    def GetURL(*args, **kwargs):
    +        """GetURL(self) -> String"""
    +        return _webkit.WebKitStateChangedEvent_GetURL(*args, **kwargs)
    +
    +    def SetURL(*args, **kwargs):
    +        """SetURL(self, String url)"""
    +        return _webkit.WebKitStateChangedEvent_SetURL(*args, **kwargs)
    +
    +
    +class WebKitStateChangedEventPtr(WebKitStateChangedEvent):
    +    def __init__(self, this):
    +        self.this = this
    +        if not hasattr(self,"thisown"): self.thisown = 0
    +        self.__class__ = WebKitStateChangedEvent
    +_webkit.WebKitStateChangedEvent_swigregister(WebKitStateChangedEventPtr)
    +
    +EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED)
    +
    +
    diff --git a/wxPython/src/mac/webkit_wrap.cpp b/wxPython/src/mac/webkit_wrap.cpp
    new file mode 100644
    index 0000000000..d5faba66c5
    --- /dev/null
    +++ b/wxPython/src/mac/webkit_wrap.cpp
    @@ -0,0 +1,1759 @@
    +/* ----------------------------------------------------------------------------
    + * This file was automatically generated by SWIG (http://www.swig.org).
    + * Version 1.3.22
    + * 
    + * This file is not intended to be easily readable and contains a number of 
    + * coding conventions designed to improve portability and efficiency. Do not make
    + * changes to this file unless you know what you are doing--modify the SWIG 
    + * interface file instead. 
    + * ----------------------------------------------------------------------------- */
    +
    +#define SWIGPYTHON
    +#define SWIG_NOINCLUDE
    +
    +#ifdef __cplusplus
    +template class SwigValueWrapper {
    +    T *tt;
    +public:
    +    SwigValueWrapper() : tt(0) { }
    +    SwigValueWrapper(const SwigValueWrapper& rhs) : tt(new T(*rhs.tt)) { }
    +    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    +    ~SwigValueWrapper() { delete tt; } 
    +    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    +    operator T&() const { return *tt; }
    +    T *operator&() { return tt; }
    +private:
    +    SwigValueWrapper& operator=(const SwigValueWrapper& rhs);
    +};                                                    
    +#endif
    +
    +
    +#include "Python.h"
    +
    +/*************************************************************** -*- c -*-
    + * python/precommon.swg
    + *
    + * Rename all exported symbols from common.swg, to avoid symbol
    + * clashes if multiple interpreters are included
    + *
    + ************************************************************************/
    +
    +#define SWIG_TypeRegister    SWIG_Python_TypeRegister
    +#define SWIG_TypeCheck       SWIG_Python_TypeCheck
    +#define SWIG_TypeCast        SWIG_Python_TypeCast
    +#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
    +#define SWIG_TypeName        SWIG_Python_TypeName
    +#define SWIG_TypePrettyName  SWIG_Python_TypePrettyName
    +#define SWIG_TypeQuery       SWIG_Python_TypeQuery
    +#define SWIG_TypeClientData  SWIG_Python_TypeClientData
    +#define SWIG_PackData        SWIG_Python_PackData 
    +#define SWIG_UnpackData      SWIG_Python_UnpackData 
    +
    +
    +/***********************************************************************
    + * common.swg for wxPython
    + *
    + * Include only the function prototypes and such from SWIG's common.swg,
    + * but not the runtime functions themselves.  This helps keep the
    + * wrapper files clean of unnecessary stuff that is in the libpy.c file
    + * anyway.
    + *
    + ************************************************************************/
    +
    +#include 
    +
    +#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
    +#  if defined(_MSC_VER) || defined(__GNUC__)
    +#    if defined(STATIC_LINKED)
    +#      define SWIGEXPORT(a) a
    +#      define SWIGIMPORT(a) extern a
    +#    else
    +#      define SWIGEXPORT(a) __declspec(dllexport) a
    +#      define SWIGIMPORT(a) extern a
    +#    endif
    +#  else
    +#    if defined(__BORLANDC__)
    +#      define SWIGEXPORT(a) a _export
    +#      define SWIGIMPORT(a) a _export
    +#    else
    +#      define SWIGEXPORT(a) a
    +#      define SWIGIMPORT(a) a
    +#    endif
    +#  endif
    +#else
    +#  define SWIGEXPORT(a) a
    +#  define SWIGIMPORT(a) a
    +#endif
    +
    +#ifdef SWIG_GLOBAL
    +#  define SWIGRUNTIME(a) SWIGEXPORT(a)
    +#else
    +#  define SWIGRUNTIME(a) static a
    +#endif
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +
    +typedef void *(*swig_converter_func)(void *);
    +typedef struct swig_type_info *(*swig_dycast_func)(void **);
    +
    +typedef struct swig_type_info {
    +  const char             *name;
    +  swig_converter_func     converter;
    +  const char             *str;
    +  void                   *clientdata;
    +  swig_dycast_func        dcast;
    +  struct swig_type_info  *next;
    +  struct swig_type_info  *prev;
    +} swig_type_info;
    +
    +
    +SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
    +SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info *, void *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
    +SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info *);
    +SWIGIMPORT(const char *)     SWIG_TypePrettyName(const swig_type_info *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
    +SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info *, void *);
    +SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int);
    +SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int);
    +
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +
    +/***********************************************************************
    + * pyrun.swg for wxPython
    + *
    + * Include only the function prototypes and such from SWIG's pyrun.swg,
    + * but not the runtime functions themselves.  This helps keep the
    + * wrapper files clean of unnecessary stuff that is in the libpy.c file
    + * anyway.
    + *
    + ************************************************************************/
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +
    +#define SWIG_PY_INT     1
    +#define SWIG_PY_FLOAT   2
    +#define SWIG_PY_STRING  3
    +#define SWIG_PY_POINTER 4
    +#define SWIG_PY_BINARY  5
    +
    +/* Flags for pointer conversion */
    +
    +#define SWIG_POINTER_EXCEPTION     0x1
    +#define SWIG_POINTER_DISOWN        0x2
    +
    +/* Exception handling in wrappers */
    +#define SWIG_fail   goto fail
    +
    +/* Constant information structure */
    +typedef struct swig_const_info {
    +    int type;
    +    char *name;
    +    long lvalue;
    +    double dvalue;
    +    void   *pvalue;
    +    swig_type_info **ptype;
    +} swig_const_info;
    +
    +/* Common SWIG API */
    +#define SWIG_ConvertPtr(obj, pp, type, flags) \
    +  SWIG_Python_ConvertPtr(obj, pp, type, flags)
    +#define SWIG_NewPointerObj(p, type, flags) \
    +  SWIG_Python_NewPointerObj(p, type, flags)
    +#define SWIG_MustGetPtr(p, type, argnum, flags) \
    +  SWIG_Python_MustGetPtr(p, type, argnum, flags)
    + 
    +/* Python-specific SWIG API */
    +#define SWIG_newvarlink() \
    +  SWIG_Python_newvarlink()
    +#define SWIG_addvarlink(p, name, get_attr, set_attr) \
    +  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
    +#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
    +  SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
    +#define SWIG_NewPackedObj(ptr, sz, type) \
    +  SWIG_Python_NewPackedObj(ptr, sz, type)
    +#define SWIG_InstallConstants(d, constants) \
    +  SWIG_Python_InstallConstants(d, constants)
    +
    +typedef double (*py_objasdbl_conv)(PyObject *obj);
    +
    +SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
    +SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_newvarlink(void);
    +SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
    +SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
    +SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
    +
    +
    +/* Contract support */
    +
    +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +
    +
    +/* -------- TYPES TABLE (BEGIN) -------- */
    +
    +#define  SWIGTYPE_p_wxControl swig_types[0] 
    +#define  SWIGTYPE_p_wxWebKitCtrl swig_types[1] 
    +#define  SWIGTYPE_p_wxWindow swig_types[2] 
    +#define  SWIGTYPE_p_wxEvtHandler swig_types[3] 
    +#define  SWIGTYPE_p_wxObject swig_types[4] 
    +#define  SWIGTYPE_p_wxEvent swig_types[5] 
    +#define  SWIGTYPE_p_char swig_types[6] 
    +#define  SWIGTYPE_p_wxValidator swig_types[7] 
    +#define  SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[8] 
    +#define  SWIGTYPE_p_wxCommandEvent swig_types[9] 
    +static swig_type_info *swig_types[11];
    +
    +/* -------- TYPES TABLE (END) -------- */
    +
    +
    +/*-----------------------------------------------
    +              @(target):= _webkit.so
    +  ------------------------------------------------*/
    +#define SWIG_init    init_webkit
    +
    +#define SWIG_name    "_webkit"
    +
    +/* Auxiliar swig  macros that appear in the header */
    +
    +#define SWIG_OLDOBJ  1
    +#define SWIG_NEWOBJ  SWIG_OLDOBJ + 1
    +#define SWIG_PYSTR   SWIG_NEWOBJ + 1
    +
    +#ifdef __cplusplus
    +#define SWIGSTATICINLINE(a) static inline a
    +#define SWIGSTATIC(a) static a
    +#define swig_new_array(size,Type) (new Type[(size)])
    +#define swig_delete(cptr) delete cptr
    +#define swig_delete_array(cptr) delete[] cptr
    +#define swig_const_cast(a,Type) const_cast(a)
    +#define swig_static_cast(a,Type) static_cast(a)
    +#define swig_reinterpret_cast(a,Type) reinterpret_cast(a)
    +#define swig_new_copy(ptr,Type) (new Type(*ptr))
    +#define swig_numeric_cast(a,Type) static_cast(a)
    +
    +#else /* C case */
    +
    +#define SWIGSTATICINLINE(a) static a
    +#define SWIGSTATIC(a) static a
    +#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
    +#define swig_delete(cptr) free((char*)cptr)
    +#define swig_delete_array(cptr) free((char*)cptr)
    +#define swig_const_cast(a,Type) (Type)(a)
    +#define swig_static_cast(a,Type) (Type)(a)
    +#define swig_reinterpret_cast(a,Type) (Type)(a)
    +#define swig_numeric_cast(a,Type) (Type)(a)
    +#define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
    +
    +#endif /* __cplusplus */
    +
    +
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_signed_SS_char PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_unsigned_SS_char PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_short PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_unsigned_SS_short PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_int PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_long PyInt_FromLong
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_float PyFloat_FromDouble
    +/*@@*/
    +/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_double PyFloat_FromDouble
    +/*@@*/
    +
    +
    +
    +#include "wx/wxPython/wxPython.h"
    +#include "wx/wxPython/pyclasses.h"
    +#include "wx/wxPython/pyistream.h"
    +
    +#ifdef __WXMAC__  // avoid a bug in Carbon headers
    +#define scalb scalbn
    +#endif
    +
    +#if wxUSE_WEBKIT
    +#include "wx/html/webkit.h"
    +#endif
    +
    + static const wxString wxPyEmptyString(wxEmptyString); 
    + static const wxString wxPyWebKitNameStr(wxT("webkitctrl")); 
    +
    +#if !wxUSE_WEBKIT
    +// a dummy class for ports that don't have wxWebKitCtrl
    +class wxWebKitCtrl : public wxControl
    +{
    +public:
    +    wxWebKitCtrl(wxWindow *parent,
    +                 wxWindowID winID,
    +                 const wxString& strURL,
    +                 const wxPoint& pos = wxDefaultPosition,
    +                 const wxSize& size = wxDefaultSize, long style = 0,
    +                 const wxValidator& validator = wxDefaultValidator,
    +                 const wxString& name = wxPyWebKitNameStr)
    +    { wxPyRaiseNotImplemented(); }
    +
    +    wxWebKitCtrl() { wxPyRaiseNotImplemented(); }
    +    
    +    bool Create(wxWindow *parent,
    +                wxWindowID winID,
    +                const wxString& strURL,
    +                const wxPoint& pos = wxDefaultPosition,
    +                const wxSize& size = wxDefaultSize, long style = 0,
    +                const wxValidator& validator = wxDefaultValidator,
    +                const wxString& name = wxPyWebKitNameStr)
    +    { return false; }
    +
    +    void LoadURL(const wxString &url) {}
    +
    +    bool CanGoBack() { return false; }
    +    bool CanGoForward() { return false; }
    +    bool GoBack() { return false; }
    +    bool GoForward() { return false; }
    +    void Reload() {}
    +    void Stop() {}
    +    bool CanGetPageSource() { return false; }
    +    wxString GetPageSource() { return wxEmptyString; }
    +    void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString) {}
    +};
    +
    +
    +enum {
    +    wxWEBKIT_STATE_START = 0,
    +    wxWEBKIT_STATE_NEGOTIATING = 0,
    +    wxWEBKIT_STATE_REDIRECTING = 0,
    +    wxWEBKIT_STATE_TRANSFERRING = 0,
    +    wxWEBKIT_STATE_STOP = 0,
    +    wxWEBKIT_STATE_FAILED = 0,
    +
    +    wxEVT_WEBKIT_STATE_CHANGED = 0
    +};
    +
    +class wxWebKitStateChangedEvent : public wxCommandEvent
    +{
    +public:
    +    wxWebKitStateChangedEvent( wxWindow* win =  NULL )
    +    { wxPyRaiseNotImplemented(); }
    +
    +    int GetState() { return 0; }
    +    void SetState(const int state) {}
    +    wxString GetURL() { return wxEmptyString; }
    +    void SetURL(const wxString& url) {}
    +};
    +
    + 
    +#endif
    +
    +
    +#include 
    +
    +
    +SWIGSTATICINLINE(int)
    +  SWIG_CheckLongInRange(long value, long min_value, long max_value,
    +			const char *errmsg)
    +{
    +  if (value < min_value) {
    +    if (errmsg) {
    +      PyErr_Format(PyExc_OverflowError, 
    +		   "value %ld is less than '%s' minimum %ld", 
    +		   value, errmsg, min_value);
    +    }
    +    return 0;    
    +  } else if (value > max_value) {
    +    if (errmsg) {
    +      PyErr_Format(PyExc_OverflowError,
    +		   "value %ld is greater than '%s' maximum %ld", 
    +		   value, errmsg, max_value);
    +    }
    +    return 0;
    +  }
    +  return 1;
    +}
    +
    +
    +// See my_fragments.i
    +SWIGSTATICINLINE(int)
    +SWIG_AsVal_long(PyObject* obj, long* val)
    +{
    +    if (PyNumber_Check(obj)) {
    +        if (val) *val = PyInt_AsLong(obj);
    +        return 1;
    +    }
    +    else {
    +        PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
    +                                               obj->ob_type->tp_name);
    +        PyErr_SetObject(PyExc_TypeError, errmsg);
    +        Py_DECREF(errmsg);
    +    }
    +    return 0;
    +}
    +
    +
    +#if INT_MAX != LONG_MAX
    +SWIGSTATICINLINE(int)
    +  SWIG_AsVal_int(PyObject *obj, int *val)
    +{ 
    +  const char* errmsg = val ? "int" : 0;
    +  long v;
    +  if (SWIG_AsVal_long(obj, &v)) {
    +    if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
    +      if (val) *val = swig_numeric_cast(v, int);
    +      return 1;
    +    } else {
    +      return 0;
    +    }
    +  } else {
    +    PyErr_Clear();
    +  }
    +  if (val) {
    +    PyErr_SetString(PyExc_TypeError, "an int is expected");
    +  }
    +  return 0;    
    +}
    +#else
    +SWIGSTATICINLINE(int)
    +  SWIG_AsVal_int(PyObject *obj, int *val)
    +{
    +  return SWIG_AsVal_long(obj,(long*)val);
    +}
    +#endif
    +
    +
    +SWIGSTATICINLINE(int)
    +SWIG_As_int(PyObject* obj)
    +{
    +  int v;
    +  if (!SWIG_AsVal_int(obj, &v)) {
    +    /*
    +      this is needed to make valgrind/purify happier.  the other
    +      solution is throw an exception, but since this code should work
    +      with plain C ....
    +     */
    +    memset((void*)&v, 0, sizeof(int));
    +  }
    +  return v;
    +}
    +
    +
    +SWIGSTATICINLINE(long)
    +SWIG_As_long(PyObject* obj)
    +{
    +  long v;
    +  if (!SWIG_AsVal_long(obj, &v)) {
    +    /*
    +      this is needed to make valgrind/purify happier.  the other
    +      solution is throw an exception, but since this code should work
    +      with plain C ....
    +     */
    +    memset((void*)&v, 0, sizeof(long));
    +  }
    +  return v;
    +}
    +
    +  
    +SWIGSTATICINLINE(int)
    +SWIG_Check_int(PyObject* obj)
    +{
    +  return SWIG_AsVal_int(obj, (int*)0);
    +}
    +
    +  
    +SWIGSTATICINLINE(int)
    +SWIG_Check_long(PyObject* obj)
    +{
    +  return SWIG_AsVal_long(obj, (long*)0);
    +}
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +static int _wrap_WebKitNameStr_set(PyObject *) {
    +    PyErr_SetString(PyExc_TypeError,"Variable WebKitNameStr is read-only.");
    +    return 1;
    +}
    +
    +
    +static PyObject *_wrap_WebKitNameStr_get() {
    +    PyObject *pyobj;
    +    
    +    {
    +#if wxUSE_UNICODE
    +        pyobj = PyUnicode_FromWideChar((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
    +#else
    +        pyobj = PyString_FromStringAndSize((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
    +#endif
    +    }
    +    return pyobj;
    +}
    +
    +
    +static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWindow *arg1 = (wxWindow *) 0 ;
    +    int arg2 = (int) -1 ;
    +    wxString const &arg3_defvalue = wxPyEmptyString ;
    +    wxString *arg3 = (wxString *) &arg3_defvalue ;
    +    wxPoint const &arg4_defvalue = wxDefaultPosition ;
    +    wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
    +    wxSize const &arg5_defvalue = wxDefaultSize ;
    +    wxSize *arg5 = (wxSize *) &arg5_defvalue ;
    +    long arg6 = (long) 0 ;
    +    wxValidator const &arg7_defvalue = wxDefaultValidator ;
    +    wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
    +    wxString const &arg8_defvalue = wxPyWebKitNameStr ;
    +    wxString *arg8 = (wxString *) &arg8_defvalue ;
    +    wxWebKitCtrl *result;
    +    bool temp3 = false ;
    +    wxPoint temp4 ;
    +    wxSize temp5 ;
    +    bool temp8 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    PyObject * obj3 = 0 ;
    +    PyObject * obj4 = 0 ;
    +    PyObject * obj5 = 0 ;
    +    PyObject * obj6 = 0 ;
    +    PyObject * obj7 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_WebKitCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if (obj1) {
    +        arg2 = (int)SWIG_As_int(obj1); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj2) {
    +        {
    +            arg3 = wxString_in_helper(obj2);
    +            if (arg3 == NULL) SWIG_fail;
    +            temp3 = true;
    +        }
    +    }
    +    if (obj3) {
    +        {
    +            arg4 = &temp4;
    +            if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
    +        }
    +    }
    +    if (obj4) {
    +        {
    +            arg5 = &temp5;
    +            if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
    +        }
    +    }
    +    if (obj5) {
    +        arg6 = (long)SWIG_As_long(obj5); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj6) {
    +        if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1)
    +        SWIG_fail;
    +        if (arg7 == NULL) {
    +            PyErr_SetString(PyExc_TypeError,"null reference");
    +            SWIG_fail;
    +        }
    +    }
    +    if (obj7) {
    +        {
    +            arg8 = wxString_in_helper(obj7);
    +            if (arg8 == NULL) SWIG_fail;
    +            temp8 = true;
    +        }
    +    }
    +    {
    +        if (!wxPyCheckForApp()) SWIG_fail;
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitCtrl *)new wxWebKitCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    {
    +        if (temp8)
    +        delete arg8;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    {
    +        if (temp8)
    +        delete arg8;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *result;
    +    char *kwnames[] = {
    +        NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWebKitCtrl",kwnames)) goto fail;
    +    {
    +        if (!wxPyCheckForApp()) SWIG_fail;
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitCtrl *)new wxWebKitCtrl();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxWindow *arg2 = (wxWindow *) 0 ;
    +    int arg3 = (int) -1 ;
    +    wxString const &arg4_defvalue = wxPyEmptyString ;
    +    wxString *arg4 = (wxString *) &arg4_defvalue ;
    +    wxPoint const &arg5_defvalue = wxDefaultPosition ;
    +    wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
    +    wxSize const &arg6_defvalue = wxDefaultSize ;
    +    wxSize *arg6 = (wxSize *) &arg6_defvalue ;
    +    long arg7 = (long) 0 ;
    +    wxValidator const &arg8_defvalue = wxDefaultValidator ;
    +    wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
    +    wxString const &arg9_defvalue = wxPyWebKitNameStr ;
    +    wxString *arg9 = (wxString *) &arg9_defvalue ;
    +    bool result;
    +    bool temp4 = false ;
    +    wxPoint temp5 ;
    +    wxSize temp6 ;
    +    bool temp9 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    PyObject * obj3 = 0 ;
    +    PyObject * obj4 = 0 ;
    +    PyObject * obj5 = 0 ;
    +    PyObject * obj6 = 0 ;
    +    PyObject * obj7 = 0 ;
    +    PyObject * obj8 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:WebKitCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if (obj2) {
    +        arg3 = (int)SWIG_As_int(obj2); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj3) {
    +        {
    +            arg4 = wxString_in_helper(obj3);
    +            if (arg4 == NULL) SWIG_fail;
    +            temp4 = true;
    +        }
    +    }
    +    if (obj4) {
    +        {
    +            arg5 = &temp5;
    +            if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
    +        }
    +    }
    +    if (obj5) {
    +        {
    +            arg6 = &temp6;
    +            if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
    +        }
    +    }
    +    if (obj6) {
    +        arg7 = (long)SWIG_As_long(obj6); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj7) {
    +        if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1)
    +        SWIG_fail;
    +        if (arg8 == NULL) {
    +            PyErr_SetString(PyExc_TypeError,"null reference");
    +            SWIG_fail;
    +        }
    +    }
    +    if (obj8) {
    +        {
    +            arg9 = wxString_in_helper(obj8);
    +            if (arg9 == NULL) SWIG_fail;
    +            temp9 = true;
    +        }
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    {
    +        if (temp4)
    +        delete arg4;
    +    }
    +    {
    +        if (temp9)
    +        delete arg9;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp4)
    +        delete arg4;
    +    }
    +    {
    +        if (temp9)
    +        delete arg9;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString *arg2 = 0 ;
    +    bool temp2 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "url", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitCtrl_LoadURL",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->LoadURL((wxString const &)*arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoBack",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGoBack();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoForward",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGoForward();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoBack",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->GoBack();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoForward",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->GoForward();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Reload",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->Reload();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Stop",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->Stop();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGetPageSource",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGetPageSource();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GetPageSource",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (arg1)->GetPageSource();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +#if wxUSE_UNICODE
    +        resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
    +#else
    +        resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
    +#endif
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString *arg2 = 0 ;
    +    wxString const &arg3_defvalue = wxPyEmptyString ;
    +    wxString *arg3 = (wxString *) &arg3_defvalue ;
    +    bool temp2 = false ;
    +    bool temp3 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "source",(char *) "baseUrl", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:WebKitCtrl_SetPageSource",kwnames,&obj0,&obj1,&obj2)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    if (obj2) {
    +        {
    +            arg3 = wxString_in_helper(obj2);
    +            if (arg3 == NULL) SWIG_fail;
    +            temp3 = true;
    +        }
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetPageSource(*arg2,(wxString const &)*arg3);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject * WebKitCtrl_swigregister(PyObject *, PyObject *args) {
    +    PyObject *obj;
    +    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
    +    SWIG_TypeClientData(SWIGTYPE_p_wxWebKitCtrl, obj);
    +    Py_INCREF(obj);
    +    return Py_BuildValue((char *)"");
    +}
    +static PyObject *_wrap_new_WebKitStateChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWindow *arg1 = (wxWindow *) NULL ;
    +    wxWebKitStateChangedEvent *result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "win", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WebKitStateChangedEvent",kwnames,&obj0)) goto fail;
    +    if (obj0) {
    +        if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitStateChangedEvent *)new wxWebKitStateChangedEvent(arg1);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitStateChangedEvent, 1);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    int result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitStateChangedEvent_GetState",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (int)(arg1)->GetState();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_From_int((int)result);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    int arg2 ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "state", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitStateChangedEvent_SetState",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    arg2 = (int)SWIG_As_int(obj1); 
    +    if (PyErr_Occurred()) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetState(arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    wxString result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitStateChangedEvent_GetURL",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (arg1)->GetURL();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +#if wxUSE_UNICODE
    +        resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
    +#else
    +        resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
    +#endif
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    wxString *arg2 = 0 ;
    +    bool temp2 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "url", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitStateChangedEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetURL((wxString const &)*arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject * WebKitStateChangedEvent_swigregister(PyObject *, PyObject *args) {
    +    PyObject *obj;
    +    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
    +    SWIG_TypeClientData(SWIGTYPE_p_wxWebKitStateChangedEvent, obj);
    +    Py_INCREF(obj);
    +    return Py_BuildValue((char *)"");
    +}
    +static PyMethodDef SwigMethods[] = {
    +	 { (char *)"new_WebKitCtrl", (PyCFunction) _wrap_new_WebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"new_PreWebKitCtrl", (PyCFunction) _wrap_new_PreWebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Create", (PyCFunction) _wrap_WebKitCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_LoadURL", (PyCFunction) _wrap_WebKitCtrl_LoadURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGoBack", (PyCFunction) _wrap_WebKitCtrl_CanGoBack, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGoForward", (PyCFunction) _wrap_WebKitCtrl_CanGoForward, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GoBack", (PyCFunction) _wrap_WebKitCtrl_GoBack, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GoForward", (PyCFunction) _wrap_WebKitCtrl_GoForward, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Reload", (PyCFunction) _wrap_WebKitCtrl_Reload, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Stop", (PyCFunction) _wrap_WebKitCtrl_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGetPageSource", (PyCFunction) _wrap_WebKitCtrl_CanGetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GetPageSource", (PyCFunction) _wrap_WebKitCtrl_GetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_SetPageSource", (PyCFunction) _wrap_WebKitCtrl_SetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_swigregister", WebKitCtrl_swigregister, METH_VARARGS, NULL },
    +	 { (char *)"new_WebKitStateChangedEvent", (PyCFunction) _wrap_new_WebKitStateChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_GetState", (PyCFunction) _wrap_WebKitStateChangedEvent_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_SetState", (PyCFunction) _wrap_WebKitStateChangedEvent_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_GetURL", (PyCFunction) _wrap_WebKitStateChangedEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_SetURL", (PyCFunction) _wrap_WebKitStateChangedEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_swigregister", WebKitStateChangedEvent_swigregister, METH_VARARGS, NULL },
    +	 { NULL, NULL, 0, NULL }
    +};
    +
    +
    +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
    +
    +static void *_p_wxWebKitCtrlTo_p_wxControl(void *x) {
    +    return (void *)((wxControl *)  ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
    +    return (void *)((wxControl *)  ((wxControlWithItems *) x));
    +}
    +static void *_p_wxControlTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *)  ((wxControl *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *) (wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *)  ((wxMenuBar *) x));
    +}
    +static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
    +}
    +static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
    +}
    +static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
    +}
    +static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
    +}
    +static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
    +}
    +static void *_p_wxSizerItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxSizerItem *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
    +}
    +static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxIndividualLayoutConstraint *) x));
    +}
    +static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
    +}
    +static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
    +}
    +static void *_p_wxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxSizer *) x));
    +}
    +static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxEvent *) x));
    +}
    +static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
    +}
    +static void *_p_wxGridSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
    +}
    +static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
    +}
    +static void *_p_wxPaintEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
    +}
    +static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
    +}
    +static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
    +}
    +static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
    +}
    +static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
    +}
    +static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxControlTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
    +}
    +static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
    +}
    +static void *_p_wxFSFileTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxFSFile *) x));
    +}
    +static void *_p_wxPySizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
    +}
    +static void *_p_wxPyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxShowEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
    +}
    +static void *_p_wxMenuItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxMenuItem *) x));
    +}
    +static void *_p_wxIdleEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
    +}
    +static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
    +}
    +static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
    +}
    +static void *_p_wxSizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
    +}
    +static void *_p_wxMoveEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
    +}
    +static void *_p_wxActivateEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
    +}
    +static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
    +}
    +static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
    +}
    +static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
    +}
    +static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
    +}
    +static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
    +}
    +static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
    +}
    +static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
    +}
    +static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
    +}
    +static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
    +}
    +static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
    +}
    +static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxImageHandler *) x));
    +}
    +static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
    +}
    +static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxEvtHandler *) x));
    +}
    +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxAcceleratorTable *) x));
    +}
    +static void *_p_wxImageTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxImage *) x));
    +}
    +static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
    +}
    +static void *_p_wxKeyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
    +}
    +static void *_p_wxWindowTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
    +}
    +static void *_p_wxMenuTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
    +}
    +static void *_p_wxFileSystemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxFileSystem *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxMenuEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
    +}
    +static void *_p_wxPyAppTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
    +}
    +static void *_p_wxCloseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
    +}
    +static void *_p_wxMouseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
    +}
    +static void *_p_wxEraseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
    +}
    +static void *_p_wxCommandEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
    +}
    +static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
    +}
    +static void *_p_wxFocusEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
    +}
    +static void *_p_wxValidatorTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMenuEvent *) x));
    +}
    +static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxCloseEvent *) x));
    +}
    +static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMouseEvent *) x));
    +}
    +static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxEraseEvent *) x));
    +}
    +static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSetCursorEvent *) x));
    +}
    +static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxInitDialogEvent *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
    +}
    +static void *_p_wxPyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPyEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxIdleEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxQueryNewPaletteEvent *) x));
    +}
    +static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMaximizeEvent *) x));
    +}
    +static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxIconizeEvent *) x));
    +}
    +static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxActivateEvent *) x));
    +}
    +static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSizeEvent *) x));
    +}
    +static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMoveEvent *) x));
    +}
    +static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPaintEvent *) x));
    +}
    +static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxNcPaintEvent *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPaletteChangedEvent *) x));
    +}
    +static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxDisplayChangedEvent *) x));
    +}
    +static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMouseCaptureChangedEvent *) x));
    +}
    +static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSysColourChangedEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxDropFilesEvent *) x));
    +}
    +static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxFocusEvent *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxShowEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxShowEvent *) x));
    +}
    +static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxCommandEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxNavigationKeyEvent *) x));
    +}
    +static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxKeyEvent *) x));
    +}
    +static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxScrollWinEvent *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
    +    return (void *)((wxValidator *)  ((wxPyValidator *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxScrollEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxPyCommandEvent *) x));
    +}
    +static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWebKitCtrl[] = {{"_p_wxWebKitCtrl", 0, "wxWebKitCtrl *", 0, 0, 0, 0},{"_p_wxWebKitCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWebKitStateChangedEvent[] = {{"_p_wxWebKitStateChangedEvent", 0, "wxWebKitStateChangedEvent *", 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +
    +static swig_type_info *swig_types_initial[] = {
    +_swigt__p_wxControl, 
    +_swigt__p_wxWebKitCtrl, 
    +_swigt__p_wxWindow, 
    +_swigt__p_wxEvtHandler, 
    +_swigt__p_wxObject, 
    +_swigt__p_wxEvent, 
    +_swigt__p_char, 
    +_swigt__p_wxValidator, 
    +_swigt__p_wxWebKitStateChangedEvent, 
    +_swigt__p_wxCommandEvent, 
    +0
    +};
    +
    +
    +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
    +
    +static swig_const_info swig_const_table[] = {
    +{0, 0, 0, 0.0, 0, 0}};
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +#ifdef __cplusplus
    +extern "C"
    +#endif
    +SWIGEXPORT(void) SWIG_init(void) {
    +    static PyObject *SWIG_globals = 0; 
    +    static int       typeinit = 0;
    +    PyObject *m, *d;
    +    int       i;
    +    if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
    +    m = Py_InitModule((char *) SWIG_name, SwigMethods);
    +    d = PyModule_GetDict(m);
    +    
    +    if (!typeinit) {
    +        for (i = 0; swig_types_initial[i]; i++) {
    +            swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
    +        }
    +        typeinit = 1;
    +    }
    +    SWIG_InstallConstants(d,swig_const_table);
    +    
    +    PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
    +    SWIG_addvarlink(SWIG_globals,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get, _wrap_WebKitNameStr_set);
    +    PyDict_SetItemString(d,"WEBKIT_STATE_START", SWIG_From_int((int)wxWEBKIT_STATE_START));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int((int)wxWEBKIT_STATE_NEGOTIATING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_REDIRECTING", SWIG_From_int((int)wxWEBKIT_STATE_REDIRECTING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int((int)wxWEBKIT_STATE_TRANSFERRING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_STOP", SWIG_From_int((int)wxWEBKIT_STATE_STOP));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_FAILED", SWIG_From_int((int)wxWEBKIT_STATE_FAILED));
    +    PyDict_SetItemString(d, "wxEVT_WEBKIT_STATE_CHANGED", PyInt_FromLong(wxEVT_WEBKIT_STATE_CHANGED));
    +    
    +    
    +    
    +}
    +
    diff --git a/wxPython/src/msw/_core.py b/wxPython/src/msw/_core.py
    index e0c5934636..5b1c5ad043 100644
    --- a/wxPython/src/msw/_core.py
    +++ b/wxPython/src/msw/_core.py
    @@ -7691,8 +7691,8 @@ class Window(EvtHandler):
             ShouldInheritColours to return false, the colours will not be changed
             no matter what and only the font might.
     
    -        This rather complicated logic is necessary in order to accomodate the
    -        different usage scenarius. The most common one is when all default
    +        This rather complicated logic is necessary in order to accommodate the
    +        different usage scenarios. The most common one is when all default
             attributes are used and in this case, nothing should be inherited as
             in modern GUIs different controls use different fonts (and colours)
             than their siblings so they can't inherit the same value from the
    @@ -9513,7 +9513,7 @@ class Sizer(Object):
             """
             A convenience method for Show(item, False, recursive).
             """
    -        return self.Show(item, false, recursive)
    +        return self.Show(item, False, recursive)
     
         def ShowItems(*args, **kwargs):
             """
    diff --git a/wxPython/src/msw/webkit.py b/wxPython/src/msw/webkit.py
    new file mode 100644
    index 0000000000..0ad8c4742e
    --- /dev/null
    +++ b/wxPython/src/msw/webkit.py
    @@ -0,0 +1,136 @@
    +# This file was created automatically by SWIG.
    +# Don't modify this file, modify the SWIG interface instead.
    +
    +"""
    +wx.webkit.WebKitCtrl for Mac OSX.
    +"""
    +
    +import _webkit
    +
    +import _core
    +wx = _core 
    +__docfilter__ = wx.__DocFilter(globals()) 
    +class WebKitCtrl(_core.Control):
    +    def __repr__(self):
    +        return "<%s.%s; proxy of C++ wxWebKitCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
    +    def __init__(self, *args, **kwargs):
    +        """
    +        __init__(self, Window parent, int winID=-1, String strURL=EmptyString, 
    +            Point pos=DefaultPosition, Size size=DefaultSize, 
    +            long style=0, Validator validator=DefaultValidator, 
    +            String name=WebKitNameStr) -> WebKitCtrl
    +        """
    +        newobj = _webkit.new_WebKitCtrl(*args, **kwargs)
    +        self.this = newobj.this
    +        self.thisown = 1
    +        del newobj.thisown
    +        self._setOORInfo(self)
    +
    +    def Create(*args, **kwargs):
    +        """
    +        Create(self, Window parent, int winID=-1, String strURL=EmptyString, 
    +            Point pos=DefaultPosition, Size size=DefaultSize, 
    +            long style=0, Validator validator=DefaultValidator, 
    +            String name=WebKitNameStr) -> bool
    +        """
    +        return _webkit.WebKitCtrl_Create(*args, **kwargs)
    +
    +    def LoadURL(*args, **kwargs):
    +        """LoadURL(self, String url)"""
    +        return _webkit.WebKitCtrl_LoadURL(*args, **kwargs)
    +
    +    def CanGoBack(*args, **kwargs):
    +        """CanGoBack(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGoBack(*args, **kwargs)
    +
    +    def CanGoForward(*args, **kwargs):
    +        """CanGoForward(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGoForward(*args, **kwargs)
    +
    +    def GoBack(*args, **kwargs):
    +        """GoBack(self) -> bool"""
    +        return _webkit.WebKitCtrl_GoBack(*args, **kwargs)
    +
    +    def GoForward(*args, **kwargs):
    +        """GoForward(self) -> bool"""
    +        return _webkit.WebKitCtrl_GoForward(*args, **kwargs)
    +
    +    def Reload(*args, **kwargs):
    +        """Reload(self)"""
    +        return _webkit.WebKitCtrl_Reload(*args, **kwargs)
    +
    +    def Stop(*args, **kwargs):
    +        """Stop(self)"""
    +        return _webkit.WebKitCtrl_Stop(*args, **kwargs)
    +
    +    def CanGetPageSource(*args, **kwargs):
    +        """CanGetPageSource(self) -> bool"""
    +        return _webkit.WebKitCtrl_CanGetPageSource(*args, **kwargs)
    +
    +    def GetPageSource(*args, **kwargs):
    +        """GetPageSource(self) -> String"""
    +        return _webkit.WebKitCtrl_GetPageSource(*args, **kwargs)
    +
    +    def SetPageSource(*args, **kwargs):
    +        """SetPageSource(self, String source, String baseUrl=EmptyString)"""
    +        return _webkit.WebKitCtrl_SetPageSource(*args, **kwargs)
    +
    +
    +class WebKitCtrlPtr(WebKitCtrl):
    +    def __init__(self, this):
    +        self.this = this
    +        if not hasattr(self,"thisown"): self.thisown = 0
    +        self.__class__ = WebKitCtrl
    +_webkit.WebKitCtrl_swigregister(WebKitCtrlPtr)
    +cvar = _webkit.cvar
    +WebKitNameStr = cvar.WebKitNameStr
    +
    +def PreWebKitCtrl(*args, **kwargs):
    +    """PreWebKitCtrl() -> WebKitCtrl"""
    +    val = _webkit.new_PreWebKitCtrl(*args, **kwargs)
    +    val.thisown = 1
    +    return val
    +
    +WEBKIT_STATE_START = _webkit.WEBKIT_STATE_START
    +WEBKIT_STATE_NEGOTIATING = _webkit.WEBKIT_STATE_NEGOTIATING
    +WEBKIT_STATE_REDIRECTING = _webkit.WEBKIT_STATE_REDIRECTING
    +WEBKIT_STATE_TRANSFERRING = _webkit.WEBKIT_STATE_TRANSFERRING
    +WEBKIT_STATE_STOP = _webkit.WEBKIT_STATE_STOP
    +WEBKIT_STATE_FAILED = _webkit.WEBKIT_STATE_FAILED
    +wxEVT_WEBKIT_STATE_CHANGED = _webkit.wxEVT_WEBKIT_STATE_CHANGED
    +class WebKitStateChangedEvent(_core.CommandEvent):
    +    def __repr__(self):
    +        return "<%s.%s; proxy of C++ wxWebKitStateChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
    +    def __init__(self, *args, **kwargs):
    +        """__init__(self, Window win=None) -> WebKitStateChangedEvent"""
    +        newobj = _webkit.new_WebKitStateChangedEvent(*args, **kwargs)
    +        self.this = newobj.this
    +        self.thisown = 1
    +        del newobj.thisown
    +    def GetState(*args, **kwargs):
    +        """GetState(self) -> int"""
    +        return _webkit.WebKitStateChangedEvent_GetState(*args, **kwargs)
    +
    +    def SetState(*args, **kwargs):
    +        """SetState(self, int state)"""
    +        return _webkit.WebKitStateChangedEvent_SetState(*args, **kwargs)
    +
    +    def GetURL(*args, **kwargs):
    +        """GetURL(self) -> String"""
    +        return _webkit.WebKitStateChangedEvent_GetURL(*args, **kwargs)
    +
    +    def SetURL(*args, **kwargs):
    +        """SetURL(self, String url)"""
    +        return _webkit.WebKitStateChangedEvent_SetURL(*args, **kwargs)
    +
    +
    +class WebKitStateChangedEventPtr(WebKitStateChangedEvent):
    +    def __init__(self, this):
    +        self.this = this
    +        if not hasattr(self,"thisown"): self.thisown = 0
    +        self.__class__ = WebKitStateChangedEvent
    +_webkit.WebKitStateChangedEvent_swigregister(WebKitStateChangedEventPtr)
    +
    +EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED)
    +
    +
    diff --git a/wxPython/src/msw/webkit_wrap.cpp b/wxPython/src/msw/webkit_wrap.cpp
    new file mode 100644
    index 0000000000..956254cbb7
    --- /dev/null
    +++ b/wxPython/src/msw/webkit_wrap.cpp
    @@ -0,0 +1,1759 @@
    +/* ----------------------------------------------------------------------------
    + * This file was automatically generated by SWIG (http://www.swig.org).
    + * Version 1.3.22
    + * 
    + * This file is not intended to be easily readable and contains a number of 
    + * coding conventions designed to improve portability and efficiency. Do not make
    + * changes to this file unless you know what you are doing--modify the SWIG 
    + * interface file instead. 
    + * ----------------------------------------------------------------------------- */
    +
    +#define SWIGPYTHON
    +#define SWIG_NOINCLUDE
    +
    +#ifdef __cplusplus
    +template class SwigValueWrapper {
    +    T *tt;
    +public:
    +    SwigValueWrapper() : tt(0) { }
    +    SwigValueWrapper(const SwigValueWrapper& rhs) : tt(new T(*rhs.tt)) { }
    +    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    +    ~SwigValueWrapper() { delete tt; } 
    +    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    +    operator T&() const { return *tt; }
    +    T *operator&() { return tt; }
    +private:
    +    SwigValueWrapper& operator=(const SwigValueWrapper& rhs);
    +};                                                    
    +#endif
    +
    +
    +#include "Python.h"
    +
    +/*************************************************************** -*- c -*-
    + * python/precommon.swg
    + *
    + * Rename all exported symbols from common.swg, to avoid symbol
    + * clashes if multiple interpreters are included
    + *
    + ************************************************************************/
    +
    +#define SWIG_TypeRegister    SWIG_Python_TypeRegister
    +#define SWIG_TypeCheck       SWIG_Python_TypeCheck
    +#define SWIG_TypeCast        SWIG_Python_TypeCast
    +#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
    +#define SWIG_TypeName        SWIG_Python_TypeName
    +#define SWIG_TypePrettyName  SWIG_Python_TypePrettyName
    +#define SWIG_TypeQuery       SWIG_Python_TypeQuery
    +#define SWIG_TypeClientData  SWIG_Python_TypeClientData
    +#define SWIG_PackData        SWIG_Python_PackData 
    +#define SWIG_UnpackData      SWIG_Python_UnpackData 
    +
    +
    +/***********************************************************************
    + * common.swg for wxPython
    + *
    + * Include only the function prototypes and such from SWIG's common.swg,
    + * but not the runtime functions themselves.  This helps keep the
    + * wrapper files clean of unnecessary stuff that is in the libpy.c file
    + * anyway.
    + *
    + ************************************************************************/
    +
    +#include 
    +
    +#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
    +#  if defined(_MSC_VER) || defined(__GNUC__)
    +#    if defined(STATIC_LINKED)
    +#      define SWIGEXPORT(a) a
    +#      define SWIGIMPORT(a) extern a
    +#    else
    +#      define SWIGEXPORT(a) __declspec(dllexport) a
    +#      define SWIGIMPORT(a) extern a
    +#    endif
    +#  else
    +#    if defined(__BORLANDC__)
    +#      define SWIGEXPORT(a) a _export
    +#      define SWIGIMPORT(a) a _export
    +#    else
    +#      define SWIGEXPORT(a) a
    +#      define SWIGIMPORT(a) a
    +#    endif
    +#  endif
    +#else
    +#  define SWIGEXPORT(a) a
    +#  define SWIGIMPORT(a) a
    +#endif
    +
    +#ifdef SWIG_GLOBAL
    +#  define SWIGRUNTIME(a) SWIGEXPORT(a)
    +#else
    +#  define SWIGRUNTIME(a) static a
    +#endif
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +
    +typedef void *(*swig_converter_func)(void *);
    +typedef struct swig_type_info *(*swig_dycast_func)(void **);
    +
    +typedef struct swig_type_info {
    +  const char             *name;
    +  swig_converter_func     converter;
    +  const char             *str;
    +  void                   *clientdata;
    +  swig_dycast_func        dcast;
    +  struct swig_type_info  *next;
    +  struct swig_type_info  *prev;
    +} swig_type_info;
    +
    +
    +SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
    +SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info *, void *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
    +SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info *);
    +SWIGIMPORT(const char *)     SWIG_TypePrettyName(const swig_type_info *);
    +SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
    +SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info *, void *);
    +SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int);
    +SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int);
    +
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +
    +/***********************************************************************
    + * pyrun.swg for wxPython
    + *
    + * Include only the function prototypes and such from SWIG's pyrun.swg,
    + * but not the runtime functions themselves.  This helps keep the
    + * wrapper files clean of unnecessary stuff that is in the libpy.c file
    + * anyway.
    + *
    + ************************************************************************/
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +
    +#define SWIG_PY_INT     1
    +#define SWIG_PY_FLOAT   2
    +#define SWIG_PY_STRING  3
    +#define SWIG_PY_POINTER 4
    +#define SWIG_PY_BINARY  5
    +
    +/* Flags for pointer conversion */
    +
    +#define SWIG_POINTER_EXCEPTION     0x1
    +#define SWIG_POINTER_DISOWN        0x2
    +
    +/* Exception handling in wrappers */
    +#define SWIG_fail   goto fail
    +
    +/* Constant information structure */
    +typedef struct swig_const_info {
    +    int type;
    +    char *name;
    +    long lvalue;
    +    double dvalue;
    +    void   *pvalue;
    +    swig_type_info **ptype;
    +} swig_const_info;
    +
    +/* Common SWIG API */
    +#define SWIG_ConvertPtr(obj, pp, type, flags) \
    +  SWIG_Python_ConvertPtr(obj, pp, type, flags)
    +#define SWIG_NewPointerObj(p, type, flags) \
    +  SWIG_Python_NewPointerObj(p, type, flags)
    +#define SWIG_MustGetPtr(p, type, argnum, flags) \
    +  SWIG_Python_MustGetPtr(p, type, argnum, flags)
    + 
    +/* Python-specific SWIG API */
    +#define SWIG_newvarlink() \
    +  SWIG_Python_newvarlink()
    +#define SWIG_addvarlink(p, name, get_attr, set_attr) \
    +  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
    +#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
    +  SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
    +#define SWIG_NewPackedObj(ptr, sz, type) \
    +  SWIG_Python_NewPackedObj(ptr, sz, type)
    +#define SWIG_InstallConstants(d, constants) \
    +  SWIG_Python_InstallConstants(d, constants)
    +
    +typedef double (*py_objasdbl_conv)(PyObject *obj);
    +
    +SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
    +SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_newvarlink(void);
    +SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
    +SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
    +SWIGIMPORT(PyObject *)        SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
    +SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
    +
    +
    +/* Contract support */
    +
    +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +
    +
    +/* -------- TYPES TABLE (BEGIN) -------- */
    +
    +#define  SWIGTYPE_p_wxControl swig_types[0] 
    +#define  SWIGTYPE_p_wxWebKitCtrl swig_types[1] 
    +#define  SWIGTYPE_p_wxWindow swig_types[2] 
    +#define  SWIGTYPE_p_wxEvtHandler swig_types[3] 
    +#define  SWIGTYPE_p_wxObject swig_types[4] 
    +#define  SWIGTYPE_p_wxEvent swig_types[5] 
    +#define  SWIGTYPE_p_char swig_types[6] 
    +#define  SWIGTYPE_p_wxValidator swig_types[7] 
    +#define  SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[8] 
    +#define  SWIGTYPE_p_wxCommandEvent swig_types[9] 
    +static swig_type_info *swig_types[11];
    +
    +/* -------- TYPES TABLE (END) -------- */
    +
    +
    +/*-----------------------------------------------
    +              @(target):= _webkit.so
    +  ------------------------------------------------*/
    +#define SWIG_init    init_webkit
    +
    +#define SWIG_name    "_webkit"
    +
    +/* Auxiliar swig  macros that appear in the header */
    +
    +#define SWIG_OLDOBJ  1
    +#define SWIG_NEWOBJ  SWIG_OLDOBJ + 1
    +#define SWIG_PYSTR   SWIG_NEWOBJ + 1
    +
    +#ifdef __cplusplus
    +#define SWIGSTATICINLINE(a) static inline a
    +#define SWIGSTATIC(a) static a
    +#define swig_new_array(size,Type) (new Type[(size)])
    +#define swig_delete(cptr) delete cptr
    +#define swig_delete_array(cptr) delete[] cptr
    +#define swig_const_cast(a,Type) const_cast(a)
    +#define swig_static_cast(a,Type) static_cast(a)
    +#define swig_reinterpret_cast(a,Type) reinterpret_cast(a)
    +#define swig_new_copy(ptr,Type) (new Type(*ptr))
    +#define swig_numeric_cast(a,Type) static_cast(a)
    +
    +#else /* C case */
    +
    +#define SWIGSTATICINLINE(a) static a
    +#define SWIGSTATIC(a) static a
    +#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
    +#define swig_delete(cptr) free((char*)cptr)
    +#define swig_delete_array(cptr) free((char*)cptr)
    +#define swig_const_cast(a,Type) (Type)(a)
    +#define swig_static_cast(a,Type) (Type)(a)
    +#define swig_reinterpret_cast(a,Type) (Type)(a)
    +#define swig_numeric_cast(a,Type) (Type)(a)
    +#define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
    +
    +#endif /* __cplusplus */
    +
    +
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_signed_SS_char PyInt_FromLong
    +/*@@*/
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_unsigned_SS_char PyInt_FromLong
    +/*@@*/
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_short PyInt_FromLong
    +/*@@*/
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_unsigned_SS_short PyInt_FromLong
    +/*@@*/
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_int PyInt_FromLong
    +/*@@*/
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_long PyInt_FromLong
    +/*@@*/
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_float PyFloat_FromDouble
    +/*@@*/
    +/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
    +#define SWIG_From_double PyFloat_FromDouble
    +/*@@*/
    +
    +
    +
    +#include "wx/wxPython/wxPython.h"
    +#include "wx/wxPython/pyclasses.h"
    +#include "wx/wxPython/pyistream.h"
    +
    +#ifdef __WXMAC__  // avoid a bug in Carbon headers
    +#define scalb scalbn
    +#endif
    +
    +#if wxUSE_WEBKIT
    +#include "wx/html/webkit.h"
    +#endif
    +
    + static const wxString wxPyEmptyString(wxEmptyString); 
    + static const wxString wxPyWebKitNameStr(wxT("webkitctrl")); 
    +
    +#if !wxUSE_WEBKIT
    +// a dummy class for ports that don't have wxWebKitCtrl
    +class wxWebKitCtrl : public wxControl
    +{
    +public:
    +    wxWebKitCtrl(wxWindow *parent,
    +                 wxWindowID winID,
    +                 const wxString& strURL,
    +                 const wxPoint& pos = wxDefaultPosition,
    +                 const wxSize& size = wxDefaultSize, long style = 0,
    +                 const wxValidator& validator = wxDefaultValidator,
    +                 const wxString& name = wxPyWebKitNameStr)
    +    { wxPyRaiseNotImplemented(); }
    +
    +    wxWebKitCtrl() { wxPyRaiseNotImplemented(); }
    +    
    +    bool Create(wxWindow *parent,
    +                wxWindowID winID,
    +                const wxString& strURL,
    +                const wxPoint& pos = wxDefaultPosition,
    +                const wxSize& size = wxDefaultSize, long style = 0,
    +                const wxValidator& validator = wxDefaultValidator,
    +                const wxString& name = wxPyWebKitNameStr)
    +    { return false; }
    +
    +    void LoadURL(const wxString &url) {}
    +
    +    bool CanGoBack() { return false; }
    +    bool CanGoForward() { return false; }
    +    bool GoBack() { return false; }
    +    bool GoForward() { return false; }
    +    void Reload() {}
    +    void Stop() {}
    +    bool CanGetPageSource() { return false; }
    +    wxString GetPageSource() { return wxEmptyString; }
    +    void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString) {}
    +};
    +
    +
    +enum {
    +    wxWEBKIT_STATE_START = 0,
    +    wxWEBKIT_STATE_NEGOTIATING = 0,
    +    wxWEBKIT_STATE_REDIRECTING = 0,
    +    wxWEBKIT_STATE_TRANSFERRING = 0,
    +    wxWEBKIT_STATE_STOP = 0,
    +    wxWEBKIT_STATE_FAILED = 0,
    +
    +    wxEVT_WEBKIT_STATE_CHANGED = 0
    +};
    +
    +class wxWebKitStateChangedEvent : public wxCommandEvent
    +{
    +public:
    +    wxWebKitStateChangedEvent( wxWindow* win =  NULL )
    +    { wxPyRaiseNotImplemented(); }
    +
    +    int GetState() { return 0; }
    +    void SetState(const int state) {}
    +    wxString GetURL() { return wxEmptyString; }
    +    void SetURL(const wxString& url) {}
    +};
    +
    + 
    +#endif
    +
    +
    +#include 
    +
    +
    +SWIGSTATICINLINE(int)
    +  SWIG_CheckLongInRange(long value, long min_value, long max_value,
    +			const char *errmsg)
    +{
    +  if (value < min_value) {
    +    if (errmsg) {
    +      PyErr_Format(PyExc_OverflowError, 
    +		   "value %ld is less than '%s' minimum %ld", 
    +		   value, errmsg, min_value);
    +    }
    +    return 0;    
    +  } else if (value > max_value) {
    +    if (errmsg) {
    +      PyErr_Format(PyExc_OverflowError,
    +		   "value %ld is greater than '%s' maximum %ld", 
    +		   value, errmsg, max_value);
    +    }
    +    return 0;
    +  }
    +  return 1;
    +}
    +
    +
    +// See my_fragments.i
    +SWIGSTATICINLINE(int)
    +SWIG_AsVal_long(PyObject* obj, long* val)
    +{
    +    if (PyNumber_Check(obj)) {
    +        if (val) *val = PyInt_AsLong(obj);
    +        return 1;
    +    }
    +    else {
    +        PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
    +                                               obj->ob_type->tp_name);
    +        PyErr_SetObject(PyExc_TypeError, errmsg);
    +        Py_DECREF(errmsg);
    +    }
    +    return 0;
    +}
    +
    +
    +#if INT_MAX != LONG_MAX
    +SWIGSTATICINLINE(int)
    +  SWIG_AsVal_int(PyObject *obj, int *val)
    +{ 
    +  const char* errmsg = val ? "int" : 0;
    +  long v;
    +  if (SWIG_AsVal_long(obj, &v)) {
    +    if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
    +      if (val) *val = swig_numeric_cast(v, int);
    +      return 1;
    +    } else {
    +      return 0;
    +    }
    +  } else {
    +    PyErr_Clear();
    +  }
    +  if (val) {
    +    PyErr_SetString(PyExc_TypeError, "an int is expected");
    +  }
    +  return 0;    
    +}
    +#else
    +SWIGSTATICINLINE(int)
    +  SWIG_AsVal_int(PyObject *obj, int *val)
    +{
    +  return SWIG_AsVal_long(obj,(long*)val);
    +}
    +#endif
    +
    +
    +SWIGSTATICINLINE(int)
    +SWIG_As_int(PyObject* obj)
    +{
    +  int v;
    +  if (!SWIG_AsVal_int(obj, &v)) {
    +    /*
    +      this is needed to make valgrind/purify happier.  the other
    +      solution is throw an exception, but since this code should work
    +      with plain C ....
    +     */
    +    memset((void*)&v, 0, sizeof(int));
    +  }
    +  return v;
    +}
    +
    +
    +SWIGSTATICINLINE(long)
    +SWIG_As_long(PyObject* obj)
    +{
    +  long v;
    +  if (!SWIG_AsVal_long(obj, &v)) {
    +    /*
    +      this is needed to make valgrind/purify happier.  the other
    +      solution is throw an exception, but since this code should work
    +      with plain C ....
    +     */
    +    memset((void*)&v, 0, sizeof(long));
    +  }
    +  return v;
    +}
    +
    +  
    +SWIGSTATICINLINE(int)
    +SWIG_Check_int(PyObject* obj)
    +{
    +  return SWIG_AsVal_int(obj, (int*)0);
    +}
    +
    +  
    +SWIGSTATICINLINE(int)
    +SWIG_Check_long(PyObject* obj)
    +{
    +  return SWIG_AsVal_long(obj, (long*)0);
    +}
    +
    +#ifdef __cplusplus
    +extern "C" {
    +#endif
    +static int _wrap_WebKitNameStr_set(PyObject *) {
    +    PyErr_SetString(PyExc_TypeError,"Variable WebKitNameStr is read-only.");
    +    return 1;
    +}
    +
    +
    +static PyObject *_wrap_WebKitNameStr_get() {
    +    PyObject *pyobj;
    +    
    +    {
    +#if wxUSE_UNICODE
    +        pyobj = PyUnicode_FromWideChar((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
    +#else
    +        pyobj = PyString_FromStringAndSize((&wxPyWebKitNameStr)->c_str(), (&wxPyWebKitNameStr)->Len());
    +#endif
    +    }
    +    return pyobj;
    +}
    +
    +
    +static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWindow *arg1 = (wxWindow *) 0 ;
    +    int arg2 = (int) -1 ;
    +    wxString const &arg3_defvalue = wxPyEmptyString ;
    +    wxString *arg3 = (wxString *) &arg3_defvalue ;
    +    wxPoint const &arg4_defvalue = wxDefaultPosition ;
    +    wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
    +    wxSize const &arg5_defvalue = wxDefaultSize ;
    +    wxSize *arg5 = (wxSize *) &arg5_defvalue ;
    +    long arg6 = (long) 0 ;
    +    wxValidator const &arg7_defvalue = wxDefaultValidator ;
    +    wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
    +    wxString const &arg8_defvalue = wxPyWebKitNameStr ;
    +    wxString *arg8 = (wxString *) &arg8_defvalue ;
    +    wxWebKitCtrl *result;
    +    bool temp3 = false ;
    +    wxPoint temp4 ;
    +    wxSize temp5 ;
    +    bool temp8 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    PyObject * obj3 = 0 ;
    +    PyObject * obj4 = 0 ;
    +    PyObject * obj5 = 0 ;
    +    PyObject * obj6 = 0 ;
    +    PyObject * obj7 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_WebKitCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if (obj1) {
    +        arg2 = (int)SWIG_As_int(obj1); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj2) {
    +        {
    +            arg3 = wxString_in_helper(obj2);
    +            if (arg3 == NULL) SWIG_fail;
    +            temp3 = true;
    +        }
    +    }
    +    if (obj3) {
    +        {
    +            arg4 = &temp4;
    +            if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
    +        }
    +    }
    +    if (obj4) {
    +        {
    +            arg5 = &temp5;
    +            if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
    +        }
    +    }
    +    if (obj5) {
    +        arg6 = (long)SWIG_As_long(obj5); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj6) {
    +        if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1)
    +        SWIG_fail;
    +        if (arg7 == NULL) {
    +            PyErr_SetString(PyExc_TypeError,"null reference");
    +            SWIG_fail;
    +        }
    +    }
    +    if (obj7) {
    +        {
    +            arg8 = wxString_in_helper(obj7);
    +            if (arg8 == NULL) SWIG_fail;
    +            temp8 = true;
    +        }
    +    }
    +    {
    +        if (!wxPyCheckForApp()) SWIG_fail;
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitCtrl *)new wxWebKitCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    {
    +        if (temp8)
    +        delete arg8;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    {
    +        if (temp8)
    +        delete arg8;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *result;
    +    char *kwnames[] = {
    +        NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWebKitCtrl",kwnames)) goto fail;
    +    {
    +        if (!wxPyCheckForApp()) SWIG_fail;
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitCtrl *)new wxWebKitCtrl();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitCtrl, 1);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxWindow *arg2 = (wxWindow *) 0 ;
    +    int arg3 = (int) -1 ;
    +    wxString const &arg4_defvalue = wxPyEmptyString ;
    +    wxString *arg4 = (wxString *) &arg4_defvalue ;
    +    wxPoint const &arg5_defvalue = wxDefaultPosition ;
    +    wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
    +    wxSize const &arg6_defvalue = wxDefaultSize ;
    +    wxSize *arg6 = (wxSize *) &arg6_defvalue ;
    +    long arg7 = (long) 0 ;
    +    wxValidator const &arg8_defvalue = wxDefaultValidator ;
    +    wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
    +    wxString const &arg9_defvalue = wxPyWebKitNameStr ;
    +    wxString *arg9 = (wxString *) &arg9_defvalue ;
    +    bool result;
    +    bool temp4 = false ;
    +    wxPoint temp5 ;
    +    wxSize temp6 ;
    +    bool temp9 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    PyObject * obj3 = 0 ;
    +    PyObject * obj4 = 0 ;
    +    PyObject * obj5 = 0 ;
    +    PyObject * obj6 = 0 ;
    +    PyObject * obj7 = 0 ;
    +    PyObject * obj8 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "parent",(char *) "winID",(char *) "strURL",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:WebKitCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    if (obj2) {
    +        arg3 = (int)SWIG_As_int(obj2); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj3) {
    +        {
    +            arg4 = wxString_in_helper(obj3);
    +            if (arg4 == NULL) SWIG_fail;
    +            temp4 = true;
    +        }
    +    }
    +    if (obj4) {
    +        {
    +            arg5 = &temp5;
    +            if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
    +        }
    +    }
    +    if (obj5) {
    +        {
    +            arg6 = &temp6;
    +            if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
    +        }
    +    }
    +    if (obj6) {
    +        arg7 = (long)SWIG_As_long(obj6); 
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    if (obj7) {
    +        if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1)
    +        SWIG_fail;
    +        if (arg8 == NULL) {
    +            PyErr_SetString(PyExc_TypeError,"null reference");
    +            SWIG_fail;
    +        }
    +    }
    +    if (obj8) {
    +        {
    +            arg9 = wxString_in_helper(obj8);
    +            if (arg9 == NULL) SWIG_fail;
    +            temp9 = true;
    +        }
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    {
    +        if (temp4)
    +        delete arg4;
    +    }
    +    {
    +        if (temp9)
    +        delete arg9;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp4)
    +        delete arg4;
    +    }
    +    {
    +        if (temp9)
    +        delete arg9;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString *arg2 = 0 ;
    +    bool temp2 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "url", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitCtrl_LoadURL",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->LoadURL((wxString const &)*arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoBack",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGoBack();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGoForward",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGoForward();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoBack",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->GoBack();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GoForward",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->GoForward();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Reload",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->Reload();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_Stop",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->Stop();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    bool result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_CanGetPageSource",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (bool)(arg1)->CanGetPageSource();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +        resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitCtrl_GetPageSource",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (arg1)->GetPageSource();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +#if wxUSE_UNICODE
    +        resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
    +#else
    +        resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
    +#endif
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ;
    +    wxString *arg2 = 0 ;
    +    wxString const &arg3_defvalue = wxPyEmptyString ;
    +    wxString *arg3 = (wxString *) &arg3_defvalue ;
    +    bool temp2 = false ;
    +    bool temp3 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    PyObject * obj2 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "source",(char *) "baseUrl", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:WebKitCtrl_SetPageSource",kwnames,&obj0,&obj1,&obj2)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitCtrl,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    if (obj2) {
    +        {
    +            arg3 = wxString_in_helper(obj2);
    +            if (arg3 == NULL) SWIG_fail;
    +            temp3 = true;
    +        }
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetPageSource(*arg2,(wxString const &)*arg3);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    {
    +        if (temp3)
    +        delete arg3;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject * WebKitCtrl_swigregister(PyObject *, PyObject *args) {
    +    PyObject *obj;
    +    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
    +    SWIG_TypeClientData(SWIGTYPE_p_wxWebKitCtrl, obj);
    +    Py_INCREF(obj);
    +    return Py_BuildValue((char *)"");
    +}
    +static PyObject *_wrap_new_WebKitStateChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWindow *arg1 = (wxWindow *) NULL ;
    +    wxWebKitStateChangedEvent *result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "win", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WebKitStateChangedEvent",kwnames,&obj0)) goto fail;
    +    if (obj0) {
    +        if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
    +        SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (wxWebKitStateChangedEvent *)new wxWebKitStateChangedEvent(arg1);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWebKitStateChangedEvent, 1);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    int result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitStateChangedEvent_GetState",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (int)(arg1)->GetState();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    resultobj = SWIG_From_int((int)result);
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    int arg2 ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "state", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitStateChangedEvent_SetState",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    arg2 = (int)SWIG_As_int(obj1); 
    +    if (PyErr_Occurred()) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetState(arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    wxString result;
    +    PyObject * obj0 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WebKitStateChangedEvent_GetURL",kwnames,&obj0)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        result = (arg1)->GetURL();
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    {
    +#if wxUSE_UNICODE
    +        resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
    +#else
    +        resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
    +#endif
    +    }
    +    return resultobj;
    +    fail:
    +    return NULL;
    +}
    +
    +
    +static PyObject *_wrap_WebKitStateChangedEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
    +    PyObject *resultobj;
    +    wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ;
    +    wxString *arg2 = 0 ;
    +    bool temp2 = false ;
    +    PyObject * obj0 = 0 ;
    +    PyObject * obj1 = 0 ;
    +    char *kwnames[] = {
    +        (char *) "self",(char *) "url", NULL 
    +    };
    +    
    +    if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:WebKitStateChangedEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
    +    if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWebKitStateChangedEvent,
    +    SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
    +    {
    +        arg2 = wxString_in_helper(obj1);
    +        if (arg2 == NULL) SWIG_fail;
    +        temp2 = true;
    +    }
    +    {
    +        PyThreadState* __tstate = wxPyBeginAllowThreads();
    +        (arg1)->SetURL((wxString const &)*arg2);
    +        
    +        wxPyEndAllowThreads(__tstate);
    +        if (PyErr_Occurred()) SWIG_fail;
    +    }
    +    Py_INCREF(Py_None); resultobj = Py_None;
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return resultobj;
    +    fail:
    +    {
    +        if (temp2)
    +        delete arg2;
    +    }
    +    return NULL;
    +}
    +
    +
    +static PyObject * WebKitStateChangedEvent_swigregister(PyObject *, PyObject *args) {
    +    PyObject *obj;
    +    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
    +    SWIG_TypeClientData(SWIGTYPE_p_wxWebKitStateChangedEvent, obj);
    +    Py_INCREF(obj);
    +    return Py_BuildValue((char *)"");
    +}
    +static PyMethodDef SwigMethods[] = {
    +	 { (char *)"new_WebKitCtrl", (PyCFunction) _wrap_new_WebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"new_PreWebKitCtrl", (PyCFunction) _wrap_new_PreWebKitCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Create", (PyCFunction) _wrap_WebKitCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_LoadURL", (PyCFunction) _wrap_WebKitCtrl_LoadURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGoBack", (PyCFunction) _wrap_WebKitCtrl_CanGoBack, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGoForward", (PyCFunction) _wrap_WebKitCtrl_CanGoForward, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GoBack", (PyCFunction) _wrap_WebKitCtrl_GoBack, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GoForward", (PyCFunction) _wrap_WebKitCtrl_GoForward, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Reload", (PyCFunction) _wrap_WebKitCtrl_Reload, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_Stop", (PyCFunction) _wrap_WebKitCtrl_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_CanGetPageSource", (PyCFunction) _wrap_WebKitCtrl_CanGetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_GetPageSource", (PyCFunction) _wrap_WebKitCtrl_GetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_SetPageSource", (PyCFunction) _wrap_WebKitCtrl_SetPageSource, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitCtrl_swigregister", WebKitCtrl_swigregister, METH_VARARGS, NULL },
    +	 { (char *)"new_WebKitStateChangedEvent", (PyCFunction) _wrap_new_WebKitStateChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_GetState", (PyCFunction) _wrap_WebKitStateChangedEvent_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_SetState", (PyCFunction) _wrap_WebKitStateChangedEvent_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_GetURL", (PyCFunction) _wrap_WebKitStateChangedEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_SetURL", (PyCFunction) _wrap_WebKitStateChangedEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
    +	 { (char *)"WebKitStateChangedEvent_swigregister", WebKitStateChangedEvent_swigregister, METH_VARARGS, NULL },
    +	 { NULL, NULL, 0, NULL }
    +};
    +
    +
    +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
    +
    +static void *_p_wxWebKitCtrlTo_p_wxControl(void *x) {
    +    return (void *)((wxControl *)  ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
    +    return (void *)((wxControl *)  ((wxControlWithItems *) x));
    +}
    +static void *_p_wxControlTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *)  ((wxControl *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *) (wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
    +    return (void *)((wxWindow *)  ((wxMenuBar *) x));
    +}
    +static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
    +}
    +static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
    +}
    +static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
    +    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
    +}
    +static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
    +}
    +static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
    +}
    +static void *_p_wxSizerItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxSizerItem *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
    +}
    +static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxIndividualLayoutConstraint *) x));
    +}
    +static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
    +}
    +static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
    +}
    +static void *_p_wxSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxSizer *) x));
    +}
    +static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxEvent *) x));
    +}
    +static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
    +}
    +static void *_p_wxGridSizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
    +}
    +static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
    +}
    +static void *_p_wxPaintEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
    +}
    +static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
    +}
    +static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
    +}
    +static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
    +}
    +static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
    +}
    +static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxControlTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
    +}
    +static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
    +}
    +static void *_p_wxFSFileTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxFSFile *) x));
    +}
    +static void *_p_wxPySizerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
    +}
    +static void *_p_wxPyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxShowEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
    +}
    +static void *_p_wxMenuItemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxMenuItem *) x));
    +}
    +static void *_p_wxIdleEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
    +}
    +static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
    +}
    +static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
    +}
    +static void *_p_wxSizeEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
    +}
    +static void *_p_wxMoveEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
    +}
    +static void *_p_wxActivateEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
    +}
    +static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
    +}
    +static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
    +}
    +static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
    +}
    +static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
    +}
    +static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
    +}
    +static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
    +}
    +static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
    +}
    +static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
    +}
    +static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
    +}
    +static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
    +}
    +static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxImageHandler *) x));
    +}
    +static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
    +}
    +static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxEvtHandler *) x));
    +}
    +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxAcceleratorTable *) x));
    +}
    +static void *_p_wxImageTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxImage *) x));
    +}
    +static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
    +}
    +static void *_p_wxWebKitCtrlTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxWebKitCtrl *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
    +}
    +static void *_p_wxKeyEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
    +}
    +static void *_p_wxWindowTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
    +}
    +static void *_p_wxMenuTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
    +}
    +static void *_p_wxMenuBarTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
    +}
    +static void *_p_wxFileSystemTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *)  ((wxFileSystem *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxMenuEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
    +}
    +static void *_p_wxPyAppTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
    +}
    +static void *_p_wxCloseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
    +}
    +static void *_p_wxMouseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
    +}
    +static void *_p_wxEraseEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
    +}
    +static void *_p_wxCommandEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
    +}
    +static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
    +}
    +static void *_p_wxFocusEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
    +}
    +static void *_p_wxValidatorTo_p_wxObject(void *x) {
    +    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMenuEvent *) x));
    +}
    +static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxCloseEvent *) x));
    +}
    +static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMouseEvent *) x));
    +}
    +static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxEraseEvent *) x));
    +}
    +static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSetCursorEvent *) x));
    +}
    +static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxInitDialogEvent *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
    +}
    +static void *_p_wxPyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPyEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxIdleEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxQueryNewPaletteEvent *) x));
    +}
    +static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMaximizeEvent *) x));
    +}
    +static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxIconizeEvent *) x));
    +}
    +static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxActivateEvent *) x));
    +}
    +static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSizeEvent *) x));
    +}
    +static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMoveEvent *) x));
    +}
    +static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPaintEvent *) x));
    +}
    +static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxNcPaintEvent *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxPaletteChangedEvent *) x));
    +}
    +static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxDisplayChangedEvent *) x));
    +}
    +static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxMouseCaptureChangedEvent *) x));
    +}
    +static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxSysColourChangedEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxDropFilesEvent *) x));
    +}
    +static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxFocusEvent *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxShowEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxShowEvent *) x));
    +}
    +static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxCommandEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxNavigationKeyEvent *) x));
    +}
    +static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxKeyEvent *) x));
    +}
    +static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
    +    return (void *)((wxEvent *)  ((wxScrollWinEvent *) x));
    +}
    +static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
    +    return (void *)((wxValidator *)  ((wxPyValidator *) x));
    +}
    +static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxChildFocusEvent *) x));
    +}
    +static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxScrollEvent *) x));
    +}
    +static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWindowCreateEvent *) x));
    +}
    +static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
    +}
    +static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWindowDestroyEvent *) x));
    +}
    +static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxContextMenuEvent *) x));
    +}
    +static void *_p_wxWebKitStateChangedEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxWebKitStateChangedEvent *) x));
    +}
    +static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxNotifyEvent *) x));
    +}
    +static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
    +    return (void *)((wxCommandEvent *)  ((wxPyCommandEvent *) x));
    +}
    +static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWebKitCtrl[] = {{"_p_wxWebKitCtrl", 0, "wxWebKitCtrl *", 0, 0, 0, 0},{"_p_wxWebKitCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxWebKitStateChangedEvent[] = {{"_p_wxWebKitStateChangedEvent", 0, "wxWebKitStateChangedEvent *", 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
    +
    +static swig_type_info *swig_types_initial[] = {
    +_swigt__p_wxControl, 
    +_swigt__p_wxWebKitCtrl, 
    +_swigt__p_wxWindow, 
    +_swigt__p_wxEvtHandler, 
    +_swigt__p_wxObject, 
    +_swigt__p_wxEvent, 
    +_swigt__p_char, 
    +_swigt__p_wxValidator, 
    +_swigt__p_wxWebKitStateChangedEvent, 
    +_swigt__p_wxCommandEvent, 
    +0
    +};
    +
    +
    +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
    +
    +static swig_const_info swig_const_table[] = {
    +{0, 0, 0, 0.0, 0, 0}};
    +
    +#ifdef __cplusplus
    +}
    +#endif
    +
    +#ifdef __cplusplus
    +extern "C"
    +#endif
    +SWIGEXPORT(void) SWIG_init(void) {
    +    static PyObject *SWIG_globals = 0; 
    +    static int       typeinit = 0;
    +    PyObject *m, *d;
    +    int       i;
    +    if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
    +    m = Py_InitModule((char *) SWIG_name, SwigMethods);
    +    d = PyModule_GetDict(m);
    +    
    +    if (!typeinit) {
    +        for (i = 0; swig_types_initial[i]; i++) {
    +            swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
    +        }
    +        typeinit = 1;
    +    }
    +    SWIG_InstallConstants(d,swig_const_table);
    +    
    +    PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
    +    SWIG_addvarlink(SWIG_globals,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get, _wrap_WebKitNameStr_set);
    +    PyDict_SetItemString(d,"WEBKIT_STATE_START", SWIG_From_int((int)wxWEBKIT_STATE_START));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int((int)wxWEBKIT_STATE_NEGOTIATING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_REDIRECTING", SWIG_From_int((int)wxWEBKIT_STATE_REDIRECTING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int((int)wxWEBKIT_STATE_TRANSFERRING));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_STOP", SWIG_From_int((int)wxWEBKIT_STATE_STOP));
    +    PyDict_SetItemString(d,"WEBKIT_STATE_FAILED", SWIG_From_int((int)wxWEBKIT_STATE_FAILED));
    +    PyDict_SetItemString(d, "wxEVT_WEBKIT_STATE_CHANGED", PyInt_FromLong(wxEVT_WEBKIT_STATE_CHANGED));
    +    
    +    
    +    
    +}
    +
    diff --git a/wxPython/src/webkit.i b/wxPython/src/webkit.i
    new file mode 100644
    index 0000000000..92eb49e72c
    --- /dev/null
    +++ b/wxPython/src/webkit.i
    @@ -0,0 +1,201 @@
    +/////////////////////////////////////////////////////////////////////////////
    +// Name:        webkit.i
    +// Purpose:     Embedding Apple's WebKit in wxWidgets
    +//
    +// Author:      Robin Dunn / Kevin Ollivier
    +//
    +// Created:     18-Oct-2004
    +// RCS-ID:      $Id$
    +// Copyright:   (c) 2004 by Total Control Software
    +// Licence:     wxWindows license
    +/////////////////////////////////////////////////////////////////////////////
    +
    +%define DOCSTRING
    +"wx.webkit.WebKitCtrl for Mac OSX."
    +%enddef
    +
    +%module(package="wx", docstring=DOCSTRING) webkit
    +
    +%{
    +
    +#include "wx/wxPython/wxPython.h"
    +#include "wx/wxPython/pyclasses.h"
    +#include "wx/wxPython/pyistream.h"
    +
    +#ifdef __WXMAC__  // avoid a bug in Carbon headers
    +#define scalb scalbn
    +#endif
    +
    +#if wxUSE_WEBKIT
    +#include "wx/html/webkit.h"
    +#endif
    +%}
    +
    +//---------------------------------------------------------------------------
    +
    +%import core.i
    +%pythoncode { wx = _core }
    +%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
    +
    +
    +%include _webkit_rename.i
    +
    +//---------------------------------------------------------------------------
    +
    +// Put some wx default wxChar* values into wxStrings.
    +MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
    +MAKE_CONST_WXSTRING2(WebKitNameStr, wxT("webkitctrl"))
    +
    +
    +
    +    
    +%{
    +#if !wxUSE_WEBKIT
    +// a dummy class for ports that don't have wxWebKitCtrl
    +class wxWebKitCtrl : public wxControl
    +{
    +public:
    +    wxWebKitCtrl(wxWindow *parent,
    +                 wxWindowID winID,
    +                 const wxString& strURL,
    +                 const wxPoint& pos = wxDefaultPosition,
    +                 const wxSize& size = wxDefaultSize, long style = 0,
    +                 const wxValidator& validator = wxDefaultValidator,
    +                 const wxString& name = wxPyWebKitNameStr)
    +    { wxPyRaiseNotImplemented(); }
    +
    +    wxWebKitCtrl() { wxPyRaiseNotImplemented(); }
    +    
    +    bool Create(wxWindow *parent,
    +                wxWindowID winID,
    +                const wxString& strURL,
    +                const wxPoint& pos = wxDefaultPosition,
    +                const wxSize& size = wxDefaultSize, long style = 0,
    +                const wxValidator& validator = wxDefaultValidator,
    +                const wxString& name = wxPyWebKitNameStr)
    +    { return false; }
    +
    +    void LoadURL(const wxString &url) {}
    +
    +    bool CanGoBack() { return false; }
    +    bool CanGoForward() { return false; }
    +    bool GoBack() { return false; }
    +    bool GoForward() { return false; }
    +    void Reload() {}
    +    void Stop() {}
    +    bool CanGetPageSource() { return false; }
    +    wxString GetPageSource() { return wxEmptyString; }
    +    void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString) {}
    +};
    +
    +
    +enum {
    +    wxWEBKIT_STATE_START = 0,
    +    wxWEBKIT_STATE_NEGOTIATING = 0,
    +    wxWEBKIT_STATE_REDIRECTING = 0,
    +    wxWEBKIT_STATE_TRANSFERRING = 0,
    +    wxWEBKIT_STATE_STOP = 0,
    +    wxWEBKIT_STATE_FAILED = 0,
    +
    +    wxEVT_WEBKIT_STATE_CHANGED = 0
    +};
    +
    +class wxWebKitStateChangedEvent : public wxCommandEvent
    +{
    +public:
    +    wxWebKitStateChangedEvent( wxWindow* win =  NULL )
    +    { wxPyRaiseNotImplemented(); }
    +
    +    int GetState() { return 0; }
    +    void SetState(const int state) {}
    +    wxString GetURL() { return wxEmptyString; }
    +    void SetURL(const wxString& url) {}
    +};
    +
    + 
    +#endif
    +%}
    +
    +// Now define it for SWIG, usign either the real class or the dummy above.
    +
    +MustHaveApp(wxWebKitCtrl);
    +
    +class wxWebKitCtrl : public wxControl
    +{
    +public:
    +    %pythonAppend wxWebKitCtrl         "self._setOORInfo(self)"
    +    %pythonAppend wxWebKitCtrl()       ""
    +    
    +    wxWebKitCtrl(wxWindow *parent,
    +                    wxWindowID winID = -1,
    +                    const wxString& strURL = wxPyEmptyString,
    +                    const wxPoint& pos = wxDefaultPosition,
    +                    const wxSize& size = wxDefaultSize, long style = 0,
    +                    const wxValidator& validator = wxDefaultValidator,
    +                    const wxString& name = wxPyWebKitNameStr);
    +
    +    %name(PreWebKitCtrl)wxWebKitCtrl();
    +
    +    
    +    bool Create(wxWindow *parent,
    +                wxWindowID winID = -1,
    +                const wxString& strURL = wxPyEmptyString,
    +                const wxPoint& pos = wxDefaultPosition,
    +                const wxSize& size = wxDefaultSize, long style = 0,
    +                const wxValidator& validator = wxDefaultValidator,
    +                const wxString& name = wxPyWebKitNameStr);
    +
    +    void LoadURL(const wxString &url);
    +
    +    bool CanGoBack();
    +    bool CanGoForward();
    +    bool GoBack();
    +    bool GoForward();
    +    void Reload();
    +    void Stop();
    +    bool CanGetPageSource();
    +    wxString GetPageSource();
    +    void SetPageSource(wxString& source, const wxString& baseUrl = wxPyEmptyString);
    +};
    +
    +
    +//---------------------------------------------------------------------------
    +
    +
    +enum {
    +    wxWEBKIT_STATE_START,
    +    wxWEBKIT_STATE_NEGOTIATING,
    +    wxWEBKIT_STATE_REDIRECTING,
    +    wxWEBKIT_STATE_TRANSFERRING,
    +    wxWEBKIT_STATE_STOP,
    +    wxWEBKIT_STATE_FAILED,
    +};
    +
    +
    +%constant wxEventType wxEVT_WEBKIT_STATE_CHANGED;
    +
    +
    +class wxWebKitStateChangedEvent : public wxCommandEvent
    +{
    +public:
    +    wxWebKitStateChangedEvent( wxWindow* win =  NULL );
    +
    +    int GetState();
    +    void SetState(const int state);
    +    wxString GetURL();
    +    void SetURL(const wxString& url);
    +};
    +
    +
    +%pythoncode %{
    +    EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED)
    +%}
    +
    +
    +//---------------------------------------------------------------------------
    +
    +%init %{
    +
    +%}
    +
    +//---------------------------------------------------------------------------
    diff --git a/wxPython/wx/lib/analogclock.py b/wxPython/wx/lib/analogclock.py
    index 428cc27989..72a21e7957 100644
    --- a/wxPython/wx/lib/analogclock.py
    +++ b/wxPython/wx/lib/analogclock.py
    @@ -136,7 +136,8 @@ class AnalogClockWindow(wx.PyWindow):
     
         def OnPaint(self, event):
             dc = wx.BufferedPaintDC(self)
    -        self._doDrawHands(dc, True)
    +        if hasattr(self, 'coords'):
    +            self._doDrawHands(dc, True)
     
     
         def OnTimerExpire(self, event):
    diff --git a/wxPython/wx/lib/gridmovers.py b/wxPython/wx/lib/gridmovers.py
    index 1bd462ceaf..66fb28618d 100644
    --- a/wxPython/wx/lib/gridmovers.py
    +++ b/wxPython/wx/lib/gridmovers.py
    @@ -74,7 +74,7 @@ def _ColToRect(self,col):
         if self.GetNumberRows() > 0:
             rect = self.CellToRect(0,col)
         else:
    -        rect = wxRect()
    +        rect = wx.Rect()
             rect.height = self.GetColLabelSize()
             rect.width = self.GetColSize(col)
     
    @@ -91,7 +91,7 @@ def _RowToRect(self,row):
         if self.GetNumberCols() > 0:
             rect = self.CellToRect(row,0)
         else:
    -        rect = wxRect()
    +        rect = wx.Rect()
             rect.width = self.GetRowLabelSize()
             rect.height = self.GetRowSize(row)
     
    diff --git a/wxPython/wx/lib/masked/maskededit.py b/wxPython/wx/lib/masked/maskededit.py
    index 088ec62fc1..561719dc93 100644
    --- a/wxPython/wx/lib/masked/maskededit.py
    +++ b/wxPython/wx/lib/masked/maskededit.py
    @@ -5622,7 +5622,7 @@ class MaskedEditMixin:
                     and sel_to >= edit_end
                     and not self._GetValue()[edit_start:sel_start].strip() ):
                     # text won't fit within selection, but left of selection is empty;
    -                # check to see if we can expand selection to accomodate the value:
    +                # check to see if we can expand selection to accommodate the value:
                     empty_space = sel_start - edit_start
                     amount_needed = len(paste_text) - (sel_to - sel_start)
                     if amount_needed <= empty_space:
    diff --git a/wxPython/wx/lib/mixins/listctrl.py b/wxPython/wx/lib/mixins/listctrl.py
    index 77e49112de..3e5c73a802 100644
    --- a/wxPython/wx/lib/mixins/listctrl.py
    +++ b/wxPython/wx/lib/mixins/listctrl.py
    @@ -17,7 +17,15 @@
     # 12/21/2003 - Jeff Grimmett (grimmtooth@softhome.net)
     #
     # o wxColumnSorterMixin -> ColumnSorterMixin 
    -# o wxListCtrlAutoWidthMixin -> ListCtrlAutoWidthMixin 
    +# o wxListCtrlAutoWidthMixin -> ListCtrlAutoWidthMixin
    +# ...
    +# 13/10/2004 - Pim Van Heuven (pim@think-wize.com)
    +# o wxTextEditMixin: Support Horizontal scrolling when TAB is pressed on long
    +#       ListCtrls, support for WXK_DOWN, WXK_UP, performance improvements on
    +#       very long ListCtrls, Support for virtual ListCtrls
    +#
    +# 15-Oct-2004 - Robin Dunn
    +# o wxTextEditMixin: Added Shift-TAB support
     #
     
     import  locale
    @@ -374,22 +382,35 @@ class TextEditMixin:
             #editor = wx.TextCtrl(self, -1, pos=(-1,-1), size=(-1,-1),
             #                     style=wx.TE_PROCESS_ENTER|wx.TE_PROCESS_TAB \
             #                     |wx.TE_RICH2)
    +
    +        self.make_editor()
    +        self.Bind(wx.EVT_TEXT_ENTER, self.CloseEditor)
    +        self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown)
    +        self.Bind(wx.EVT_LEFT_DCLICK, self.OnLeftDown)
    +        self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnItemSelected)
    +
    +
    +    def make_editor(self, col_style=wx.LIST_FORMAT_LEFT):
             editor = wx.PreTextCtrl()
    -        editor.Hide()
    -        editor.Create(self, -1, style=wx.TE_PROCESS_ENTER|wx.TE_PROCESS_TAB|wx.TE_RICH2)
    +        
    +        style =wx.TE_PROCESS_ENTER|wx.TE_PROCESS_TAB|wx.TE_RICH2
    +        style |= {wx.LIST_FORMAT_LEFT: wx.TE_LEFT, wx.LIST_FORMAT_RIGHT: wx.TE_RIGHT, wx.LIST_FORMAT_CENTRE : wx.TE_CENTRE}[col_style]
    +        
    +        editor.Create(self, -1, style=style)
             editor.SetBackgroundColour(wx.Colour(red=255,green=255,blue=175)) #Yellow
             font = self.GetFont()
             editor.SetFont(font)
     
    +        self.curRow = 0
    +        self.curCol = 0
    +
    +        editor.Hide()
             self.editor = editor
    -        self.Bind(wx.EVT_TEXT_ENTER, self.CloseEditor)
    +
    +        self.col_style = col_style
             self.editor.Bind(wx.EVT_CHAR, self.OnChar)
             self.editor.Bind(wx.EVT_KILL_FOCUS, self.CloseEditor)
    -        self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown)
    -        self.Bind(wx.EVT_LEFT_DCLICK, self.OnLeftDown)
    -        self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnItemSelected)
    -        self.curRow = -1
    -
    +        
             
         def OnItemSelected(self, evt):
             self.curRow = evt.GetIndex()
    @@ -397,11 +418,35 @@ class TextEditMixin:
             
     
         def OnChar(self, event):
    -        ''' Catch the TAB key code so we can open the editor at the next column (if any).'''
    -        if event.GetKeyCode() == wx.WXK_TAB:
    +        ''' Catch the TAB, Shift-TAB, cursor DOWN/UP key code
    +            so we can open the editor at the next column (if any).'''
    +
    +        keycode = event.GetKeyCode()
    +        if keycode == wx.WXK_TAB and event.ShiftDown():
    +            self.CloseEditor()
    +            if self.curCol-1 >= 0:
    +                self.OpenEditor(self.curCol-1, self.curRow)
    +            
    +        elif keycode == wx.WXK_TAB:
                 self.CloseEditor()
                 if self.curCol+1 < self.GetColumnCount():
                     self.OpenEditor(self.curCol+1, self.curRow)
    +
    +        elif keycode == wx.WXK_ESCAPE:
    +            self.CloseEditor()
    +
    +        elif keycode == wx.WXK_DOWN:
    +            self.CloseEditor()
    +            if self.curRow+1 < self.GetItemCount():
    +                self._SelectIndex(self.curRow+1)
    +                self.OpenEditor(self.curCol, self.curRow)
    +
    +        elif keycode == wx.WXK_UP:
    +            self.CloseEditor()
    +            if self.curRow > 0:
    +                self._SelectIndex(self.curRow-1)
    +                self.OpenEditor(self.curCol, self.curRow)
    +            
             else:
                 event.Skip()
     
    @@ -431,21 +476,50 @@ class TextEditMixin:
             for n in range(self.GetColumnCount()):
                 loc = loc + self.GetColumnWidth(n)
                 self.col_locs.append(loc)
    +
             
    -        col = bisect(self.col_locs, x) - 1
    +        col = bisect(self.col_locs, x+self.GetScrollPos(wx.HORIZONTAL)) - 1
             self.OpenEditor(col, row)
     
     
         def OpenEditor(self, col, row):
             ''' Opens an editor at the current position. '''
    +
    +        if self.GetColumn(col).m_format != self.col_style:
    +            self.make_editor(self.GetColumn(col).m_format)
         
             x0 = self.col_locs[col]
             x1 = self.col_locs[col+1] - x0
     
    +        scrolloffset = self.GetScrollPos(wx.HORIZONTAL)
    +
    +        # scroll foreward
    +        if x0+x1-scrolloffset > self.GetSize()[0]:
    +            if wx.Platform == "__WXMSW__":
    +                # don't start scrolling unless we really need to
    +                offset = x0+x1-self.GetSize()[0]-scrolloffset
    +                # scroll a bit more than what is minimum required
    +                # so we don't have to scroll everytime the user presses TAB
    +                # which is very tireing to the eye
    +                addoffset = self.GetSize()[0]/4
    +                # but be careful at the end of the list
    +                if addoffset + scrolloffset < self.GetSize()[0]:
    +                    offset += addoffset
    +
    +                self.ScrollList(offset, 0)
    +                scrolloffset = self.GetScrollPos(wx.HORIZONTAL)
    +            else:
    +                # Since we can not programmatically scroll the ListCtrl
    +                # close the editor so the user can scroll and open the editor
    +                # again
    +                self.CloseEditor()
    +                return
    +
             y0 = self.GetItemRect(row)[1]
             
             editor = self.editor
    -        editor.SetDimensions(x0,y0, x1,-1)
    +        editor.SetDimensions(x0-scrolloffset,y0, x1,-1)
    +        
             editor.SetValue(self.GetItem(row, col).GetText()) 
             editor.Show()
             editor.Raise()
    @@ -460,7 +534,26 @@ class TextEditMixin:
             ''' Close the editor and save the new value to the ListCtrl. '''
             text = self.editor.GetValue()
             self.editor.Hide()
    -        self.SetStringItem(self.curRow, self.curCol, text)
    +        if self.IsVirtual():
    +            # replace by whather you use to populate the virtual ListCtrl
    +            # data source
    +            self.SetVirtualData(self.curRow, self.curCol, text)
    +        else:
    +            self.SetStringItem(self.curRow, self.curCol, text)
    +        self.RefreshItem(self.curRow)
    +
    +    def _SelectIndex(self, row):
    +        listlen = self.GetItemCount()
    +        if row < 0 and not listlen:
    +            return
    +        if row > (listlen-1):
    +            row = listlen -1
    +            
    +        self.SetItemState(self.curRow, ~wx.LIST_STATE_SELECTED,
    +                          wx.LIST_STATE_SELECTED)
    +        self.EnsureVisible(row)
    +        self.SetItemState(row, wx.LIST_STATE_SELECTED,
    +                          wx.LIST_STATE_SELECTED)
     
     
     
    diff --git a/wxPython/wx/lib/ogl/_basic.py b/wxPython/wx/lib/ogl/_basic.py
    index a08bd9ac65..bef03241e6 100644
    --- a/wxPython/wx/lib/ogl/_basic.py
    +++ b/wxPython/wx/lib/ogl/_basic.py
    @@ -1797,15 +1797,15 @@ class Shape(ShapeEvtHandler):
                 dc.SetBrush(wx.BLACK_BRUSH)
     
             # Draw neck
    -        dc.DrawLine(root, neck)
    +        dc.DrawLine(root[0], root[1], neck[0], neck[1])
     
             if count > 1:
                 # Draw shoulder-to-shoulder line
    -            dc.DrawLine(shoulder1, shoulder2)
    +            dc.DrawLine(shoulder1[0], shoulder1[1], shoulder2[0], shoulder2[1])
             # Draw all the little branches
             for i in range(count):
                 pt, stemPt = self.GetBranchingAttachmentPoint(attachment, i)
    -            dc.DrawLine(stemPt, pt)
    +            dc.DrawLine(stemPt[0], stemPt[1], pt[0], pt[1])
     
                 if self.GetBranchStyle() & BRANCHING_ATTACHMENT_BLOB and count > 1:
                     blobSize = 6.0
    diff --git a/wxPython/wx/lib/ogl/_lines.py b/wxPython/wx/lib/ogl/_lines.py
    index c20e9ac2ea..80fccc8c09 100644
    --- a/wxPython/wx/lib/ogl/_lines.py
    +++ b/wxPython/wx/lib/ogl/_lines.py
    @@ -297,6 +297,10 @@ class LineShape(Shape):
                 point = wx.RealPoint(-999, -999)
                 self._lineControlPoints.append(point)
     
    +        # pi: added _initialised to keep track of when we have set
    +        # the middle points to something other than (-999, -999)
    +        self._initialised = False
    +        
         def InsertLineControlPoint(self, dc = None):
             """Insert a control point at an arbitrary position."""
             if dc:
    @@ -346,6 +350,7 @@ class LineShape(Shape):
                             y2 = first_point[1]
                             y1 = last_point[1]
                         self._lineControlPoints[i] = wx.RealPoint((x2 - x1) / 2.0 + x1, (y2 - y1) / 2.0 + y1)
    +                    self._initialised = True
                         
         def FormatText(self, dc, s, i):
             """Format a text string according to the region size, adding
    @@ -503,7 +508,7 @@ class LineShape(Shape):
             first_point = self._lineControlPoints[0]
             last_point = self._lineControlPoints[-1]
     
    -        return (first_point[0], first_point[1]), (last_point[0], last_point[1])
    +        return first_point[0], first_point[1], last_point[0], last_point[1]
     
         def SetAttachments(self, from_attach, to_attach):
             """Specify which object attachment points should be used at each end
    @@ -548,8 +553,8 @@ class LineShape(Shape):
                 dy = point2[1] - point1[1]
     
                 seg_len = math.sqrt(dx * dx + dy * dy)
    -            if dy == 0 or dx == 0:
    -                return False
    +            if dy == 0 and dx == 0:
    +                continue
                 distance_from_seg = seg_len * float((x - point1[0]) * dy - (y - point1[1]) * dx) / (dy * dy + dx * dx)
                 distance_from_prev = seg_len * float((y - point1[1]) * dy + (x - point1[0]) * dx) / (dy * dy + dx * dx)
     
    @@ -904,17 +909,25 @@ class LineShape(Shape):
             if not self._from or not self._to:
                 return
     
    -        if len(self._lineControlPoints) > 2:
    -            self.Initialise()
    -
             # Do each end - nothing in the middle. User has to move other points
             # manually if necessary
             end_x, end_y, other_end_x, other_end_y = self.FindLineEndPoints()
     
             oldX, oldY = self._xpos, self._ypos
     
    +        # pi: The first time we go through FindLineEndPoints we can't
    +        # use the middle points (since they don't have sane values),
    +        # so we just do what we do for a normal line. Then we call
    +        # Initialise to set the middle points, and then FindLineEndPoints
    +        # again, but this time (and from now on) we use the middle
    +        # points to calculate the end points.
    +        # This was buggy in the C++ version too.
    +        
             self.SetEnds(end_x, end_y, other_end_x, other_end_y)
     
    +        if len(self._lineControlPoints) > 2:
    +            self.Initialise()
    +
             # Do a second time, because one may depend on the other
             end_x, end_y, other_end_x, other_end_y = self.FindLineEndPoints()
             self.SetEnds(end_x, end_y, other_end_x, other_end_y)
    @@ -946,8 +959,10 @@ class LineShape(Shape):
             # manually if necessary.
             second_point = self._lineControlPoints[1]
             second_last_point = self._lineControlPoints[-2]
    -        
    -        if len(self._lineControlPoints) > 2:
    +
    +        # pi: If we have a segmented line and this is the first time,
    +        # do this as a straight line.
    +        if len(self._lineControlPoints) > 2 and self._initialised:
                 if self._from.GetAttachmentMode() != ATTACHMENT_MODE_NONE:
                     nth, no_arcs = self.FindNth(self._from, False) # Not incoming
                     end_x, end_y = self._from.GetAttachmentPosition(self._attachmentFrom, nth, no_arcs, self)
    @@ -999,7 +1014,6 @@ class LineShape(Shape):
             for point in self._lineControlPoints:
                 points.append(wx.Point(point[0], point[1]))
     
    -        #print points
             if self._isSpline:
                 dc.DrawSpline(points)
             else:
    @@ -1088,7 +1102,7 @@ class LineShape(Shape):
                 self._controlPoints.append(control)
     
         def ResetControlPoints(self):
    -        if self._canvas and self._lineControlPoints:
    +        if self._canvas and self._lineControlPoints and self._controlPoints:
                 for i in range(min(len(self._controlPoints), len(self._lineControlPoints))):
                     point = self._lineControlPoints[i]
                     control = self._controlPoints[i]
    @@ -1142,8 +1156,9 @@ class LineShape(Shape):
     
                 pt.SetX(x)
                 pt.SetY(y)
    -            pt._point = x, y
    -
    +            pt._point[0] = x
    +            pt._point[1] = y
    +            
                 old_pen = self.GetPen()
                 old_brush = self.GetBrush()
     
    @@ -1177,7 +1192,8 @@ class LineShape(Shape):
     
                 pt._xpos = x
                 pt._ypos = y
    -            pt._point = x, y
    +            pt._point[0] = x
    +            pt._point[1] = y
     
                 old_pen = self.GetPen()
                 old_brush = self.GetBrush()
    @@ -1213,7 +1229,8 @@ class LineShape(Shape):
                 # as it changed shape.
                 pt._xpos = pt._originalPos[0]
                 pt._ypos = pt._originalPos[1]
    -            pt._point = pt._originalPos[0], pt._originalPos[1]
    +            pt._point[0] = pt._originalPos[0]
    +            pt._point[1] = pt._originalPos[1]
     
                 self.OnMoveMiddleControlPoint(dc, pt, rpt)
     
    @@ -1221,22 +1238,23 @@ class LineShape(Shape):
                 if pt._oldCursor:
                     self._canvas.SetCursor(pt._oldCursor)
     
    -                if self.GetFrom():
    -                    self.GetFrom().MoveLineToNewAttachment(dc, self, x, y)
    +            if self.GetFrom():
    +                self.GetFrom().MoveLineToNewAttachment(dc, self, x, y)
     
             if pt._type == CONTROL_POINT_ENDPOINT_TO:
                 if pt._oldCursor:
                     self._canvas.SetCursor(pt._oldCursor)
     
    -                if self.GetTo():
    -                    self.GetTo().MoveLineToNewAttachment(dc, self, x, y)
    +            if self.GetTo():
    +                self.GetTo().MoveLineToNewAttachment(dc, self, x, y)
     
         # This is called only when a non-end control point is moved
         def OnMoveMiddleControlPoint(self, dc, lpt, pt):
             lpt._xpos = pt[0]
             lpt._ypos = pt[1]
     
    -        lpt._point = pt[0], pt[1]
    +        lpt._point[0] = pt[0]
    +        lpt._point[1] = pt[1]
     
             self.GetEventHandler().OnMoveLink(dc)
     
    diff --git a/wxPython/wx/lib/plot.py b/wxPython/wx/lib/plot.py
    index cf5df17ca1..5fabf66063 100644
    --- a/wxPython/wx/lib/plot.py
    +++ b/wxPython/wx/lib/plot.py
    @@ -25,7 +25,16 @@
     #   - Modified line end shape from round to square.
     #   - Removed FloatDCWrapper for conversion to ints and ints in arguments
     #
    -
    +# Oct 15, 2004  Gordon Williams (g_will@cyberus.ca)
    +#   - Imported modules given leading underscore to name.
    +#   - Added Cursor Line Tracking and User Point Labels. 
    +#   - Demo for Cursor Line Tracking and Point Labels.
    +#   - Size of plot preview frame adjusted to show page better.
    +#   - Added helper functions PositionUserToScreen and PositionScreenToUser in PlotCanvas.
    +#   - Added functions GetClosestPoints (all curves) and GetClosestPoint (only closest curve)
    +#       can be in either user coords or screen coords.
    +#   
    +#
     
     """
     This is a simple light weight plotting module that can be used with
    @@ -79,16 +88,16 @@ Zooming controls with mouse (when enabled):
         Right mouse click - zoom out centred on click location.
     """
     
    -import  string
    -import  time
    +import  string as _string
    +import  time as _time
     import  wx
     
     # Needs Numeric or numarray
     try:
    -    import Numeric
    +    import Numeric as _Numeric
     except:
         try:
    -        import numarray as Numeric  #if numarray is used it is renamed Numeric
    +        import numarray as _Numeric  #if numarray is used it is renamed Numeric
         except:
             msg= """
             This module requires the Numeric or numarray module,
    @@ -109,7 +118,7 @@ class PolyPoints:
         """
     
         def __init__(self, points, attr):
    -        self.points = Numeric.array(points)
    +        self.points = _Numeric.array(points)
             self.currentScale= (1,1)
             self.currentShift= (0,0)
             self.scaled = self.points
    @@ -124,11 +133,11 @@ class PolyPoints:
             if len(self.points) == 0:
                 # no curves to draw
                 # defaults to (-1,-1) and (1,1) but axis can be set in Draw
    -            minXY= Numeric.array([-1,-1])
    -            maxXY= Numeric.array([ 1, 1])
    +            minXY= _Numeric.array([-1,-1])
    +            maxXY= _Numeric.array([ 1, 1])
             else:
    -            minXY= Numeric.minimum.reduce(self.points)
    -            maxXY= Numeric.maximum.reduce(self.points)
    +            minXY= _Numeric.minimum.reduce(self.points)
    +            maxXY= _Numeric.maximum.reduce(self.points)
             return minXY, maxXY
     
         def scaleAndShift(self, scale=(1,1), shift=(0,0)):
    @@ -145,7 +154,27 @@ class PolyPoints:
         def getLegend(self):
             return self.attributes['legend']
     
    -
    +    def getClosestPoint(self, pntXY, pointScaled= True):
    +        """Returns the index of closest point on the curve, pointXY, scaledXY, distance
    +            x, y in user coords
    +            if pointScaled == True based on screen coords
    +            if pointScaled == False based on user coords
    +        """
    +        if pointScaled == True:
    +            #Using screen coords
    +            p = self.scaled
    +            pxy = self.currentScale * _Numeric.array(pntXY)+ self.currentShift
    +        else:
    +            #Using user coords
    +            p = self.points
    +            pxy = _Numeric.array(pntXY)
    +        #determine distance for each point
    +        d= _Numeric.sqrt(_Numeric.add.reduce((p-pxy)**2,1)) #sqrt(dx^2+dy^2)
    +        pntIndex = _Numeric.argmin(d)
    +        dist = d[pntIndex]
    +        return [pntIndex, self.points[pntIndex], self.scaled[pntIndex], dist]
    +        
    +        
     class PolyLine(PolyPoints):
         """Class to define line type and style
             - All methods except __init__ are private.
    @@ -255,9 +284,9 @@ class PolyMarker(PolyPoints):
         def _circle(self, dc, coords, size=1):
             fact= 2.5*size
             wh= 5.0*size
    -        rect= Numeric.zeros((len(coords),4),Numeric.Float)+[0.0,0.0,wh,wh]
    +        rect= _Numeric.zeros((len(coords),4),_Numeric.Float)+[0.0,0.0,wh,wh]
             rect[:,0:2]= coords-[fact,fact]
    -        dc.DrawEllipseList(rect.astype(Numeric.Int32))
    +        dc.DrawEllipseList(rect.astype(_Numeric.Int32))
     
         def _dot(self, dc, coords, size=1):
             dc.DrawPointList(coords)
    @@ -265,35 +294,35 @@ class PolyMarker(PolyPoints):
         def _square(self, dc, coords, size=1):
             fact= 2.5*size
             wh= 5.0*size
    -        rect= Numeric.zeros((len(coords),4),Numeric.Float)+[0.0,0.0,wh,wh]
    +        rect= _Numeric.zeros((len(coords),4),_Numeric.Float)+[0.0,0.0,wh,wh]
             rect[:,0:2]= coords-[fact,fact]
    -        dc.DrawRectangleList(rect.astype(Numeric.Int32))
    +        dc.DrawRectangleList(rect.astype(_Numeric.Int32))
     
         def _triangle(self, dc, coords, size=1):
             shape= [(-2.5*size,1.44*size), (2.5*size,1.44*size), (0.0,-2.88*size)]
    -        poly= Numeric.repeat(coords,3)
    +        poly= _Numeric.repeat(coords,3)
             poly.shape= (len(coords),3,2)
             poly += shape
    -        dc.DrawPolygonList(poly.astype(Numeric.Int32))
    +        dc.DrawPolygonList(poly.astype(_Numeric.Int32))
     
         def _triangle_down(self, dc, coords, size=1):
             shape= [(-2.5*size,-1.44*size), (2.5*size,-1.44*size), (0.0,2.88*size)]
    -        poly= Numeric.repeat(coords,3)
    +        poly= _Numeric.repeat(coords,3)
             poly.shape= (len(coords),3,2)
             poly += shape
    -        dc.DrawPolygonList(poly.astype(Numeric.Int32))
    +        dc.DrawPolygonList(poly.astype(_Numeric.Int32))
           
         def _cross(self, dc, coords, size=1):
             fact= 2.5*size
             for f in [[-fact,-fact,fact,fact],[-fact,fact,fact,-fact]]:
    -            lines= Numeric.concatenate((coords,coords),axis=1)+f
    -            dc.DrawLineList(lines.astype(Numeric.Int32))
    +            lines= _Numeric.concatenate((coords,coords),axis=1)+f
    +            dc.DrawLineList(lines.astype(_Numeric.Int32))
     
         def _plus(self, dc, coords, size=1):
             fact= 2.5*size
             for f in [[-fact,0,fact,0],[0,-fact,0,fact]]:
    -            lines= Numeric.concatenate((coords,coords),axis=1)+f
    -            dc.DrawLineList(lines.astype(Numeric.Int32))
    +            lines= _Numeric.concatenate((coords,coords),axis=1)+f
    +            dc.DrawLineList(lines.astype(_Numeric.Int32))
     
     class PlotGraphics:
         """Container to hold PolyXXX objects and graph labels
    @@ -318,8 +347,8 @@ class PlotGraphics:
             p1, p2 = self.objects[0].boundingBox()
             for o in self.objects[1:]:
                 p1o, p2o = o.boundingBox()
    -            p1 = Numeric.minimum(p1, p1o)
    -            p2 = Numeric.maximum(p2, p2o)
    +            p1 = _Numeric.minimum(p1, p1o)
    +            p2 = _Numeric.maximum(p2, p2o)
             return p1, p2
     
         def scaleAndShift(self, scale=(1,1), shift=(0,0)):
    @@ -356,9 +385,9 @@ class PlotGraphics:
     
         def draw(self, dc):
             for o in self.objects:
    -            #t=time.clock()          # profile info
    +            #t=_time.clock()          # profile info
                 o.draw(dc, self.printerScale)
    -            #dt= time.clock()-t
    +            #dt= _time.clock()-t
                 #print o, "time=", dt
     
         def getSymExtent(self, printerScale):
    @@ -366,7 +395,7 @@ class PlotGraphics:
             symExt = self.objects[0].getSymExtent(printerScale)
             for o in self.objects[1:]:
                 oSymExt = o.getSymExtent(printerScale)
    -            symExt = Numeric.maximum(symExt, oSymExt)
    +            symExt = _Numeric.maximum(symExt, oSymExt)
             return symExt
         
         def getLegendNames(self):
    @@ -424,8 +453,8 @@ class PlotCanvas(wx.Window):
             # Zooming variables
             self._zoomInFactor =  0.5
             self._zoomOutFactor = 2
    -        self._zoomCorner1= Numeric.array([0.0, 0.0]) # left mouse down corner
    -        self._zoomCorner2= Numeric.array([0.0, 0.0])   # left mouse up corner
    +        self._zoomCorner1= _Numeric.array([0.0, 0.0]) # left mouse down corner
    +        self._zoomCorner2= _Numeric.array([0.0, 0.0])   # left mouse up corner
             self._zoomEnabled= False
             self._hasDragged= False
             
    @@ -444,13 +473,19 @@ class PlotCanvas(wx.Window):
             self._fontSizeTitle= 15
             self._fontSizeLegend= 7
     
    +        # pointLabels
    +        self._pointLabelEnabled= False
    +        self.last_PointLabel= None
    +        self._pointLabelFunc= None
    +        self.Bind(wx.EVT_LEAVE_WINDOW, self.OnLeave)
    +
             self.Bind(wx.EVT_PAINT, self.OnPaint)
             self.Bind(wx.EVT_SIZE, self.OnSize)
             # OnSize called to make sure the buffer is initialized.
             # This might result in OnSize getting called twice on some
             # platforms at initialization, but little harm done.
    -       	if wx.Platform != "__WXMAC__":
    -       	    self.OnSize(None) # sets the initial size based on client size
    +        if wx.Platform != "__WXMAC__":
    +            self.OnSize(None) # sets the initial size based on client size
     
             
         # SaveFile
    @@ -465,7 +500,7 @@ class PlotCanvas(wx.Window):
             .png  Save a Portable Network Graphics file.
             .jpg  Save a Joint Photographic Experts Group file.
             """
    -        if string.lower(fileName[-3:]) not in ['bmp','xbm','xpm','png','jpg']:
    +        if _string.lower(fileName[-3:]) not in ['bmp','xbm','xpm','png','jpg']:
                 dlg1 = wx.FileDialog(
                         self, 
                         "Choose a file with extension bmp, gif, xbm, xpm, png, or jpg", ".", "",
    @@ -477,7 +512,7 @@ class PlotCanvas(wx.Window):
                         if dlg1.ShowModal() == wx.ID_OK:
                             fileName = dlg1.GetPath()
                             # Check for proper exension
    -                        if string.lower(fileName[-3:]) not in ['bmp','xbm','xpm','png','jpg']:
    +                        if _string.lower(fileName[-3:]) not in ['bmp','xbm','xpm','png','jpg']:
                                 dlg2 = wx.MessageDialog(self, 'File name extension\n'
                                 'must be one of\n'
                                 'bmp, xbm, xpm, png, or jpg',
    @@ -494,7 +529,7 @@ class PlotCanvas(wx.Window):
                     dlg1.Destroy()
     
             # File name has required extension
    -        fType = string.lower(fileName[-3:])
    +        fType = _string.lower(fileName[-3:])
             if fType == "bmp":
                 tp= wx.BITMAP_TYPE_BMP       # Save a Windows bitmap file.
             elif fType == "xbm":
    @@ -547,7 +582,7 @@ class PlotCanvas(wx.Window):
                 wx.MessageDialog(self, "Print Preview failed.\n" \
                                    "Check that default printer is configured\n", \
                                    "Print error", wx.OK|wx.CENTRE).ShowModal()
    -        self.preview.SetZoom(30)
    +        self.preview.SetZoom(40)
             # search up tree to find frame instance
             frameInst= self
             while not isinstance(frameInst, wx.Frame):
    @@ -555,7 +590,7 @@ class PlotCanvas(wx.Window):
             frame = wx.PreviewFrame(self.preview, frameInst, "Preview")
             frame.Initialize()
             frame.SetPosition(self.GetPosition())
    -        frame.SetSize((500,400))
    +        frame.SetSize((600,550))
             frame.Centre(wx.BOTH)
             frame.Show(True)
     
    @@ -615,13 +650,37 @@ class PlotCanvas(wx.Window):
             """True if Legend enabled."""
             return self._legendEnabled
     
    +    def SetEnablePointLabel(self, value):
    +        """Set True to enable pointLabel."""
    +        if value not in [True,False]:
    +            raise TypeError, "Value should be True or False"
    +        self._pointLabelEnabled= value 
    +        self.Redraw()  #will erase existing pointLabel if present
    +        self.last_PointLabel = None
    +
    +    def GetEnablePointLabel(self):
    +        """True if pointLabel enabled."""
    +        return self._pointLabelEnabled
    +
    +    def SetPointLabelFunc(self, func):
    +        """Sets the function with custom code for pointLabel drawing
    +            ******** more info needed ***************
    +        """
    +        self._pointLabelFunc= func
    +
    +    def GetPointLabelFunc(self):
    +        """Returns pointLabel Drawing Function"""
    +        return self._pointLabelFunc
    +
         def Reset(self):
             """Unzoom the plot."""
    +        self.last_PointLabel = None        #reset pointLabel
             if self.last_draw is not None:
                 self.Draw(self.last_draw[0])
             
         def ScrollRight(self, units):          
             """Move view right number of axis units."""
    +        self.last_PointLabel = None        #reset pointLabel
             if self.last_draw is not None:
                 graphics, xAxis, yAxis= self.last_draw
                 xAxis= (xAxis[0]+units, xAxis[1]+units)
    @@ -629,17 +688,28 @@ class PlotCanvas(wx.Window):
     
         def ScrollUp(self, units):
             """Move view up number of axis units."""
    -        if self.last_draw is not None:
    -            graphics, xAxis, yAxis= self.last_draw
    -            yAxis= (yAxis[0]+units, yAxis[1]+units)
    -            self.Draw(graphics,xAxis,yAxis)
    +        self.last_PointLabel = None        #reset pointLabel
    +        if self.BeenDrawn():
    +            self._drawCmd.scrollAxisY(units, self._ySpec)
    +            self._draw()
             
         def GetXY(self,event):
             """Takes a mouse event and returns the XY user axis values."""
    -        screenPos= Numeric.array( event.GetPosition())
    -        x,y= (screenPos-self._pointShift)/self._pointScale
    +        x,y= self.PositionScreenToUser(event.GetPosition())
             return x,y
     
    +    def PositionUserToScreen(self, pntXY):
    +        """Converts User position to Screen Coordinates"""
    +        userPos= _Numeric.array(pntXY)
    +        x,y= userPos * self._pointScale + self._pointShift
    +        return x,y
    +        
    +    def PositionScreenToUser(self, pntXY):
    +        """Converts Screen position to User Coordinates"""
    +        screenPos= _Numeric.array(pntXY)
    +        x,y= (screenPos-self._pointShift)/self._pointScale
    +        return x,y
    +        
         def SetXSpec(self, type= 'auto'):
             """xSpec- defines x axis type. Can be 'none', 'min' or 'auto'
             where:
    @@ -711,7 +781,7 @@ class PlotCanvas(wx.Window):
                     return
                 
             if dc == None:
    -            # allows using floats for certain functions 
    +            # sets new dc and clears it 
                 dc = wx.BufferedDC(wx.ClientDC(self), self._Buffer)
                 dc.Clear()
                 
    @@ -734,8 +804,8 @@ class PlotCanvas(wx.Window):
                 p2[0],p2[1] = xAxis[1], yAxis[1]     # upper right corner user scale (xmax,ymax)
             else:
                 # Both axis specified in Draw
    -            p1= Numeric.array([xAxis[0], yAxis[0]])    # lower left corner user scale (xmin,ymin)
    -            p2= Numeric.array([xAxis[1], yAxis[1]])     # upper right corner user scale (xmax,ymax)
    +            p1= _Numeric.array([xAxis[0], yAxis[0]])    # lower left corner user scale (xmin,ymin)
    +            p2= _Numeric.array([xAxis[1], yAxis[1]])     # upper right corner user scale (xmax,ymax)
     
             self.last_draw = (graphics, xAxis, yAxis)       # saves most recient values
     
    @@ -767,8 +837,8 @@ class PlotCanvas(wx.Window):
             lhsW= yTextExtent[0]+ yLabelWH[1]
             bottomH= max(xTextExtent[1], yTextExtent[1]/2.)+ xLabelWH[1]
             topH= yTextExtent[1]/2. + titleWH[1]
    -        textSize_scale= Numeric.array([rhsW+lhsW,bottomH+topH]) # make plot area smaller by text size
    -        textSize_shift= Numeric.array([lhsW, bottomH])          # shift plot area by this amount
    +        textSize_scale= _Numeric.array([rhsW+lhsW,bottomH+topH]) # make plot area smaller by text size
    +        textSize_shift= _Numeric.array([lhsW, bottomH])          # shift plot area by this amount
     
             # drawing title and labels text
             dc.SetFont(self._getFont(self._fontSizeTitle))
    @@ -789,8 +859,8 @@ class PlotCanvas(wx.Window):
                 self._drawLegend(dc,graphics,rhsW,topH,legendBoxWH, legendSymExt, legendTextExt)
     
             # allow for scaling and shifting plotted points
    -        scale = (self.plotbox_size-textSize_scale) / (p2-p1)* Numeric.array((1,-1))
    -        shift = -p1*scale + self.plotbox_origin + textSize_shift * Numeric.array((1,-1))
    +        scale = (self.plotbox_size-textSize_scale) / (p2-p1)* _Numeric.array((1,-1))
    +        shift = -p1*scale + self.plotbox_origin + textSize_shift * _Numeric.array((1,-1))
             self._pointScale= scale  # make available for mouse events
             self._pointShift= shift        
             self._drawAxes(dc, p1, p2, scale, shift, xticks, yticks)
    @@ -802,9 +872,9 @@ class PlotCanvas(wx.Window):
             ptx,pty,rectWidth,rectHeight= self._point2ClientCoord(p1, p2)
             dc.SetClippingRegion(ptx,pty,rectWidth,rectHeight)
             # Draw the lines and markers
    -        #start = time.clock()
    +        #start = _time.clock()
             graphics.draw(dc)
    -        # print "entire graphics drawing took: %f second"%(time.clock() - start)
    +        # print "entire graphics drawing took: %f second"%(_time.clock() - start)
             # remove the clipping region
             dc.DestroyClippingRegion()
             dc.EndDrawing()
    @@ -817,6 +887,7 @@ class PlotCanvas(wx.Window):
     
         def Clear(self):
             """Erase the window."""
    +        self.last_PointLabel = None        #reset pointLabel
             dc = wx.BufferedDC(wx.ClientDC(self), self._Buffer)
             dc.Clear()
             self.last_draw = None
    @@ -826,6 +897,7 @@ class PlotCanvas(wx.Window):
                 Centers on the X,Y coords given in Center
                 Zooms by the Ratio = (Xratio, Yratio) given
             """
    +        self.last_PointLabel = None   #reset maker
             x,y = Center
             if self.last_draw != None:
                 (graphics, xAxis, yAxis) = self.last_draw
    @@ -835,6 +907,74 @@ class PlotCanvas(wx.Window):
                 yAxis = ( y - h/2, y + h/2 )
                 self.Draw(graphics, xAxis, yAxis)
             
    +    def GetClosestPoints(self, pntXY, pointScaled= True):
    +        """Returns list with
    +            [curveNumber, legend, index of closest point, pointXY, scaledXY, distance]
    +            list for each curve.
    +            Returns [] if no curves are being plotted.
    +            
    +            x, y in user coords
    +            if pointScaled == True based on screen coords
    +            if pointScaled == False based on user coords
    +        """
    +        if self.last_draw == None:
    +            #no graph available
    +            return []
    +        graphics, xAxis, yAxis= self.last_draw
    +        l = []
    +        for curveNum,obj in enumerate(graphics):
    +            #check there are points in the curve
    +            if len(obj.points) == 0:
    +                continue  #go to next obj
    +            #[curveNumber, legend, index of closest point, pointXY, scaledXY, distance]
    +            cn = [curveNum]+ [obj.getLegend()]+ obj.getClosestPoint( pntXY, pointScaled)
    +            l.append(cn)
    +        return l
    +
    +    def GetClosetPoint(self, pntXY, pointScaled= True):
    +        """Returns list with
    +            [curveNumber, legend, index of closest point, pointXY, scaledXY, distance]
    +            list for only the closest curve.
    +            Returns [] if no curves are being plotted.
    +            
    +            x, y in user coords
    +            if pointScaled == True based on screen coords
    +            if pointScaled == False based on user coords
    +        """
    +        #closest points on screen based on screen scaling (pointScaled= True)
    +        #list [curveNumber, index, pointXY, scaledXY, distance] for each curve
    +        closestPts= self.GetClosestPoints(pntXY, pointScaled)
    +        if closestPts == []:
    +            return []  #no graph present
    +        #find one with least distance
    +        dists = [c[-1] for c in closestPts]
    +        mdist = min(dists)  #Min dist
    +        i = dists.index(mdist)  #index for min dist
    +        return closestPts[i]  #this is the closest point on closest curve
    +
    +    def UpdatePointLabel(self, mDataDict):
    +        """Updates the pointLabel point on screen with data contained in
    +            mDataDict.
    +
    +            mDataDict will be passed to your function set by
    +            SetPointLabelFunc.  It can contain anything you
    +            want to display on the screen at the scaledXY point
    +            you specify.
    +
    +            This function can be called from parent window with onClick,
    +            onMotion events etc.            
    +        """
    +        if self.last_PointLabel != None:
    +            #compare pointXY
    +            if mDataDict["pointXY"] != self.last_PointLabel["pointXY"]:
    +                #closest changed
    +                self._drawPointLabel(self.last_PointLabel) #erase old
    +                self._drawPointLabel(mDataDict) #plot new
    +        else:
    +            #just plot new with no erase
    +            self._drawPointLabel(mDataDict) #plot new
    +        #save for next erase
    +        self.last_PointLabel = mDataDict
     
         # event handlers **********************************
         def OnMotion(self, event):
    @@ -855,8 +995,9 @@ class PlotCanvas(wx.Window):
                     self._drawRubberBand(self._zoomCorner1, self._zoomCorner2) # remove old
                     self._zoomCorner2[0], self._zoomCorner2[1]= self.GetXY(event)
                     self._hasDragged = False  # reset flag
    -                minX, minY= Numeric.minimum( self._zoomCorner1, self._zoomCorner2)
    -                maxX, maxY= Numeric.maximum( self._zoomCorner1, self._zoomCorner2)
    +                minX, minY= _Numeric.minimum( self._zoomCorner1, self._zoomCorner2)
    +                maxX, maxY= _Numeric.maximum( self._zoomCorner1, self._zoomCorner2)
    +                self.last_PointLabel = None        #reset pointLabel
                     if self.last_draw != None:
                         self.Draw(self.last_draw[0], xAxis = (minX,maxX), yAxis = (minY,maxY), dc = None)
                 #else: # A box has not been drawn, zoom in on a point
    @@ -875,7 +1016,10 @@ class PlotCanvas(wx.Window):
     
         def OnPaint(self, event):
             # All that is needed here is to draw the buffer to screen
    -        dc = wx.BufferedPaintDC(self, self._Buffer)        
    +        if self.last_PointLabel != None:
    +            self._drawPointLabel(self.last_PointLabel) #erase old
    +            self.last_PointLabel = None
    +        dc = wx.BufferedPaintDC(self, self._Buffer)
     
         def OnSize(self,event):
             # The Buffer init is done here, to make sure the buffer is always
    @@ -887,12 +1031,21 @@ class PlotCanvas(wx.Window):
             # a file, or whatever.
             self._Buffer = wx.EmptyBitmap(Size[0],Size[1])
             self._setSize()
    +
    +        self.last_PointLabel = None        #reset pointLabel
    +
             if self.last_draw is None:
                 self.Clear()
             else:
                 graphics, xSpec, ySpec = self.last_draw
                 self.Draw(graphics,xSpec,ySpec)
     
    +    def OnLeave(self, event):
    +        """Used to erase pointLabel when mouse outside window"""
    +        if self.last_PointLabel != None:
    +            self._drawPointLabel(self.last_PointLabel) #erase old
    +            self.last_PointLabel = None
    +
             
         # Private Methods **************************************************
         def _setSize(self, width=None, height=None):
    @@ -901,10 +1054,10 @@ class PlotCanvas(wx.Window):
                 (self.width,self.height) = self.GetClientSize()
             else:
                 self.width, self.height= width,height    
    -        self.plotbox_size = 0.97*Numeric.array([self.width, self.height])
    +        self.plotbox_size = 0.97*_Numeric.array([self.width, self.height])
             xo = 0.5*(self.width-self.plotbox_size[0])
             yo = self.height-0.5*(self.height-self.plotbox_size[1])
    -        self.plotbox_origin = Numeric.array([xo, yo])
    +        self.plotbox_origin = _Numeric.array([xo, yo])
         
         def _setPrinterScale(self, scale):
             """Used to thicken lines and increase marker size for print out."""
    @@ -917,6 +1070,23 @@ class PlotCanvas(wx.Window):
                 graphics, xSpec, ySpec= self.last_draw
                 self.Draw(graphics,xSpec,ySpec,printDC)
     
    +    def _drawPointLabel(self, mDataDict):
    +        """Draws and erases pointLabels"""
    +        width = self._Buffer.GetWidth()
    +        height = self._Buffer.GetHeight()
    +        tmp_Buffer = wx.EmptyBitmap(width,height)
    +        dcs = wx.MemoryDC()
    +        dcs.SelectObject(tmp_Buffer)
    +        dcs.Clear()
    +        dcs.BeginDrawing()
    +        self._pointLabelFunc(dcs,mDataDict)  #custom user pointLabel function
    +        dcs.EndDrawing()
    +
    +        dc = wx.ClientDC( self )
    +        #this will erase if called twice
    +        dc.Blit(0, 0, width, height, dcs, 0, 0, wx.EQUIV)  #(NOT src) XOR dst
    +        
    +
         def _drawLegend(self,dc,graphics,rhsW,topH,legendBoxWH, legendSymExt, legendTextExt):
             """Draws legend symbols and text"""
             # top right hand corner of graph box is ref corner
    @@ -930,12 +1100,12 @@ class PlotCanvas(wx.Window):
                 if isinstance(o,PolyMarker):
                     # draw marker with legend
                     pnt= (trhc[0]+legendLHS+legendSymExt[0]/2., trhc[1]+s+lineHeight/2.)
    -                o.draw(dc, self.printerScale, coord= Numeric.array([pnt]))
    +                o.draw(dc, self.printerScale, coord= _Numeric.array([pnt]))
                 elif isinstance(o,PolyLine):
                     # draw line with legend
                     pnt1= (trhc[0]+legendLHS, trhc[1]+s+lineHeight/2.)
                     pnt2= (trhc[0]+legendLHS+legendSymExt[0], trhc[1]+s+lineHeight/2.)
    -                o.draw(dc, self.printerScale, coord= Numeric.array([pnt1,pnt2]))
    +                o.draw(dc, self.printerScale, coord= _Numeric.array([pnt1,pnt2]))
                 else:
                     raise TypeError, "object is neither PolyMarker or PolyLine instance"
                 # draw legend txt
    @@ -967,7 +1137,7 @@ class PlotCanvas(wx.Window):
                 txtList= graphics.getLegendNames()
                 txtExt= dc.GetTextExtent(txtList[0])
                 for txt in graphics.getLegendNames()[1:]:
    -                txtExt= Numeric.maximum(txtExt,dc.GetTextExtent(txt))
    +                txtExt= _Numeric.maximum(txtExt,dc.GetTextExtent(txt))
                 maxW= symExt[0]+txtExt[0]    
                 maxH= max(symExt[1],txtExt[1])
                 # padding .1 for lhs of legend box and space between lines
    @@ -1007,14 +1177,14 @@ class PlotCanvas(wx.Window):
     
         def _point2ClientCoord(self, corner1, corner2):
             """Converts user point coords to client screen int coords x,y,width,height"""
    -        c1= Numeric.array(corner1)
    -        c2= Numeric.array(corner2)
    +        c1= _Numeric.array(corner1)
    +        c2= _Numeric.array(corner2)
             # convert to screen coords
             pt1= c1*self._pointScale+self._pointShift
             pt2= c2*self._pointScale+self._pointShift
             # make height and width positive
    -        pul= Numeric.minimum(pt1,pt2) # Upper left corner
    -        plr= Numeric.maximum(pt1,pt2) # Lower right corner
    +        pul= _Numeric.minimum(pt1,pt2) # Upper left corner
    +        plr= _Numeric.maximum(pt1,pt2) # Lower right corner
             rectWidth, rectHeight= plr-pul
             ptx,pty= pul
             return ptx, pty, rectWidth, rectHeight 
    @@ -1030,8 +1200,8 @@ class PlotCanvas(wx.Window):
                 range = upper-lower
                 if range == 0.:
                     return lower-0.5, upper+0.5
    -            log = Numeric.log10(range)
    -            power = Numeric.floor(log)
    +            log = _Numeric.log10(range)
    +            power = _Numeric.floor(log)
                 fraction = log-power
                 if fraction <= 0.05:
                     power = power-1
    @@ -1068,11 +1238,11 @@ class PlotCanvas(wx.Window):
                 lower, upper = p1[0],p2[0]
                 text = 1
                 for y, d in [(p1[1], -xTickLength), (p2[1], xTickLength)]:   # miny, maxy and tick lengths
    -                a1 = scale*Numeric.array([lower, y])+shift
    -                a2 = scale*Numeric.array([upper, y])+shift
    +                a1 = scale*_Numeric.array([lower, y])+shift
    +                a2 = scale*_Numeric.array([upper, y])+shift
                     dc.DrawLine(a1[0],a1[1],a2[0],a2[1])  # draws upper and lower axis line
                     for x, label in xticks:
    -                    pt = scale*Numeric.array([x, y])+shift
    +                    pt = scale*_Numeric.array([x, y])+shift
                         dc.DrawLine(pt[0],pt[1],pt[0],pt[1] + d) # draws tick mark d units
                         if text:
                             dc.DrawText(label,pt[0],pt[1])
    @@ -1083,11 +1253,11 @@ class PlotCanvas(wx.Window):
                 text = 1
                 h = dc.GetCharHeight()
                 for x, d in [(p1[0], -yTickLength), (p2[0], yTickLength)]:
    -                a1 = scale*Numeric.array([x, lower])+shift
    -                a2 = scale*Numeric.array([x, upper])+shift
    +                a1 = scale*_Numeric.array([x, lower])+shift
    +                a2 = scale*_Numeric.array([x, upper])+shift
                     dc.DrawLine(a1[0],a1[1],a2[0],a2[1])
                     for y, label in yticks:
    -                    pt = scale*Numeric.array([x, y])+shift
    +                    pt = scale*_Numeric.array([x, y])+shift
                         dc.DrawLine(pt[0],pt[1],pt[0]-d,pt[1])
                         if text:
                             dc.DrawText(label,pt[0]-dc.GetTextExtent(label)[0],
    @@ -1096,13 +1266,13 @@ class PlotCanvas(wx.Window):
     
         def _ticks(self, lower, upper):
             ideal = (upper-lower)/7.
    -        log = Numeric.log10(ideal)
    -        power = Numeric.floor(log)
    +        log = _Numeric.log10(ideal)
    +        power = _Numeric.floor(log)
             fraction = log-power
             factor = 1.
             error = fraction
             for f, lf in self._multiples:
    -            e = Numeric.fabs(fraction-lf)
    +            e = _Numeric.fabs(fraction-lf)
                 if e < error:
                     error = e
                     factor = f
    @@ -1116,13 +1286,13 @@ class PlotCanvas(wx.Window):
                 digits = -int(power)
                 format = '%'+`digits+2`+'.'+`digits`+'f'
             ticks = []
    -        t = -grid*Numeric.floor(-lower/grid)
    +        t = -grid*_Numeric.floor(-lower/grid)
             while t <= upper:
                 ticks.append( (t, format % (t,)) )
                 t = t + grid
             return ticks
     
    -    _multiples = [(2., Numeric.log10(2.)), (5., Numeric.log10(5.))]
    +    _multiples = [(2., _Numeric.log10(2.)), (5., _Numeric.log10(5.))]
     
     
     #-------------------------------------------------------------------------------
    @@ -1198,6 +1368,7 @@ class PlotPrintout(wx.Printout):
             # rescale back to original
             self.graph._setSize()
             self.graph._setPrinterScale(1)
    +        self.graph.Redraw()     #to get point label scale and shift correct
     
             return True
     
    @@ -1212,19 +1383,19 @@ class PlotPrintout(wx.Printout):
     
     def _draw1Objects():
         # 100 points sin function, plotted as green circles
    -    data1 = 2.*Numeric.pi*Numeric.arange(200)/200.
    +    data1 = 2.*_Numeric.pi*_Numeric.arange(200)/200.
         data1.shape = (100, 2)
    -    data1[:,1] = Numeric.sin(data1[:,0])
    +    data1[:,1] = _Numeric.sin(data1[:,0])
         markers1 = PolyMarker(data1, legend='Green Markers', colour='green', marker='circle',size=1)
     
         # 50 points cos function, plotted as red line
    -    data1 = 2.*Numeric.pi*Numeric.arange(100)/100.
    +    data1 = 2.*_Numeric.pi*_Numeric.arange(100)/100.
         data1.shape = (50,2)
    -    data1[:,1] = Numeric.cos(data1[:,0])
    +    data1[:,1] = _Numeric.cos(data1[:,0])
         lines = PolyLine(data1, legend= 'Red Line', colour='red')
     
         # A few more points...
    -    pi = Numeric.pi
    +    pi = _Numeric.pi
         markers2 = PolyMarker([(0., 0.), (pi/4., 1.), (pi/2, 0.),
                               (3.*pi/4., -1)], legend='Cross Legend', colour='blue',
                               marker='cross')
    @@ -1233,19 +1404,19 @@ def _draw1Objects():
     
     def _draw2Objects():
         # 100 points sin function, plotted as green dots
    -    data1 = 2.*Numeric.pi*Numeric.arange(200)/200.
    +    data1 = 2.*_Numeric.pi*_Numeric.arange(200)/200.
         data1.shape = (100, 2)
    -    data1[:,1] = Numeric.sin(data1[:,0])
    +    data1[:,1] = _Numeric.sin(data1[:,0])
         line1 = PolyLine(data1, legend='Green Line', colour='green', width=6, style=wx.DOT)
     
         # 50 points cos function, plotted as red dot-dash
    -    data1 = 2.*Numeric.pi*Numeric.arange(100)/100.
    +    data1 = 2.*_Numeric.pi*_Numeric.arange(100)/100.
         data1.shape = (50,2)
    -    data1[:,1] = Numeric.cos(data1[:,0])
    +    data1[:,1] = _Numeric.cos(data1[:,0])
         line2 = PolyLine(data1, legend='Red Line', colour='red', width=3, style= wx.DOT_DASH)
     
         # A few more points...
    -    pi = Numeric.pi
    +    pi = _Numeric.pi
         markers1 = PolyMarker([(0., 0.), (pi/4., 1.), (pi/2, 0.),
                               (3.*pi/4., -1)], legend='Cross Hatch Square', colour='blue', width= 3, size= 6,
                               fillcolour= 'red', fillstyle= wx.CROSSDIAG_HATCH,
    @@ -1264,7 +1435,7 @@ def _draw3Objects():
     
     def _draw4Objects():
         # 25,000 point line
    -    data1 = Numeric.arange(5e5,1e6,10)
    +    data1 = _Numeric.arange(5e5,1e6,10)
         data1.shape = (25000, 2)
         line1 = PolyLine(data1, legend='Wide Line', colour='green', width=5)
     
    @@ -1350,7 +1521,10 @@ class TestFrame(wx.Frame):
             menu.Append(215, 'Enable &Grid', 'Turn on Grid', kind=wx.ITEM_CHECK)
             self.Bind(wx.EVT_MENU,self.OnEnableGrid, id=215)
             menu.Append(220, 'Enable &Legend', 'Turn on Legend', kind=wx.ITEM_CHECK)
    -        self.Bind(wx.EVT_MENU,self.OnEnableLegend, id=220) 
    +        self.Bind(wx.EVT_MENU,self.OnEnableLegend, id=220)
    +        menu.Append(222, 'Enable &Point Label', 'Show Closest Point', kind=wx.ITEM_CHECK)
    +        self.Bind(wx.EVT_MENU,self.OnEnablePointLabel, id=222)
    +       
             menu.Append(225, 'Scroll Up 1', 'Move View Up 1 Unit')
             self.Bind(wx.EVT_MENU,self.OnScrUp, id=225) 
             menu.Append(230, 'Scroll Rt 2', 'Move View Right 2 Units')
    @@ -1371,14 +1545,58 @@ class TestFrame(wx.Frame):
             self.CreateStatusBar(1)
             
             self.client = PlotCanvas(self)
    +        #define the function for drawing pointLabels
    +        self.client.SetPointLabelFunc(self.DrawPointLabel)
             # Create mouse event for showing cursor coords in status bar
             self.client.Bind(wx.EVT_LEFT_DOWN, self.OnMouseLeftDown)
    +        # Show closest point when enabled
    +        self.client.Bind(wx.EVT_MOTION, self.OnMotion)
    +
             self.Show(True)
     
    +    def DrawPointLabel(self, dc, mDataDict):
    +        """This is the fuction that defines how the pointLabels are plotted
    +            dc - DC that will be passed
    +            mDataDict - Dictionary of data that you want to use for the pointLabel
    +
    +            As an example I have decided I want a box at the curve point
    +            with some text information about the curve plotted below.
    +            Any wxDC method can be used.
    +        """
    +        # ----------
    +        dc.SetPen(wx.Pen(wx.BLACK))
    +        dc.SetBrush(wx.Brush( wx.BLACK, wx.SOLID ) )
    +        
    +        sx, sy = mDataDict["scaledXY"] #scaled x,y of closest point
    +        dc.DrawRectangle( sx-5,sy-5, 10, 10)  #10by10 square centered on point
    +        px,py = mDataDict["pointXY"]
    +        cNum = mDataDict["curveNum"]
    +        pntIn = mDataDict["pIndex"]
    +        legend = mDataDict["legend"]
    +        #make a string to display
    +        s = "Crv# %i, '%s', Pt. (%.2f,%.2f), PtInd %i" %(cNum, legend, px, py, pntIn)
    +        dc.DrawText(s, sx , sy+1)
    +        # -----------
    +
         def OnMouseLeftDown(self,event):
             s= "Left Mouse Down at Point: (%.4f, %.4f)" % self.client.GetXY(event)
             self.SetStatusText(s)
    -        event.Skip()
    +        event.Skip()            #allows plotCanvas OnMouseLeftDown to be called
    +
    +    def OnMotion(self, event):
    +        #show closest point (when enbled)
    +        if self.client.GetEnablePointLabel() == True:
    +            #make up dict with info for the pointLabel
    +            #I've decided to mark the closest point on the closest curve
    +            dlst= self.client.GetClosetPoint( self.client.GetXY(event), pointScaled= True)
    +            if dlst != []:    #returns [] if none
    +                curveNum, legend, pIndex, pointXY, scaledXY, distance = dlst
    +                #make up dictionary to pass to my user function (see DrawPointLabel) 
    +                mDataDict= {"curveNum":curveNum, "legend":legend, "pIndex":pIndex,\
    +                            "pointXY":pointXY, "scaledXY":scaledXY}
    +                #pass dict to update the pointLabel
    +                self.client.UpdatePointLabel(mDataDict)
    +        event.Skip()           #go to next handler
     
         def OnFilePageSetup(self, event):
             self.client.PageSetup()
    @@ -1416,12 +1634,12 @@ class TestFrame(wx.Frame):
             self.resetDefaults()
             drawObj= _draw4Objects()
             self.client.Draw(drawObj)
    -##            # profile
    -##            start = time.clock()            
    -##            for x in range(10):
    -##                self.client.Draw(drawObj)
    -##            print "10 plots of Draw4 took: %f sec."%(time.clock() - start)
    -##            # profile end
    +##        # profile
    +##        start = _time.clock()            
    +##        for x in range(10):
    +##            self.client.Draw(drawObj)
    +##        print "10 plots of Draw4 took: %f sec."%(_time.clock() - start)
    +##        # profile end
     
         def OnPlotDraw5(self, event):
             # Empty plot with just axes
    @@ -1460,6 +1678,9 @@ class TestFrame(wx.Frame):
         def OnEnableLegend(self, event):
             self.client.SetEnableLegend(event.IsChecked())
     
    +    def OnEnablePointLabel(self, event):
    +        self.client.SetEnablePointLabel(event.IsChecked())
    +
         def OnScrUp(self, event):
             self.client.ScrollUp(1)
             
    diff --git a/wxPython/wx/lib/wxpTag.py b/wxPython/wx/lib/wxpTag.py
    index d93a9fa9b1..65e1b58ad2 100644
    --- a/wxPython/wx/lib/wxpTag.py
    +++ b/wxPython/wx/lib/wxpTag.py
    @@ -195,7 +195,7 @@ class wxpTagHandler(wx.html.HtmlWinTagHandler):
     
     
             # check for something that should be evaluated
    -        elif value[0] in '[{(' or value[:2] == 'wx':
    +        elif value and value[0] in '[{(' or value[:2] == 'wx':
                 saveVal = value
                 try:
                     value = eval(value, self.ctx.classMod.__dict__)
    @@ -203,7 +203,7 @@ class wxpTagHandler(wx.html.HtmlWinTagHandler):
                     value = saveVal
     
             # convert to wx.Colour
    -        elif value[0] == '#':
    +        elif value and value[0] == '#':
                 try:
                     red   = int('0x'+value[1:3], 16)
                     green = int('0x'+value[3:5], 16)
    @@ -212,7 +212,8 @@ class wxpTagHandler(wx.html.HtmlWinTagHandler):
                 except:
                     pass
     
    -        self.ctx.kwargs[str(name)] = value
    +        if self.ctx:
    +          self.ctx.kwargs[str(name)] = value
             return False
     
     
    diff --git a/wxPython/wx/py/crust.py b/wxPython/wx/py/crust.py
    index 21a71cc680..2a26da1c5c 100644
    --- a/wxPython/wx/py/crust.py
    +++ b/wxPython/wx/py/crust.py
    @@ -208,9 +208,10 @@ class CrustFrame(frame.Frame):
                    'the other half is still in the oven.\n\n' + \
                    'Shell Revision: %s\n' % self.shell.revision + \
                    'Interpreter Revision: %s\n\n' % self.shell.interp.revision + \
    +               'Platform: %s\n' % sys.platform + \
                    'Python Version: %s\n' % sys.version.split()[0] + \
                    'wxPython Version: %s\n' % wx.VERSION_STRING + \
    -               'Platform: %s\n' % sys.platform
    +               ('\t(%s)\n' % ", ".join(wx.PlatformInfo[1:])) 
             dialog = wx.MessageDialog(self, text, title,
                                       wx.OK | wx.ICON_INFORMATION)
             dialog.ShowModal()
    diff --git a/wxPython/wx/py/shell.py b/wxPython/wx/py/shell.py
    index 2232fd59b0..8e1b0474f3 100644
    --- a/wxPython/wx/py/shell.py
    +++ b/wxPython/wx/py/shell.py
    @@ -72,9 +72,10 @@ class ShellFrame(frame.Frame):
                    'the other half is still in the oven.\n\n' + \
                    'Shell Revision: %s\n' % self.shell.revision + \
                    'Interpreter Revision: %s\n\n' % self.shell.interp.revision + \
    +               'Platform: %s\n' % sys.platform + \
                    'Python Version: %s\n' % sys.version.split()[0] + \
                    'wxPython Version: %s\n' % wx.VERSION_STRING + \
    -               'Platform: %s\n' % sys.platform
    +               ('\t(%s)\n' % ", ".join(wx.PlatformInfo[1:])) 
             dialog = wx.MessageDialog(self, text, title,
                                       wx.OK | wx.ICON_INFORMATION)
             dialog.ShowModal()
    diff --git a/wxPython/wx/tools/XRCed/panel.py b/wxPython/wx/tools/XRCed/panel.py
    index 7c48230059..466af6f258 100644
    --- a/wxPython/wx/tools/XRCed/panel.py
    +++ b/wxPython/wx/tools/XRCed/panel.py
    @@ -136,7 +136,8 @@ class Panel(wxNotebook):
                 if not self.GetPageCount() == 2:
                     self.AddPage(self.page2, 'Style')
                 self.page2.Layout()
    -            self.page2.Show(True)
    +            if 'wxGTK' in wx.PlatformInfo:
    +                self.page2.Show(True)
                 size = self.page2.GetSizer().GetMinSize()
                 self.page2.SetScrollbars(1, 1, size.width, size.height, 0, 0, True)
             else:
    diff --git a/wxPython/wxPython/__init__.py b/wxPython/wxPython/__init__.py
    index bf3637fbcb..407e8706ec 100644
    --- a/wxPython/wxPython/__init__.py
    +++ b/wxPython/wxPython/__init__.py
    @@ -2,7 +2,7 @@
     
     
     # We need to be able to import from the wx package, but there is also
    -# a wxPyton.wx module and that would normally be chosen first by
    +# a wxPython.wx module and that would normally be chosen first by
     # import statements.  So instead we'll have a wxPython._wx module and
     # then stuff it into sys.modules with a wxPython.wx alias so old
     # programs will still work.
    diff --git a/wxPython/wxPython/webkit.py b/wxPython/wxPython/webkit.py
    new file mode 100644
    index 0000000000..994b41232c
    --- /dev/null
    +++ b/wxPython/wxPython/webkit.py
    @@ -0,0 +1,44 @@
    +## This file reverse renames symbols in the wx package to give
    +## them their wx prefix again, for backwards compatibility.
    +##
    +## Generated by BuildRenamers in config.py
    +
    +# This silly stuff here is so the wxPython.wx module doesn't conflict
    +# with the wx package.  We need to import modules from the wx package
    +# here, then we'll put the wxPython.wx entry back in sys.modules.
    +import sys
    +_wx = None
    +if sys.modules.has_key('wxPython.wx'):
    +    _wx = sys.modules['wxPython.wx']
    +    del sys.modules['wxPython.wx']
    +
    +import wx.webkit
    +
    +sys.modules['wxPython.wx'] = _wx
    +del sys, _wx
    +
    +
    +# Now assign all the reverse-renamed names:
    +wxWebKitNameStr = wx.webkit.WebKitNameStr
    +wxWebKitCtrl = wx.webkit.WebKitCtrl
    +wxWebKitCtrlPtr = wx.webkit.WebKitCtrlPtr
    +wxPreWebKitCtrl = wx.webkit.PreWebKitCtrl
    +wxWEBKIT_STATE_START = wx.webkit.WEBKIT_STATE_START
    +wxWEBKIT_STATE_NEGOTIATING = wx.webkit.WEBKIT_STATE_NEGOTIATING
    +wxWEBKIT_STATE_REDIRECTING = wx.webkit.WEBKIT_STATE_REDIRECTING
    +wxWEBKIT_STATE_TRANSFERRING = wx.webkit.WEBKIT_STATE_TRANSFERRING
    +wxWEBKIT_STATE_STOP = wx.webkit.WEBKIT_STATE_STOP
    +wxWEBKIT_STATE_FAILED = wx.webkit.WEBKIT_STATE_FAILED
    +wxEVT_WEBKIT_STATE_CHANGED = wx.webkit.wxEVT_WEBKIT_STATE_CHANGED
    +wxWebKitStateChangedEvent = wx.webkit.WebKitStateChangedEvent
    +wxWebKitStateChangedEventPtr = wx.webkit.WebKitStateChangedEventPtr
    +
    +
    +d = globals()
    +for k, v in wx.webkit.__dict__.iteritems():
    +    if k.startswith('EVT'):
    +        d[k] = v
    +del d, k, v
    +
    +
    +
    diff --git a/wxPython/wxversion/wxversion.py b/wxPython/wxversion/wxversion.py
    index 07c1ec8809..b024966706 100644
    --- a/wxPython/wxversion/wxversion.py
    +++ b/wxPython/wxversion/wxversion.py
    @@ -15,10 +15,16 @@
     """
     If you have more than one version of wxPython installed this module
     allows your application to choose which version of wxPython will be
    -imported when it does 'import wx'.  You use it like this:
    +imported when it does 'import wx'.  You use it like this::
     
         import wxversion
    -    wxversion.require('2.4')
    +    wxversion.select('2.4')
    +    import wx
    +
    +Or additional build options can also be selected, like this::
    +
    +    import wxversion
    +    wxversion.select('2.5.3-unicode')
         import wx
     
     Of course the default wxPython version can also be controlled by
    @@ -28,24 +34,53 @@ selection itself rather than depend on the user to setup the
     environment correctly.
     
     It works by searching the sys.path for directories matching wx-* and
    -then comparing them to what was passed to the require function.  If a
    +then comparing them to what was passed to the select function.  If a
     match is found then that path is inserted into sys.path.
    +
    +NOTE: If you are making a 'bundle' of your application with a tool
    +like py2exe then you should *not* use the wxversion module since it
    +looks at the filesystem for the directories on sys.path, it will fail
    +in a bundled environment.  Instead you should simply ensure that the
    +version of wxPython that you want is found by default on the sys.path
    +when making the bundled version by setting PYTHONPATH.  Then that
    +version will be included in your bundle and your app will work as
    +expected.  Py2exe and the others usually have a way to tell at runtime
    +if they are running from a bundle or running raw, so you can check
    +that and only use wxversion if needed.  For example, for py2exe::
    +
    +    if not hasattr(sys, 'frozen'):
    +        import wxversion
    +        wxversion.select('2.5')
    +    import wx
    +
    +More documentation on wxversion and multi-version installs can be
    +found at: http://wiki.wxpython.org/index.cgi/MultiVersionInstalls
    +
     """
     
     import sys, os, glob, fnmatch
     
     
    +_selected = None
    +class VersionError(Exception):
    +    pass
     
    +#----------------------------------------------------------------------
     
    -def require(versions):
    +def select(versions):
         """
    -    Search for a wxPython installation that matches version.
    +    Search for a wxPython installation that matches version.  If one
    +    is found then sys.path is modified so that version will be
    +    imported with a 'import wx', otherwise a VersionError exception is
    +    raised.  This funciton should only be caled once at the begining
    +    of the application before wxPython is imported.
     
    -        :param version: Specifies the version to look for, it can either be
    -                        a sting or a list of strings.  Each string is
    -                        compared to the installed wxPythons and the best
    -                        match is added to the sys.path, allowing an 'import
    -                        wx' to find that version.
    +        :param version: Specifies the version to look for, it can
    +                        either be a string or a list of strings.  Each
    +                        string is compared to the installed wxPythons
    +                        and the best match is inserted into the
    +                        sys.path, allowing an 'import wx' to find that
    +                        version.
     
                             The version string is composed of the dotted
                             version number (at least 2 of the 4 components)
    @@ -58,33 +93,142 @@ def require(versions):
                             is increased for every specified optional component
                             that is specified and that matches.
         """
    -    assert not sys.modules.has_key('wx') and not sys.modules.has_key('wxPython'), \
    -           "wxversion.require() must be called before wxPython is imported"
    -
    -    bestMatch = None
    -    bestScore = 0
         if type(versions) == str:
             versions = [versions]
    +
    +    global _selected
    +    if _selected is not None:
    +        # A version was previously selected, ensure that it matches
    +        # this new request
    +        for ver in versions:
    +            if _selected.Score(_wxPackageInfo(ver)) > 0:
    +                return
    +        # otherwise, raise an exception
    +        raise VersionError("A previously selected wx version does not match the new request.")
    +
    +    # If we get here then this is the first time wxversion is used, 
    +    # ensure that wxPython hasn't been imported yet.
    +    if sys.modules.has_key('wx') or sys.modules.has_key('wxPython'):
    +        raise VersionError("wxversion.select() must be called before wxPython is imported")
    +    
    +    # Look for a matching version and manipulate the sys.path as
    +    # needed to allow it to be imported.
    +    installed = _find_installed(True)
    +    bestMatch = _get_best_match(installed, versions)
    +    
    +    if bestMatch is None:
    +        raise VersionError("Requested version of wxPython not found")
    +
    +    sys.path.insert(0, bestMatch.pathname)
    +    _selected = bestMatch
             
    -    packages = _find_installed()
    -    for pkg in packages:
    +#----------------------------------------------------------------------
    +
    +UPDATE_URL = "http://wxPython.org/"
    +#UPDATE_URL = "http://sourceforge.net/project/showfiles.php?group_id=10718"
    +
    +
    +def ensureMinimal(minVersion):
    +    """
    +    Checks to see if the default version of wxPython is greater-than
    +    or equal to `minVersion`.  If not then it will try to find an
    +    installed version that is >= minVersion.  If none are available
    +    then a message is displayed that will inform the user and will
    +    offer to open their web browser to the wxPython downloads page,
    +    and will then exit the application.
    +    """
    +    assert type(minVersion) == str
    +
    +    # ensure that wxPython hasn't been imported yet.
    +    if sys.modules.has_key('wx') or sys.modules.has_key('wxPython'):
    +        raise VersionError("wxversion.ensureMinimal() must be called before wxPython is imported")
    +
    +    bestMatch = None
    +    minv = _wxPackageInfo(minVersion)
    +    defaultPath = _find_default()
    +    if defaultPath:
    +        defv = _wxPackageInfo(defaultPath, True)
    +        if defv >= minv:
    +            bestMatch = defv
    +
    +    if bestMatch is None:
    +        installed = _find_installed()
    +        if installed:
    +            # The list is in reverse sorted order, so if the first one is
    +            # big enough then choose it
    +            if installed[0] >= minv:
    +                bestMatch = installed[0]
    +
    +    if bestMatch is None:
    +        import wx, webbrowser
    +        versions = "\n".join(["      "+ver for ver in getInstalled()])
    +        app = wx.PySimpleApp()
    +        result = wx.MessageBox("This application requires a version of wxPython "
    +                               "greater than or equal to %s, but a matching version "
    +                               "was not found.\n\n"
    +                               "You currently have these version(s) installed:\n%s\n\n"
    +                               "Would you like to download a new version of wxPython?\n"
    +                               % (minVersion, versions),
    +                      "wxPython Upgrade Needed", style=wx.YES_NO)
    +        if result == wx.YES:
    +            webbrowser.open(UPDATE_URL)
    +        app.MainLoop()
    +        sys.exit()
    +
    +    sys.path.insert(0, bestMatch.pathname)
    +    _selected = bestMatch
    +        
    +
    +#----------------------------------------------------------------------
    +
    +def checkInstalled(versions):
    +    """
    +    Check if there is a version of wxPython installed that matches one
    +    of the versions given.  Returns True if so, False if not.  This
    +    can be used to determine if calling `select` will succeed or not.
    +
    +        :param version: Same as in `select`, either a string or a list
    +                        of strings specifying the version(s) to check
    +                        for.    
    +    """
    +    
    +    if type(versions) == str:
    +        versions = [versions]
    +    installed = _find_installed()
    +    bestMatch = _get_best_match(installed, versions)
    +    return bestMatch is not None
    +
    +#----------------------------------------------------------------------
    +
    +def getInstalled():
    +    """
    +    Returns a list of strings representing the installed wxPython
    +    versions that are found on the system.
    +    """
    +    installed = _find_installed()
    +    return [os.path.basename(p.pathname)[3:] for p in installed]
    +
    +
    +
    +#----------------------------------------------------------------------
    +# private helpers...
    +
    +def _get_best_match(installed, versions):
    +    bestMatch = None
    +    bestScore = 0
    +    for pkg in installed:
             for ver in versions:
                 score = pkg.Score(_wxPackageInfo(ver))
                 if score > bestScore:
                     bestMatch = pkg
                     bestScore = score
    -
    -    assert bestMatch is not None, \
    -           "Required version of wxPython not found"
    -
    -    sys.path.insert(0, bestMatch.pathname)
    -        
    -        
    +    return bestMatch
     
     
     _pattern = "wx-[0-9].*"
    -def _find_installed():
    +def _find_installed(removeExisting=False):
         installed = []
    +    toRemove = []
         for pth in sys.path:
     
             # empty means to look in the current dir
    @@ -97,8 +241,10 @@ def _find_installed():
             
             base = os.path.basename(pth)
     
    -        # if it's a wx path that's already in the sys.path then skip it
    +        # if it's a wx path that's already in the sys.path then mark
    +        # it for removal and then skip it
             if fnmatch.fnmatchcase(base, _pattern):
    +            toRemove.append(pth)
                 continue
     
             # now look in the dir for matching subdirs
    @@ -111,11 +257,44 @@ def _find_installed():
                     continue
                 installed.append(_wxPackageInfo(name, True))
     
    +    if removeExisting:
    +        for rem in toRemove:
    +            del sys.path[sys.path.index(rem)]
    +        
         installed.sort()
         installed.reverse()
         return installed
     
     
    +# Scan the sys.path looking for either a directory matching _pattern,
    +# or a wx.pth file
    +def _find_default():
    +    for pth in sys.path:
    +        # empty means to look in the current dir
    +        if not pth:
    +            pth = '.'
    +
    +        # skip it if it's not a package dir
    +        if not os.path.isdir(pth):
    +            continue
    +        
    +        # does it match the pattern?
    +        base = os.path.basename(pth)
    +        if fnmatch.fnmatchcase(base, _pattern):
    +            return pth
    +
    +    for pth in sys.path:
    +        if not pth:
    +            pth = '.'
    +        if not os.path.isdir(pth):
    +            continue
    +        if os.path.exists(os.path.join(pth, 'wx.pth')):
    +            base = open(os.path.join(pth, 'wx.pth')).read()
    +            return os.path.join(pth, base)
    +
    +    return None
    +
    +
     class _wxPackageInfo(object):
         def __init__(self, pathname, stripFirst=False):
             self.pathname = pathname
    @@ -129,38 +308,64 @@ class _wxPackageInfo(object):
     
         def Score(self, other):
             score = 0
    -        # whatever version components given in other must match exactly
    -        if len(self.version) > len(other.version):
    -            v = self.version[:len(other.version)]
    -        else:
    -            v = self.version
    -        if v != other.version:
    -            return 0
    +        
    +        # whatever number of version components given in other must
    +        # match exactly
    +        minlen = min(len(self.version), len(other.version))
    +        if self.version[:minlen] != other.version[:minlen]:
    +            return 0        
             score += 1
    +        
             for opt in other.options:
                 if opt in self.options:
                     score += 1
             return score
         
     
    -    # TODO: factor self.options into the sort order?
    +   
         def __lt__(self, other):
    -        return self.version < other.version
    +        return self.version < other.version or \
    +               (self.version == other.version and self.options < other.options)
    +    def __le__(self, other):
    +        return self.version <= other.version or \
    +               (self.version == other.version and self.options <= other.options)
    +    
         def __gt__(self, other):
    -        return self.version > other.version
    +        return self.version > other.version or \
    +               (self.version == other.version and self.options > other.options)
    +    def __ge__(self, other):
    +        return self.version >= other.version or \
    +               (self.version == other.version and self.options >= other.options)
    +    
         def __eq__(self, other):
    -        return self.version == other.version
    +        return self.version == other.version and self.options == other.options
             
         
     
    -
    +#----------------------------------------------------------------------
     
     if __name__ == '__main__':
    +    import pprint
    +
    +    #ensureMinimal('2.5')
    +    #pprint.pprint(sys.path)
    +    #sys.exit()
    +    
    +    
         def test(version):
    +        # setup
             savepath = sys.path[:]
    -        require(version)
    +
    +        #test
    +        select(version)
             print "Asked for %s:\t got: %s" % (version, sys.path[0])
    +        pprint.pprint(sys.path)
    +        print
    +
    +        # reset
             sys.path = savepath[:]
    +        global _selected
    +        _selected = None
             
             
         # make some test dirs
    @@ -181,6 +386,14 @@ if __name__ == '__main__':
         
     
         # now run some tests
    +    pprint.pprint( getInstalled())
    +    print checkInstalled("2.4")
    +    print checkInstalled("2.5-unicode")
    +    print checkInstalled("2.99-bogus")
    +    print "Current sys.path:"
    +    pprint.pprint(sys.path)
    +    print
    +    
         test("2.4")
         test("2.5")
         test("2.5-gtk2")
    @@ -192,14 +405,21 @@ if __name__ == '__main__':
         # available 2.4.  Should it give an error instead?  I don't think so...
         test("2.4-unicode") 
     
    +    # Try asking for multiple versions
    +    test(["2.6", "2.5.3", "2.5.2-gtk2"])
    +
         try:
             # expecting an error on this one
             test("2.6")
    -    except AssertionError:
    -        print "Asked for 2.6:\t got: Assertion" 
    +    except VersionError, e:
    +        print "Asked for 2.6:\t got Exception:", e 
     
    -    # Try asking for multiple versions
    -    test(["2.6", "2.5.3", "2.5.2-gtk2"])
    +    # check for exception when incompatible versions are requested
    +    try:
    +        select("2.4")
    +        select("2.5")
    +    except VersionError, e:
    +        print "Asked for incompatible versions, got Exception:", e 
     
         # cleanup
         for name in names: