From 0b0625e9225826b488e30f48607b45864208f6cd Mon Sep 17 00:00:00 2001
From: Julian Smart <julian@anthemion.co.uk>
Date: Sat, 31 Aug 2002 16:27:35 +0000
Subject: [PATCH] Some doc fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/constant.tex |  2 +-
 docs/latex/wx/frame.tex    | 53 ++++++++++++--------------------------
 docs/latex/wx/list.tex     |  5 ++--
 docs/latex/wx/statusbr.tex |  2 +-
 docs/latex/wx/tipprov.tex  |  4 ++-
 5 files changed, 25 insertions(+), 41 deletions(-)

diff --git a/docs/latex/wx/constant.tex b/docs/latex/wx/constant.tex
index 4dc0ba2e45..3e53ff89d9 100644
--- a/docs/latex/wx/constant.tex
+++ b/docs/latex/wx/constant.tex
@@ -1,4 +1,4 @@
-\chapter{Constants}\label{functions}
+\chapter{Constants}\label{constants}
 \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
 \setfooter{\thepage}{}{}{}{}{\thepage}
 
diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex
index 34da3e6021..118d48be72 100644
--- a/docs/latex/wx/frame.tex
+++ b/docs/latex/wx/frame.tex
@@ -262,6 +262,16 @@ Returns a pointer to the status bar currently associated with the frame (if any)
 
 \helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar}, \helpref{wxStatusBar}{wxstatusbar}
 
+\membersection{wxFrame::GetStatusBarPane}\label{wxframegetstatusbarpane}
+
+\func{int}{GetStatusBarPane}{\void}
+
+Returns the status bar pane used to display menu and toolbar help.
+
+\wxheading{See also}
+
+\helpref{wxFrame::SetStatusBarPane}{wxframesetstatusbarpane}
+
 \membersection{wxFrame::GetTitle}\label{wxframegettitle}
 
 \constfunc{wxString}{GetTitle}{\void}
@@ -530,6 +540,13 @@ Associates a status bar with the frame.
 \helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar}, \helpref{wxStatusBar}{wxstatusbar},\rtfsp
 \helpref{wxFrame::GetStatusBar}{wxframegetstatusbar}
 
+\membersection{wxFrame::SetStatusBarPane}\label{wxframesetstatusbarpane}
+
+\func{void}{SetStatusBarPane}{\param{int}{ n}}
+
+Set the status bar pane used to display menu and toolbar help.
+Using -1 disables help display.
+
 \membersection{wxFrame::SetStatusText}\label{wxframesetstatustext}
 
 \func{virtual void}{SetStatusText}{\param{const wxString\& }{ text}, \param{int}{ number = 0}}
@@ -624,39 +641,3 @@ This function has not been tested with MDI frames.
 
 \helpref{wxFrame::IsFullScreen}{wxframeisfullscreen}
 
-\membersection{wxFrame::SetStatusBarPane}\label{wxframesetstatusbarpane}
-
-\func{void}{SetStatusBarPane}{\param{int}{ n}}
-
-Set the status bar pane used to display menu and toolbar help.
-Using -1 disables help display.
-
-\membersection{wxFrame::GetStatusBarPane}\label{wxframegetstatusbarpane}
-
-\func{int}{GetStatusBarPane}{\void}
-
-Returns the status bar pane used to display menu and toolbar help.
-
-\wxheading{See also}
-
-\helpref{wxFrame::SetStatusBarPane}{wxframesetstatusbarpane}
-
-\membersection{wxFrame::SetStatusBarPane}\label{wxframesetstatusbarpane}
-
-\func{void}{SetStatusBarPane}{\param{int}{ n}}
-
-Set the status bar pane used to display menu and toolbar help.
-Using -1 disables help display.
-
-\membersection{wxFrame::GetStatusBarPane}\label{wxframegetstatusbarpane}
-
-\func{int}{GetStatusBarPane}{\void}
-
-Returns the status bar pane used to display menu and toolbar help.
-
-\wxheading{See also}
-
-\helpref{wxFrame::SetStatusBarPane}{wxframesetstatusbarpane}
-
-
-
diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex
index b87233dda4..2f07958847 100644
--- a/docs/latex/wx/list.tex
+++ b/docs/latex/wx/list.tex
@@ -254,7 +254,8 @@ Inserts the object before the given {\it node}.
 
 Returns {\tt TRUE} if the list is empty, {\tt FALSE} otherwise.
 
-\membersection{wxList::Item}\label{wxlistitem}
+% Use different label name to avoid clashing with wxListItem label
+\membersection{wxList::Item}\label{wxlistitemfunc}
 
 \constfunc{wxNode *}{Item}{\param{size\_t }{index}}
 
@@ -272,7 +273,7 @@ Returns the node associated with {\it object} if it is in the list, NULL otherwi
 
 \func{wxNode *}{Nth}{\param{int}{ n}}
 
-{\bf NB:} This function is deprecated, use \helpref{Item}{wxlistitem} instead.
+{\bf NB:} This function is deprecated, use \helpref{Item}{wxlistitemfunc} instead.
 
 Returns the {\it nth} node in the list, indexing from zero (NULL if the list is empty
 or the nth node could not be found).
diff --git a/docs/latex/wx/statusbr.tex b/docs/latex/wx/statusbr.tex
index 5cb6f47a86..10000e952b 100644
--- a/docs/latex/wx/statusbr.tex
+++ b/docs/latex/wx/statusbr.tex
@@ -130,7 +130,7 @@ The status field string if the field is valid, otherwise the empty string.
 
 \helpref{wxStatusBar::SetStatusText}{wxstatusbarsetstatustext}
 
-\membersection{wxStatusBar::PopStatusText}\label{wxstatusbarpushstatustext}
+\membersection{wxStatusBar::PopStatusText}\label{wxstatusbarpopstatustext}
 
 \func{void}{PopStatusText}{\param{int}{ field = 0}}
 
diff --git a/docs/latex/wx/tipprov.tex b/docs/latex/wx/tipprov.tex
index acee3937d9..0caa5e7441 100644
--- a/docs/latex/wx/tipprov.tex
+++ b/docs/latex/wx/tipprov.tex
@@ -39,7 +39,8 @@ Return the text of the current tip and pass to the next one. This function is
 pure virtual, it should be implemented in the derived classes.
 
 \membersection{wxTipProvider::PreprocessTip}\label{wxtipproviderpreprocesstip}
-\funct{virtual wxString}{PreProcessTip}{\param{const wxString\&} {tip}}
+
+\func{virtual wxString}{PreProcessTip}{\param{const wxString\&}{tip}}
 
 Returns a modified tip. This function will be called immediately after read,
 and before being check whether it is a comment, an empty string or a string 
@@ -59,3 +60,4 @@ The program usually remembers the value returned by this function after calling
 \helpref{wxShowTip}{wxshowtip}. Note that it is not the same as the value which
 was passed to wxShowTip $+ 1$ because the user might have pressed the "Next"
 button in the tip dialog.
+
-- 
2.50.0

