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

@@ -875,6 +875,7 @@ samples/wizard/*.png
samples/wizard/*.ico
samples/wizard/*.txt
samples/console/testdata.fc
samples/console/*.cpp
samples/console/*.h
samples/console/makefile*

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:

View File

@@ -173,6 +173,8 @@
// Recommended setting: 1 for wxUSE_NEW_GRID, 0 if you have an old code using
// wxGrid and 100% backwards compatible (with all old wxGrid quirks) is
// essential.
//
// WIN16/BC++ resets wxUSE_NEW_GRID to 0 because it exceeds the data limit.
#define wxUSE_GRID 1
#define wxUSE_NEW_GRID 1
@@ -575,6 +577,9 @@
#undef wxUSE_ODBC
#define wxUSE_ODBC 0
#undef wxUSE_NEW_GRID
#define wxUSE_NEW_GRID 0
#endif
#if defined(__WXMSW__) && defined(__WATCOMC__)

View File

@@ -295,7 +295,7 @@ wxLongLong wxGetLocalTimeMillis()
::GetLocalTime(&st);
val += st.wMilliseconds;
#else
#ifndef __VISUALC__
#if !defined(__VISUALC__) && !defined(__BORLANDC__)
#warning "wxStopWatch will be up to second resolution!"
#endif
#endif

View File

@@ -238,8 +238,10 @@ typedef unsigned int JDIMENSION;
#ifdef NEED_FAR_POINTERS
#define FAR far
#else
#ifndef FAR
#define FAR
#endif
#endif
/*

View File

@@ -55,7 +55,7 @@ LIBS = $(WXDIR)\lib\wx.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib $(WXDIR)
$(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
$(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib &
$(WATLIBDIR)\uuid.lib $(WXDIR)\lib\watcom\odbc32.lib
IFLAGS = -i=$(WXINC) -i=$(WXDIR)\contrib\include -i=$(%watcom)\h;$(%watcom)\h\nt;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\include\wx\msw\gnuwin32
IFLAGS = -i=$(WXINC) -i=$(WXDIR)\contrib\include -i=$(%watcom)\h;$(%watcom)\h\nt;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\src\tiff;$(WXDIR)\include\wx\msw\gnuwin32
RESFLAGS1 = -r -bt=nt /i$(WXDIR)\include /i$(WXDIR)\contrib\include
RESFLAGS2 = -R $(name) /i$(WXDIR)\include /i$(WXDIR)\contrib\include