Doc updates; new grid disabled for BC++/WIN16 (too much global data)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-03-17 09:19:37 +00:00
parent 595b5c4eb6
commit 9c824f2977
10 changed files with 76 additions and 65 deletions

View File

@@ -241,6 +241,7 @@
\input statline.tex
\input stattext.tex
\input statusbr.tex
\input stopwtch.tex
\input strmbase.tex
\input stream.tex
\input wxstring.tex

View File

@@ -0,0 +1,46 @@
\section{\class{wxStopWatch}}\label{wxstopwatch}
The wxStopWatch class allow you to measure time intervalls.
\wxheading{Include files}
<wx/timer.h>
\wxheading{See also}
\helpref{::wxStartTimer}{wxstarttimer}, \helpref{::wxGetElapsedTime}{wxgetelapsedtime}, \helpref{wxTimer}{wxtimer}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxStopWatch::wxStopWatch}
\func{}{wxStopWatch}{\void}
Constructor. This starts the stop watch.
\membersection{wxStopWatch::Pause}\label{wxstopwatchpause}
\func{void}{Pause}{\void}
Pauses the stop watch. Call \helpref{wxStopWatch::Resume}{wxstopwatchresume} to resume
time measuring again.
\membersection{wxStopWatch::Start}
\func{void}{Start}{\param{long}{ milliseconds = 0}}
(Re)starts the stop watch with a given initial value.
\membersection{wxStopWatch::Resume}\label{wxstopwatchresume}
\func{void}{Resume}{\void}
Resumes the stop watch after having been paused with \helpref{wxStopWatch::Pause}{wxstopwatchpause}.
\membersection{wxStopWatch::Time}
\func{long}{Time}{\void}\label{wxstopwatchtime}
Returns the time in milliseconds since the start (or restart) or the last call of
\helpref{wxStopWatch::Pause}{wxstopwatchpause}.

View File

@@ -159,49 +159,3 @@ void MyFrame::OnTimer(wxTimerEvent& event)
Returns the interval of the timer which generated this event.
\section{\class{wxStopWatch}}\label{wxstopwatch}
The wxStopWatch class allow you to measure time intervalls.
\wxheading{Include files}
<wx/timer.h>
\wxheading{See also}
\helpref{::wxStartTimer}{wxstarttimer}, \helpref{::wxGetElapsedTime}{wxgetelapsedtime}, \helpref{wxTimer}{wxtimer}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxStopWatch::wxStopWatch}
\func{}{wxStopWatch}{\void}
Constructor. This starts the stop watch.
\membersection{wxStopWatch::Pause}\label{wxstopwatchpause}
\func{void}{Pause}{\void}
Pauses the stop watch. Call \helpref{wxStopWatch::Resume}{wxstopwatchresume} to resume
time measuring again.
\membersection{wxStopWatch::Start}
\func{void}{Start}{\param{long}{ milliseconds = 0}}
(Re)starts the stop watch with a given initial value.
\membersection{wxStopWatch::Resume}\label{wxstopwatchresume}
\func{void}{Resume}{\void}
Resumes the stop watch after having been paused with \helpref{wxStopWatch::Pause}{wxstopwatchpause}.
\membersection{wxStopWatch::Time}
\func{long}{Time}{\void}\label{wxstopwatchtime}
Returns the time in milliseconds since the start (or restart) or the last call of
\helpref{wxStopWatch::Pause}{wxstopwatchpause}.

View File

@@ -619,6 +619,21 @@ Each window has an integer identifier. If the application has not provided one
\helpref{wxWindow::SetId}{wxwindowsetid}\rtfsp
\helpref{Window identifiers}{windowids}
\membersection{wxWindow::GetLabel}
\constfunc{virtual wxString }{GetLabel}{\void}
Generic way of getting a label from any window, for
identification purposes.
\wxheading{Remarks}
The interpretation of this function differs from class to class.
For frames and dialogs, the value returned is the title. For buttons or static text controls, it is
the button text. This function can be useful for meta-programs (such as testing
tools or special-needs access programs) which need to identify windows
by name.
\membersection{wxWindow::GetPosition}
\constfunc{virtual void}{GetPosition}{\param{int* }{x}, \param{int* }{y}}
@@ -640,21 +655,6 @@ implements the following methods:\par
\end{twocollist}}
}
\membersection{wxWindow::GetLabel}
\constfunc{virtual wxString }{GetLabel}{\void}
Generic way of getting a label from any window, for
identification purposes.
\wxheading{Remarks}
The interpretation of this function differs from class to class.
For frames and dialogs, the value returned is the title. For buttons or static text controls, it is
the button text. This function can be useful for meta-programs (such as testing
tools or special-needs access programs) which need to identify windows
by name.
\membersection{wxWindow::GetName}\label{wxwindowgetname}
\constfunc{virtual wxString }{GetName}{\void}

View File

@@ -244,8 +244,10 @@ Note (5): BC++ 4.5 (not 5.0) trips up over jdmerge.c in the JPEG folder;
you will therefore need to set wxUSE_LIBJPEG to 0 in setup.h and remove
the jpeg target from src\msw\makefile.b32.
Note (6): If using C++Builder 4 and above (BC++ 5.4), change LINK=tlink32 to
LINK=ilink32 in src\makeb32.env.
Note (6): If using C++Builder 4 and above (BC++ 5.4 and above), change LINK=tlink32 to
LINK=ilink32 in src\makeb32.env. You may also need to disable
wxUSE_LIBJPEG because there is a conflict in the BC++ headers
(actually this problem seems to have gone away with 5.5 and SP1).
Compiling using the IDE files: