diff --git a/docs/latex/wx/bbutton.tex b/docs/latex/wx/bbutton.tex index 0ae2fb824b..14d993ffe5 100644 --- a/docs/latex/wx/bbutton.tex +++ b/docs/latex/wx/bbutton.tex @@ -119,7 +119,7 @@ Button creation function for two-step creation. For more details, see \helpref{w \membersection{wxBitmapButton::GetBitmapDisabled}\label{wxbitmapbuttongetbitmapdisabled} -\constfunc{wxBitmap\&}{GetBitmapLabel}{\void} +\constfunc{wxBitmap\&}{GetBitmapDisabled}{\void} Returns the bitmap for the disabled state. diff --git a/docs/latex/wx/bitmap.tex b/docs/latex/wx/bitmap.tex index 3947adf6f3..b639c4d397 100644 --- a/docs/latex/wx/bitmap.tex +++ b/docs/latex/wx/bitmap.tex @@ -55,7 +55,7 @@ portable programs: in this case the {\it bits} parameter should contain an XBM image. For other bit depths, the behaviour is platform dependent: under Windows, the -data is passed withotu any changes to the underlying {\tt CreateBitmap()} API. +data is passed without any changes to the underlying {\tt CreateBitmap()} API. Under other platforms, only monochrome bitmaps may be created using this constructor and \helpref{wxImage}{wximage} should be used for creating colour bitmaps from static data. diff --git a/docs/latex/wx/document.tex b/docs/latex/wx/document.tex index 23ba287409..462d6365b6 100644 --- a/docs/latex/wx/document.tex +++ b/docs/latex/wx/document.tex @@ -336,10 +336,12 @@ framework. \membersection{wxDocument::SetFilename} -\func{void}{SetFilename}{\param{const wxString\& }{filename}} +\func{void}{SetFilename}{\param{const wxString\& }{filename}, \param{bool}{ notifyViews = FALSE}} Sets the filename for this document. Usually called by the framework. +If {\it notifyViews} is TRUE, wxView::OnChangeFilename is called for all views. + \membersection{wxDocument::SetTitle} \func{void}{SetTitle}{\param{const wxString\& }{title}} diff --git a/docs/latex/wx/wxstring.tex b/docs/latex/wx/wxstring.tex index 4e4d4b6231..94157dacf4 100644 --- a/docs/latex/wx/wxstring.tex +++ b/docs/latex/wx/wxstring.tex @@ -999,7 +999,7 @@ See also \helpref{IsEmpty()}{wxstringisempty}. Assignment: the effect of each operation is the same as for the corresponding constructor (see \helpref{wxString constructors}{wxstringconstruct}). -\membersection{operator wxString::$+$}\label{wxstringoperatorplus} +\membersection{wxString::operator $+$}\label{wxstringoperatorplus} Concatenation: all these operators return a new strign equal to the sum of the operands. diff --git a/utils/tex2rtf/docs/tex2rtf.hpj b/utils/tex2rtf/docs/tex2rtf.hpj index b00537e2d3..5660611a26 100644 --- a/utils/tex2rtf/docs/tex2rtf.hpj +++ b/utils/tex2rtf/docs/tex2rtf.hpj @@ -1,5 +1,5 @@ [OPTIONS] -BMROOT=d:\wx2\wxWind~1\utils\tex2rtf\docs ; Assume that bitmaps are where the source is +BMROOT=. ; Assume that bitmaps are where the source is TITLE=Tex2RTF Manual CONTENTS=Contents COMPRESS=HIGH diff --git a/utils/tex2rtf/docs/tex2rtf.tex b/utils/tex2rtf/docs/tex2rtf.tex index f138c8aaee..84bdee739e 100644 --- a/utils/tex2rtf/docs/tex2rtf.tex +++ b/utils/tex2rtf/docs/tex2rtf.tex @@ -1,5 +1,5 @@ \documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}% -\input{psbox.tex} +%\input{psbox.tex} \newcommand{\commandref}[2]{\helpref{{\tt $\backslash$#1}}{#2}}% \newcommand{\commandrefn}[2]{\helprefn{{\tt $\backslash$#1}}{#2}\index{#1}}% \newcommand{\commandpageref}[2]{\latexignore{\helprefn{{\tt $\backslash$#1}}{#2}}\latexonly{{\tt $\backslash$#1} {\it page \pageref{#2}}}\index{#1}}% diff --git a/utils/tex2rtf/src/tex2any.cpp b/utils/tex2rtf/src/tex2any.cpp index 8827cea281..5f134ea588 100644 --- a/utils/tex2rtf/src/tex2any.cpp +++ b/utils/tex2rtf/src/tex2any.cpp @@ -363,6 +363,10 @@ bool FindEndEnvironment(char *buffer, int *pos, char *env) bool readingVerbatim = FALSE; bool readInVerbatim = FALSE; // Within a verbatim, but not nec. verbatiminput +// Switched this off because e.g. \verb${$ causes it to fail. There is no +// detection of \verb yet. +#define CHECK_BRACES 0 + unsigned long leftCurly = 0; unsigned long rightCurly = 0; static wxString currentFileName = ""; @@ -386,6 +390,8 @@ bool read_a_line(char *buf) readInVerbatim = FALSE; ch = getc(Inputs[CurrentInputIndex]); + +#if CHECK_BRACES if (ch == '{' && !readInVerbatim) leftCurly++; if (ch == '}' && !readInVerbatim) @@ -394,7 +400,7 @@ bool read_a_line(char *buf) if (rightCurly > leftCurly) { wxString errBuf; - errBuf.Printf("An extra right Curly brace ('}') was detected at line %lu inside file %s",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str()); + errBuf.Printf("An extra right Curly brace ('}') was detected at line %l inside file %s",LineNumbers[CurrentInputIndex], (const char*) currentFileName.c_str()); OnError((char *)errBuf.c_str()); // Reduce the count of right curly braces, so the mismatched count @@ -402,6 +408,7 @@ bool read_a_line(char *buf) rightCurly--; } } +#endif if (ch != EOF) { @@ -475,6 +482,7 @@ bool read_a_line(char *buf) if (CurrentInputIndex > 0) ch = ' '; // No real end of file CurrentInputIndex --; +#if CHECK_BRACES if (leftCurly != rightCurly) { wxString errBuf; @@ -483,7 +491,7 @@ bool read_a_line(char *buf) } leftCurly = 0; rightCurly = 0; - +#endif if (readingVerbatim) { readingVerbatim = FALSE; @@ -642,12 +650,14 @@ bool read_a_line(char *buf) strncmp(buf, "\\end{toocomplex}", 16) == 0) readInVerbatim = FALSE; +#if CHECK_BRACES if (ch == EOF && leftCurly != rightCurly) { wxString errBuf; errBuf.Printf("Curly braces do not match inside file %s\n%lu opens, %lu closes", (const char*) currentFileName.c_str(),leftCurly,rightCurly); OnError((char *)errBuf.c_str()); } +#endif return (ch == EOF); }