]> git.saurik.com Git - wxWidgets.git/commitdiff
Some doc corrections
authorJulian Smart <julian@anthemion.co.uk>
Wed, 25 Apr 2001 15:38:00 +0000 (15:38 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 25 Apr 2001 15:38:00 +0000 (15:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/poem/wxpoem.cpp
docs/latex/wx/db.tex
docs/latex/wx/postscpt.tex
docs/latex/wx/scrolwin.tex
docs/latex/wx/statusbr.tex
docs/latex/wx/tdb.tex
docs/latex/wx/timespan.tex
docs/latex/wx/wx.hpj
docs/latex/wx/wxPython.tex
src/msw/makefile.vc
utils/tex2rtf/docs/tex2rtf.hpj

index 2a2d89c03166c89552208c26e779dd7e2b505147..3a12a83581f90747e9e9d428d4587792a0d0c206 100644 (file)
@@ -683,7 +683,9 @@ int MyApp::OnExit()
   delete NormalFont;
   delete BoldFont;
   delete ItalicFont;
-  delete poem_buffer;
+  delete[] poem_buffer;
+  if (search_string)
+    delete[] search_string;
 
   return 0;
 }
@@ -993,7 +995,7 @@ long MainWindow::DoSearch(void)
 // Load index (or compile it if none found)
 void TryLoadIndex()
 {
-  index_ok = LoadIndex(index_filename);
+  index_ok = (LoadIndex(index_filename) != 0);
   if (!index_ok || (nitems == 0))
   {
       PoetryError("Index file not found; will compile new one", "wxPoem");
index 13bbc5a51ddc27c38db630dd781c6b140de43244..73177a466b81c4a97aef0beef4b1dad382535272 100644 (file)
@@ -6,12 +6,10 @@ database connection allows function to be performed directly on the
 datasource, as well as allowing access to any tables/views defined in
 the datasource to which the user has sufficient privileges.
 
-
 \wxheading{Include files}
 
 <wx/db.h>
 
-
 \wxheading{Helper classes and data structures}
 
 The following classes and structs are defined in db.cpp/.h for use with the wxDb class.
@@ -23,13 +21,11 @@ The following classes and structs are defined in db.cpp/.h for use with the wxDb
 \item \helpref{wxDbInf}{wxdbinf}
 \end{itemize}
 
-
 \wxheading{Constants}
 
-NOTE: In a future release, all ODBC class constants will be prefaced with 'wx'
+NOTE: In a future release, all ODBC class constants will be prefaced with 'wx'.
 
 \begin{verbatim}
-
     wxDB_PATH_MAX           Maximum path length allowed to be passed to
                             the ODBC driver to indicate where the data 
                             file(s) are located.
@@ -57,8 +53,8 @@ NOTE: In a future release, all ODBC class constants will be prefaced with 'wx'
                             data type
 \end{verbatim}
 
-
 \subsection{Enumerated types}\label{wxdbenumeratedtypes}
+
 \wxheading{Enumerated types}
 
 \docparam{enum {\bf wxDbSqlLogState}}{sqlLogOFF, sqlLogON}
@@ -3970,8 +3966,8 @@ structure.
 
 Eventually, accessor functions will be added for this class
 
-
 \membersection{wxDbTableInf::Initialize}\label{wxdbtableinfinitialize}
 
 Simply initializes all member variables to a cleared state.  Called by 
 the constructor automatically.
+
index 541f3158c03ad561f6b14b07fd24e63d60ff50d7..68ef4d111fd63bf72c52152813da5e3896bfe5d8 100644 (file)
@@ -49,3 +49,4 @@ output. Default is 720ppi.
 
 Return resolution used in PostScript output. See 
 \helpref{SetResolution}{wxpostscriptdcsetresolution}.
+
index 2cf1f691cd4b785946a6f23d558ae196b839d574..e89c1ae6fc84bd2b7909c05d0240098f8c1b5711 100644 (file)
@@ -395,3 +395,4 @@ parameters and returns a tuple of values for x and y.}
 
 \perlnote{In wxPerl this method takes no parameters and returns a
 2-element list {\tt ( x, y )}.}
+
index e9e0e7b9a974580d32ec8c00350946e69a14d661..7c1c99b309b632e69b2e5dcfbe353daff6c3b1ee 100644 (file)
@@ -270,3 +270,4 @@ variable fields.
 integers.}
 
 \perlnote{In wxPerl this method takes as parameters the field widths.}
+
index db1bb2e0f139d23c4a25a351c3684cbd8a317009..c2a51164fc2dc6e8ad6a547f07451fd96fea3a82 100644 (file)
@@ -1075,8 +1075,7 @@ delete DbConnectInf;
 
 \end{verbatim}
 
-
-\subsection{wxDatabase ODBC class overview [DEPRECATED]}\label{wxodbcoverview}
+\subsection{wxDatabase ODBC class overview [DEPRECATED]}\label{oldwxodbcoverview}
 
 Classes: \helpref{wxDatabase}{wxdatabase}, \helpref{wxRecordSet}{wxrecordset}, \helpref{wxQueryCol}{wxquerycol},
 \rtfsp\helpref{wxQueryField}{wxqueryfield}
index 1a884f1bd4ee99913c08bba4e41174f029a2deca..e63cb8dc9b56fbd5627a210fde062663fbbfb381 100644 (file)
@@ -32,7 +32,7 @@ No base class
 
 \membersection{Constructors}
 
-\helpref{wxTimeSpan()}{wxtimespandef}
+wxTimeSpan()\\
 \helpref{wxTimeSpan(hours, min, sec, msec)}{wxtimespan}
 
 \membersection{Accessors}
index 691c2fcf77543256c9a97416e5509b72425b35b9..07caa08baef45d5d7ae96c44a3979ebba6f9b82c 100644 (file)
@@ -1,5 +1,5 @@
 [OPTIONS]
-BMROOT=n:\wx2dev\wxWind~1\docs/latex/wx ; Assume that bitmaps are where the source is
+BMROOT=c:\wx2dev\wxWind~1\docs/latex/wx ; Assume that bitmaps are where the source is
 TITLE=wxWindows Manual
 CONTENTS=Contents
 COMPRESS=HIGH
index b735e6cb12d0d5b4838a92cca5b8658cc472652a..efba33ab20e2a50dbda32249c408f1865f8afd26 100644 (file)
@@ -362,7 +362,7 @@ as possible to the C++ spec over time.
 \item \helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}
 \item \helpref{wxInitDialogEvent}{wxinitdialogevent}
 \item \helpref{wxInputStream}{wxinputstream}
-\item \helpref{wxInternetFSHandler}{wxinternetfshandler}
+\item \helpref{wxInternetFSHandler}{fs}
 \item \helpref{wxJoystickEvent}{wxjoystickevent}
 \item wxJPEGHandler
 \item \helpref{wxKeyEvent}{wxkeyevent}
@@ -461,7 +461,7 @@ as possible to the C++ spec over time.
 \item \helpref{wxValidator}{wxvalidator}
 \item \helpref{wxWindowDC}{wxwindowdc}
 \item \helpref{wxWindow}{wxwindow}
-\item \helpref{wxZipFSHandler}{wxzipfshandler}
+\item \helpref{wxZipFSHandler}{fs}
 \end{itemize}
 
 %----------------------------------------------------------------------
index 8a4aa27ca48178164e5a3ff1f5002bbffca5d2c7..01c84d36e7f95fe79e7e2affc13c2fb3e0ecb186 100644 (file)
@@ -665,7 +665,7 @@ clean: $(PERIPH_CLEAN_TARGET)
 
 
 # Making documents
-docs:   allhlp allhtml allpdfrtf htb htmlhelp
+docs:   allhlp allhtml allpdfrtf allhtb allhtmlhelp
 alldocs: docs
 hlp:    wxhlp
 wxhlp:  $(DOCDIR)/winhelp/wx.hlp
@@ -684,11 +684,15 @@ referencps:       $(WXDIR)\docs\ps\referenc.ps
 allhlp: wxhlp
         cd $(WXDIR)\utils\dialoged\src
         nmake -f makefile.vc hlp
+        cd $(WXDIR)\utils\tex2rtf\src
+        nmake -f makefile.vc hlp
         cd $(THISDIR)
 
 allhtml: wxhtml
         cd $(WXDIR)\utils\dialoged\src
         nmake -f makefile.vc html
+        cd $(WXDIR)\utils\tex2rtf\src
+        nmake -f makefile.vc html
         cd $(THISDIR)
 
 allps: wxps referencps
@@ -699,12 +703,29 @@ allps: wxps referencps
 allpdfrtf: pdfrtf
         cd $(WXDIR)\utils\dialoged\src
         nmake -f makefile.vc pdfrtf
+        cd $(WXDIR)\utils\tex2rtf\src
+        nmake -f makefile.vc pdfrtf
+        cd $(THISDIR)
+
+allhtmlhelp: htmlhelp
+        cd $(WXDIR)\utils\dialoged\src
+        nmake -f makefile.vc htmlhelp
+        cd $(WXDIR)\utils\tex2rtf\src
+        nmake -f makefile.vc htmlhelp
+        cd $(THISDIR)
+
+allhtb: htb
+        cd $(WXDIR)\utils\dialoged\src
+        nmake -f makefile.vc htb
+        cd $(WXDIR)\utils\tex2rtf\src
+        nmake -f makefile.vc htb
         cd $(THISDIR)
 
 $(DOCDIR)/winhelp/wx.hlp:         $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
         cd $(DOCDIR)/latex/wx
         -erase wx.ph
         hc wx
+        -mkdir $(DOCDIR)\winhelp
         -erase $(DOCDIR)\winhelp\wx.hlp
         -erase $(DOCDIR)\winhelp\wx.cnt
         move wx.hlp $(DOCDIR)\winhelp\wx.hlp
@@ -731,6 +752,7 @@ $(DOCDIR)/latex/techref/techref.rtf:         $(DOCDIR)/latex/techref/techref.tex
 
 $(DOCDIR)/pdf/wx.rtf:         $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
         cd $(DOCDIR)\latex\wx
+        -mkdir $(DOCDIR)\pdf
         -copy *.wmf $(DOCDIR)\pdf
         -copy *.bmp $(DOCDIR)\pdf
         -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
@@ -745,6 +767,7 @@ $(DOCDIR)/pdf/techref.rtf:         $(DOCDIR)/latex/techref/techref.tex
 
 $(DOCDIR)\html\wx\wx.htm:         $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
         cd $(DOCDIR)\latex\wx
+        -mkdir $(DOCDIR)\html
         -mkdir $(DOCDIR)\html\wx
         copy *.gif $(DOCDIR)\html\wx
         -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
index c7d299f8438136129a8f797607b2c47e455aa09f..ccb40cccad48166a24592e0b31a94051a3d09821 100644 (file)
@@ -1,5 +1,5 @@
 [OPTIONS]
-BMROOT=d:\wx2dev\wxWind~1\utils\tex2rtf\docs ; Assume that bitmaps are where the source is
+BMROOT=c:\wx2dev\wxWind~1\utils\tex2rtf\docs ; Assume that bitmaps are where the source is
 TITLE=Tex2RTF Manual
 CONTENTS=Contents
 COMPRESS=HIGH