Tex2RTF: underscores now only checked for if syntax checking is on.
Removed the MDIS_ALLCHILDSTYLES style again. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
33611ebbd9
commit
fd85b0640e
@ -1,6 +1,5 @@
|
|||||||
# Microsoft Developer Studio Project File - Name="OGLEditVC" - Package Owner=<4>
|
# Microsoft Developer Studio Project File - Name="OGLEditVC" - Package Owner=<4>
|
||||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
# (Actually, generated by MakeProject, (c) Julian Smart, 1998)
|
|
||||||
# ** DO NOT EDIT **
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
# TARGTYPE "Win32 (x86) Application" 0x0101
|
# TARGTYPE "Win32 (x86) Application" 0x0101
|
||||||
@ -25,6 +24,7 @@ CFG=OGLEditVC - Win32 Debug
|
|||||||
!MESSAGE
|
!MESSAGE
|
||||||
|
|
||||||
# Begin Project
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
# PROP Scc_ProjName ""
|
# PROP Scc_ProjName ""
|
||||||
# PROP Scc_LocalPath ""
|
# PROP Scc_LocalPath ""
|
||||||
CPP=cl.exe
|
CPP=cl.exe
|
||||||
@ -47,8 +47,8 @@ RSC=rc.exe
|
|||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
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 wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# 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 wsock32.lib winmm.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 winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib,libci.lib,msvcrtd.lib" /out:"Release/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# 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 winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
||||||
|
|
||||||
@ -72,9 +72,9 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@ -82,7 +82,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
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 wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# 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 wsock32.lib winmm.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 winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib,libcid.lib,msvcrt.lib" /out:"Debug/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# 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 winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@ -98,9 +98,9 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@ -126,8 +126,8 @@ LINK32=link.exe
|
|||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@ -147,6 +147,30 @@ LINK32=link.exe
|
|||||||
# Name "OGLEditVC - Win32 Release DLL"
|
# Name "OGLEditVC - Win32 Release DLL"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\doc.cpp
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
||||||
|
|
||||||
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
||||||
|
|
||||||
|
# SUBTRACT BASE CPP /YX /Yc /Yu
|
||||||
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\doc.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ogledit.cpp
|
SOURCE=.\ogledit.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
||||||
@ -167,23 +191,13 @@ SOURCE=.\ogledit.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\doc.cpp
|
SOURCE=.\ogledit.h
|
||||||
|
# End Source File
|
||||||
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
# Begin Source File
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
|
||||||
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
|
||||||
|
|
||||||
# SUBTRACT BASE CPP /YX /Yc /Yu
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
|
SOURCE=.\ogledit.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../../include" /i "../../../../contrib/include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
@ -207,6 +221,10 @@ SOURCE=.\palette.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\palette.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\view.cpp
|
SOURCE=.\view.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
||||||
@ -227,89 +245,7 @@ SOURCE=.\view.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\doc.h
|
|
||||||
|
|
||||||
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
|
||||||
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
|
||||||
|
|
||||||
# SUBTRACT BASE CPP /YX /Yc /Yu
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ogledit.h
|
|
||||||
|
|
||||||
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
|
||||||
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
|
||||||
|
|
||||||
# SUBTRACT BASE CPP /YX /Yc /Yu
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\palette.h
|
|
||||||
|
|
||||||
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
|
||||||
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
|
||||||
|
|
||||||
# SUBTRACT BASE CPP /YX /Yc /Yu
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\view.h
|
SOURCE=.\view.h
|
||||||
|
|
||||||
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
|
||||||
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
|
||||||
|
|
||||||
# SUBTRACT BASE CPP /YX /Yc /Yu
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ogledit.rc
|
|
||||||
# ADD BASE RSC /l 0x809
|
|
||||||
# ADD RSC /l 0x809 /i "../../../../include" /i "../../../../contrib/include"
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Microsoft Developer Studio Workspace File, Format Version 5.00
|
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
// Obsolete
|
||||||
|
#if 0
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
// N.B. BC++ doesn't have istream.h, ostream.h
|
// N.B. BC++ doesn't have istream.h, ostream.h
|
||||||
# include <iostream.h>
|
# include <iostream.h>
|
||||||
@ -37,6 +39,7 @@
|
|||||||
// using namespace std;
|
// using namespace std;
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
|
|
||||||
@ -227,8 +230,11 @@ protected:
|
|||||||
// Traverse the list.
|
// Traverse the list.
|
||||||
static void TraverseList (PmSFV, wxMemStruct *from = NULL);
|
static void TraverseList (PmSFV, wxMemStruct *from = NULL);
|
||||||
|
|
||||||
|
// Obsolete
|
||||||
|
#if 0
|
||||||
static wxSTD streambuf *m_streamBuf;
|
static wxSTD streambuf *m_streamBuf;
|
||||||
static wxSTD ostream *m_debugStream;
|
static wxSTD ostream *m_debugStream;
|
||||||
|
#endif
|
||||||
|
|
||||||
static int debugLevel;
|
static int debugLevel;
|
||||||
static bool debugOn;
|
static bool debugOn;
|
||||||
@ -243,12 +249,15 @@ public:
|
|||||||
wxDebugContext(void);
|
wxDebugContext(void);
|
||||||
~wxDebugContext(void);
|
~wxDebugContext(void);
|
||||||
|
|
||||||
|
// Obsolete
|
||||||
|
#if 0
|
||||||
static bool HasStream(void) { return (m_debugStream != NULL); };
|
static bool HasStream(void) { return (m_debugStream != NULL); };
|
||||||
static wxSTD ostream& GetStream(void) { return *m_debugStream; }
|
static wxSTD ostream& GetStream(void) { return *m_debugStream; }
|
||||||
static wxSTD streambuf *GetStreamBuf(void) { return m_streamBuf; }
|
static wxSTD streambuf *GetStreamBuf(void) { return m_streamBuf; }
|
||||||
static void SetStream(wxSTD ostream *stream, wxSTD streambuf *buf = NULL);
|
static void SetStream(wxSTD ostream *stream, wxSTD streambuf *buf = NULL);
|
||||||
static bool SetFile(const wxString& file);
|
static bool SetFile(const wxString& file);
|
||||||
static bool SetStandardError(void);
|
static bool SetStandardError(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
static int GetLevel(void) { return debugLevel; }
|
static int GetLevel(void) { return debugLevel; }
|
||||||
static void SetLevel(int level) { debugLevel = level; }
|
static void SetLevel(int level) { debugLevel = level; }
|
||||||
|
@ -198,6 +198,7 @@ wxObject* WXDLLEXPORT_CTORFN wxConstructorFor##name(void) \
|
|||||||
#endif // Debug/!Debug
|
#endif // Debug/!Debug
|
||||||
|
|
||||||
// Unfortunately Borland seems to need this include.
|
// Unfortunately Borland seems to need this include.
|
||||||
|
#if wxUSE_STD_IOSTREAM && (defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT)
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
@ -205,6 +206,7 @@ wxObject* WXDLLEXPORT_CTORFN wxConstructorFor##name(void) \
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
class WXDLLEXPORT wxObjectRefData;
|
class WXDLLEXPORT wxObjectRefData;
|
||||||
|
|
||||||
|
@ -40,11 +40,14 @@
|
|||||||
|
|
||||||
#include "wx/ioswrap.h"
|
#include "wx/ioswrap.h"
|
||||||
|
|
||||||
|
// Obsolete
|
||||||
|
#if 0
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <fstream.h>
|
#include <fstream.h>
|
||||||
#else
|
#else
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(__WATCOMC__) && !(defined(__VMS__) && ( __VMS_VER < 70000000 ) )\
|
#if !defined(__WATCOMC__) && !(defined(__VMS__) && ( __VMS_VER < 70000000 ) )\
|
||||||
&& !defined( __MWERKS__ ) && !defined(__SALFORDC__)
|
&& !defined( __MWERKS__ ) && !defined(__SALFORDC__)
|
||||||
@ -465,8 +468,11 @@ wxMemStruct *wxDebugContext::m_tail = NULL;
|
|||||||
// wxSTD streambuf *wxDebugContext::m_streamBuf = NULL;
|
// wxSTD streambuf *wxDebugContext::m_streamBuf = NULL;
|
||||||
|
|
||||||
// Must initialise these in wxEntry, and then delete them just before wxEntry exits
|
// Must initialise these in wxEntry, and then delete them just before wxEntry exits
|
||||||
|
// Obsolete
|
||||||
|
#if 0
|
||||||
wxSTD streambuf *wxDebugContext::m_streamBuf = NULL;
|
wxSTD streambuf *wxDebugContext::m_streamBuf = NULL;
|
||||||
wxSTD ostream *wxDebugContext::m_debugStream = NULL;
|
wxSTD ostream *wxDebugContext::m_debugStream = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
bool wxDebugContext::m_checkPrevious = FALSE;
|
bool wxDebugContext::m_checkPrevious = FALSE;
|
||||||
int wxDebugContext::debugLevel = 1;
|
int wxDebugContext::debugLevel = 1;
|
||||||
@ -486,7 +492,7 @@ wxDebugContext::wxDebugContext(void)
|
|||||||
|
|
||||||
wxDebugContext::~wxDebugContext(void)
|
wxDebugContext::~wxDebugContext(void)
|
||||||
{
|
{
|
||||||
SetStream(NULL, NULL);
|
// SetStream(NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -494,6 +500,8 @@ wxDebugContext::~wxDebugContext(void)
|
|||||||
* between SetFile and SetStream.
|
* between SetFile and SetStream.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Obsolete
|
||||||
|
#if 0
|
||||||
void wxDebugContext::SetStream(wxSTD ostream *str, wxSTD streambuf *buf)
|
void wxDebugContext::SetStream(wxSTD ostream *str, wxSTD streambuf *buf)
|
||||||
{
|
{
|
||||||
if (m_debugStream)
|
if (m_debugStream)
|
||||||
@ -548,7 +556,8 @@ bool wxDebugContext::SetStandardError(void)
|
|||||||
#endif
|
#endif
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
// 0
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Work out the positions of the markers by creating an array of 2 markers
|
Work out the positions of the markers by creating an array of 2 markers
|
||||||
|
@ -1146,7 +1146,12 @@ bool wxMDIClientWindow::CreateClient(wxMDIParentFrame *parent, long style)
|
|||||||
ccs.hWindowMenu = (HMENU) parent->GetWindowMenu()->GetHMenu();
|
ccs.hWindowMenu = (HMENU) parent->GetWindowMenu()->GetHMenu();
|
||||||
ccs.idFirstChild = wxFIRST_MDI_CHILD;
|
ccs.idFirstChild = wxFIRST_MDI_CHILD;
|
||||||
|
|
||||||
DWORD msStyle = MDIS_ALLCHILDSTYLES | WS_VISIBLE | WS_CHILD |
|
// Note from JACS: please don't restore MDIS_ALLCHILDSTYLES
|
||||||
|
// without verifying that the OGL Studio sample works. Currently,
|
||||||
|
// it doesn't, with this style. We have to track it down, but
|
||||||
|
// I'd rather Studio (and maybe apps like it) didn't completely
|
||||||
|
// break.
|
||||||
|
DWORD msStyle = /* MDIS_ALLCHILDSTYLES | */ WS_VISIBLE | WS_CHILD |
|
||||||
WS_CLIPCHILDREN | WS_CLIPSIBLINGS;
|
WS_CLIPCHILDREN | WS_CLIPSIBLINGS;
|
||||||
|
|
||||||
if ( style & wxHSCROLL )
|
if ( style & wxHSCROLL )
|
||||||
|
@ -581,31 +581,34 @@ bool read_a_line(char *buf)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (readInVerbatim)
|
if (checkSyntax)
|
||||||
{
|
{
|
||||||
// There should NOT be a '\' before the '_'
|
if (readInVerbatim)
|
||||||
if ((bufIndex > 0 && (buf[bufIndex-1] == '\\')) && (buf[0] != '%'))
|
|
||||||
{
|
{
|
||||||
wxString errBuf;
|
// There should NOT be a '\' before the '_'
|
||||||
errBuf.Printf("An underscore ('_') was detected at line %lu inside file %s that should NOT have a '\\' before it.",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str());
|
if ((bufIndex > 0 && (buf[bufIndex-1] == '\\')) && (buf[0] != '%'))
|
||||||
OnError((char *)errBuf.c_str());
|
{
|
||||||
|
wxString errBuf;
|
||||||
|
errBuf.Printf("An underscore ('_') was detected at line %lu inside file %s that should NOT have a '\\' before it.",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str());
|
||||||
|
OnError((char *)errBuf.c_str());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
else
|
||||||
else
|
|
||||||
{
|
|
||||||
// There should be a '\' before the '_'
|
|
||||||
if (bufIndex == 0)
|
|
||||||
{
|
{
|
||||||
wxString errBuf;
|
// There should be a '\' before the '_'
|
||||||
errBuf.Printf("An underscore ('_') was detected at line %lu inside file %s that may need a '\\' before it.",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str());
|
if (bufIndex == 0)
|
||||||
OnError((char *)errBuf.c_str());
|
{
|
||||||
}
|
wxString errBuf;
|
||||||
else if ((buf[bufIndex-1] != '\\') && (buf[0] != '%') && // If it is a comment line, then no warnings
|
errBuf.Printf("An underscore ('_') was detected at line %lu inside file %s that may need a '\\' before it.",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str());
|
||||||
(strncmp(buf, "\\input", 6))) // do not report filenames that have underscores in them
|
OnError((char *)errBuf.c_str());
|
||||||
{
|
}
|
||||||
wxString errBuf;
|
else if ((buf[bufIndex-1] != '\\') && (buf[0] != '%') && // If it is a comment line, then no warnings
|
||||||
errBuf.Printf("An underscore ('_') was detected at line %lu inside file %s that may need a '\\' before it.",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str());
|
(strncmp(buf, "\\input", 6))) // do not report filenames that have underscores in them
|
||||||
OnError((char *)errBuf.c_str());
|
{
|
||||||
|
wxString errBuf;
|
||||||
|
errBuf.Printf("An underscore ('_') was detected at line %lu inside file %s that may need a '\\' before it.",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str());
|
||||||
|
OnError((char *)errBuf.c_str());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
buf[bufIndex++] = ch;
|
buf[bufIndex++] = ch;
|
||||||
|
Loading…
Reference in New Issue
Block a user