VC++ compilation correction; doc file corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-01-17 19:25:06 +00:00
parent 7da420943e
commit b82827dd43
15 changed files with 87 additions and 53 deletions

View File

@@ -307,8 +307,6 @@ Under Windows, OnQueryEndSession is called in response to the WM\_QUERYENDSESSIO
\helpref{wxCloseEvent}{wxcloseevent},\rtfsp \helpref{wxCloseEvent}{wxcloseevent},\rtfsp
\helpref{wxApp::OnEndSession}{wxapponendsession} \helpref{wxApp::OnEndSession}{wxapponendsession}
\membersection{wxWindow::OnScroll}\label{wxwindowonscroll}
\membersection{wxApp::ProcessMessage}\label{wxappprocessmessage} \membersection{wxApp::ProcessMessage}\label{wxappprocessmessage}
\func{bool}{ProcessMessage}{\param{MSG *}{msg}} \func{bool}{ProcessMessage}{\param{MSG *}{msg}}

View File

@@ -26,16 +26,19 @@ None.
\latexignore{\rtfignore{\wxheading{Members}}} \latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCriticalSection::wxCriticalSection}\label{wxcriticalsectionctor} \membersection{wxCriticalSection::wxCriticalSection}\label{wxcriticalsectionctor}
\func{}{wxCriticalSection}{\void} \func{}{wxCriticalSection}{\void}
Default constructor initializes critical section object. Default constructor initializes critical section object.
\membersection{wxCriticalSection::\destruct{wxCriticalSection}}\label{wxcriticalsectiondtor} \membersection{wxCriticalSection::\destruct{wxCriticalSection}}\label{wxcriticalsectiondtor}
\func{}{\destruct{wxCriticalSection}}{\void} \func{}{\destruct{wxCriticalSection}}{\void}
Destructor frees the ressources. Destructor frees the ressources.
\membersection{wxCriticalSection::Enter}\label{wxcriticalsectionenter} \membersection{wxCriticalSection::Enter}\label{wxcriticalsectionenter}
\func{void }{Enter}{\void} \func{void }{Enter}{\void}
Enter the critical section (same as locking a mutex). There is no error return Enter the critical section (same as locking a mutex). There is no error return
@@ -43,7 +46,9 @@ for this function. After entering the critical section protecting some global
data the thread running in critical section may safely use/modify it. data the thread running in critical section may safely use/modify it.
\membersection{wxCriticalSection::Leave}\label{wxcriticalsectionleave} \membersection{wxCriticalSection::Leave}\label{wxcriticalsectionleave}
\func{void }{Leave}{\void} \func{void }{Leave}{\void}
Leave the critical section allowing other threads use the global data protected Leave the critical section allowing other threads use the global data protected
by it. There is no error return for this function. by it. There is no error return for this function.

View File

@@ -18,12 +18,15 @@ None.
\latexignore{\rtfignore{\wxheading{Members}}} \latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCriticalSectionLocker::wxCriticalSectionLocker}\label{wxcriticalsectionlockerctor} \membersection{wxCriticalSectionLocker::wxCriticalSectionLocker}\label{wxcriticalsectionlockerctor}
\func{}{wxCriticalSectionLocker}{\param{wxCriticalSection *}{criticalsection}} \func{}{wxCriticalSectionLocker}{\param{wxCriticalSection *}{criticalsection}}
Constructs a wxCriticalSectionLocker object associated with given Constructs a wxCriticalSectionLocker object associated with given
criticalsection which must be non NULL and enters it. criticalsection which must be non NULL and enters it.
\membersection{wxCriticalSectionLocker::\destruct{wxCriticalSectionLocker}}\label{wxcriticalsectionlockerdtor} \membersection{wxCriticalSectionLocker::\destruct{wxCriticalSectionLocker}}\label{wxcriticalsectionlockerdtor}
\func{}{\destruct{wxCriticalSectionLocker}}{\void} \func{}{\destruct{wxCriticalSectionLocker}}{\void}
Destuctor leaves the criticalsection. Destuctor leaves the criticalsection.

View File

@@ -70,3 +70,4 @@ Return TRUE to accept the data, FALSE to veto the operation.
\func{virtual void}{OnLeave}{\void} \func{virtual void}{OnLeave}{\void}
Called when the mouse leaves the drop target. Called when the mouse leaves the drop target.

View File

@@ -1719,4 +1719,3 @@ This check is done even in release mode.
Checks that the condition is true, returns with the given return value if not (FAILs in debug mode). Checks that the condition is true, returns with the given return value if not (FAILs in debug mode).
This check is done even in release mode. This check is done even in release mode.

View File

@@ -11,7 +11,6 @@
% ---------------------------------------------------------------------------- % ----------------------------------------------------------------------------
% Members % Members
% ---------------------------------------------------------------------------- % ----------------------------------------------------------------------------
\latexignore{\rtfignore{\membersection{Members}}} \latexignore{\rtfignore{\membersection{Members}}}
\membersection{wxProtocol::Reconnect}\label{wxprotoreconnect} \membersection{wxProtocol::Reconnect}\label{wxprotoreconnect}
@@ -25,7 +24,6 @@ Tries to reestablish a previous opened connection (close and renegotiate connect
TRUE, if the connection is established, else FALSE. TRUE, if the connection is established, else FALSE.
% ---------------------------------------------------------------------------- % ----------------------------------------------------------------------------
\membersection{wxProtocol::GetInputStream}\label{wxprotogetinput} \membersection{wxProtocol::GetInputStream}\label{wxprotogetinput}
\func{wxInputStream *}{GetInputStream}{\param{const wxString\&}{ path}} \func{wxInputStream *}{GetInputStream}{\param{const wxString\&}{ path}}
@@ -39,7 +37,6 @@ http or ftp streams doesn't deal with it.
Returns the initialized stream. You will have to delete it yourself. Returns the initialized stream. You will have to delete it yourself.
% ---------------------------------------------------------------------------- % ----------------------------------------------------------------------------
\membersection{wxProtocol::Abort}\label{wxprotoabort} \membersection{wxProtocol::Abort}\label{wxprotoabort}
\func{bool}{Abort}{\void} \func{bool}{Abort}{\void}
@@ -53,7 +50,6 @@ Abort the current stream.
Returns TRUE, if successful, else FALSE. Returns TRUE, if successful, else FALSE.
% ---------------------------------------------------------------------------- % ----------------------------------------------------------------------------
\membersection{wxProtocol::GetError} \membersection{wxProtocol::GetError}
\func{wxProtocolError}{GetError}{\void} \func{wxProtocolError}{GetError}{\void}
@@ -72,10 +68,9 @@ Returns the last occured error.
\twocolitem{{\bf wxPROTO\_ABRT}}{Last action aborted.} \twocolitem{{\bf wxPROTO\_ABRT}}{Last action aborted.}
\twocolitem{{\bf wxPROTO\_RCNCT}}{An error occured during reconnection.} \twocolitem{{\bf wxPROTO\_RCNCT}}{An error occured during reconnection.}
\twocolitem{{\bf wxPROTO\_STREAM}}{Someone tried to send a command during a transfer.} \twocolitem{{\bf wxPROTO\_STREAM}}{Someone tried to send a command during a transfer.}
\end{twocollist}% \end{twocollist}
% ---------------------------------------------------------------------------- % ----------------------------------------------------------------------------
\membersection{wxProtocol::GetContentType} \membersection{wxProtocol::GetContentType}
\func{wxString}{GetContentType}{\void} \func{wxString}{GetContentType}{\void}
@@ -83,7 +78,6 @@ Returns the last occured error.
Returns the type of the content of the last opened stream. It is a mime-type. Returns the type of the content of the last opened stream. It is a mime-type.
% ---------------------------------------------------------------------------- % ----------------------------------------------------------------------------
\membersection{wxProtocol::SetUser} \membersection{wxProtocol::SetUser}
\func{void }{SetUser}{\param{const wxString\&}{ user}} \func{void }{SetUser}{\param{const wxString\&}{ user}}

View File

@@ -1,37 +1,44 @@
\section{\class{wxStreamBuffer}}\label{wxstreambuf} \section{\class{wxStreamBuffer}}\label{wxstreambuf}
\wxheading{Derived from}
None
\wxheading{See also} \wxheading{See also}
\helpref{wxStreamBase}{wxstreambase} \helpref{wxStreamBase}{wxstreambase}
% --------------------------------------------------------------------------- % ---------------------------------------------------------------------------
% Members % Members
% --------------------------------------------------------------------------- % ---------------------------------------------------------------------------
\latexignore{\rtfignore{\wxheading{Members}}} \latexignore{\rtfignore{\wxheading{Members}}}
% ----------- % -----------
% ctor & dtor % ctor & dtor
% ----------- % -----------
\membersection{wxStreamBuffer::wxStreamBuffer} \membersection{wxStreamBuffer::wxStreamBuffer}
\func{}{wxStreamBuffer}{\param{wxStreamBase&}{ stream}, \param{BufMode}{ mode}}
\func{}{wxStreamBuffer}{\param{wxStreamBase\&}{ stream}, \param{BufMode}{ mode}}
Constructor, creates a new stream buffer using \it{stream} as a parent stream Constructor, creates a new stream buffer using \it{stream} as a parent stream
and \it{mode} as the IO mode. \it{mode} can be: wxStreamBuffer::read, and \it{mode} as the IO mode. \it{mode} can be: wxStreamBuffer::read,
wxStreamBuffer::write, wxStreamBuffer::read_write. wxStreamBuffer::write, wxStreamBuffer::read\_write.
\membersection{wxStreamBuffer::wxStreamBuffer} \membersection{wxStreamBuffer::wxStreamBuffer}
\func{}{wxStreamBuffer}{\param{BufMode}{ mode}} \func{}{wxStreamBuffer}{\param{BufMode}{ mode}}
Constructor, creates a new empty stream buffer which won't flush any datas Constructor, creates a new empty stream buffer which won't flush any datas
to a stream. \it{mode} specifies the type of the buffer (read,write,read_write). to a stream. \it{mode} specifies the type of the buffer (read, write, read\_write).
\membersection{wxStreamBuffer::wxStreamBuffer} \membersection{wxStreamBuffer::wxStreamBuffer}
\func{}{wxStreamBuffer}{\param{const wxStreamBase&}{ buffer}}
\func{}{wxStreamBuffer}{\param{const wxStreamBase\&}{ buffer}}
Constructor, creates a new stream buffer from the specified stream \it{buffer}. Constructor, creates a new stream buffer from the specified stream \it{buffer}.
\membersection{wxStreamBuffer::~wxStreamBuffer} \membersection{wxStreamBuffer::\destruct{wxStreamBuffer}}
\func{}{\destruct{wxStreamBuffer}} \func{}{\destruct{wxStreamBuffer}}
Destructor, destroys the stream buffer. Destructor, destroys the stream buffer.
@@ -39,9 +46,9 @@ Destructor, destroys the stream buffer.
% ----------- % -----------
% Filtered IO % Filtered IO
% ----------- % -----------
\membersection{wxStreamBuffer::Read}\label{wxstreambufread} \membersection{wxStreamBuffer::Read}\label{wxstreambufread}
\func{size_t}{Read}{\param{void *}{buffer}, \param{size_t }{size}}
\func{size\_t}{Read}{\param{void *}{buffer}, \param{size\_t }{size}}
Reads a block of the specified \it{size} and stores datas in \it{buffer}. Reads a block of the specified \it{size} and stores datas in \it{buffer}.
@@ -52,137 +59,160 @@ It returns the real read size. If returned size is different of the specified
\helpref{GetError}{wxstreambasegeterror}. \helpref{GetError}{wxstreambasegeterror}.
\membersection{wxStreamBuffer::Read}\label{wxstreambufreadbuf} \membersection{wxStreamBuffer::Read}\label{wxstreambufreadbuf}
\func{size_t}{Read}{\param{wxStreamBuffer *}{buffer}}
\func{size\_t}{Read}{\param{wxStreamBuffer *}{buffer}}
Reads a \it{buffer}. The function returns when \it{buffer} is full or Reads a \it{buffer}. The function returns when \it{buffer} is full or
when there aren't datas anymore in the current buffer. when there aren't datas anymore in the current buffer.
\membersection{wxStreamBuffer::Write} \membersection{wxStreamBuffer::Write}
\func{size_t}{Write}{\param{const void *}{buffer}, \param{size_t }{size}}
\func{size\_t}{Write}{\param{const void *}{buffer}, \param{size\_t }{size}}
Writes a block of the specified \it{size} using datas of \it{buffer}. Writes a block of the specified \it{size} using datas of \it{buffer}.
\membersection{wxStreamBuffer::Write} \membersection{wxStreamBuffer::Write}
\func{size_t}{Write}{\param{wxStreamBuffer *}{buffer}}
\func{size\_t}{Write}{\param{wxStreamBuffer *}{buffer}}
See \helpref{Read}{wxstreambufreadbuf} See \helpref{Read}{wxstreambufreadbuf}
\membersection{wxStreamBuffer::WriteBack} \membersection{wxStreamBuffer::WriteBack}
\func{size_t}{WriteBack}{\param{const char *}{buffer}, \param{size_t}{ size}}
\func{size\_t}{WriteBack}{\param{const char *}{buffer}, \param{size\_t}{ size}}
This function is only useful in ``read'' mode. It puts the specified \it{buffer} This function is only useful in ``read'' mode. It puts the specified \it{buffer}
in the input queue of the stream buf. By this way, the next in the input queue of the stream buf. By this way, the next
\helpref{Read}{wxstreambufread} call will first use these datas. \helpref{Read}{wxstreambufread} call will first use these datas.
\membersection{wxStreamBuffer::WriteBack} \membersection{wxStreamBuffer::WriteBack}
\func{size_t}{WriteBack}{\param{char }{c}}
\func{size\_t}{WriteBack}{\param{char }{c}}
As for the previous function, it puts the specified byte in the input queue of the As for the previous function, it puts the specified byte in the input queue of the
stream buffer. stream buffer.
\membersection{wxStreamBuffer::GetChar} \membersection{wxStreamBuffer::GetChar}
\func{char}{GetChar}{\void} \func{char}{GetChar}{\void}
Gets a single char from the stream buffer. Gets a single char from the stream buffer.
\membersection{wxStreamBuffer::PutChar} \membersection{wxStreamBuffer::PutChar}
\func{void}{PutChar}{\param{char }{c}} \func{void}{PutChar}{\param{char }{c}}
Puts a single char to the stream buffer. Puts a single char to the stream buffer.
\membersection{wxStreamBuffer::Tell} \membersection{wxStreamBuffer::Tell}
\constfunc{off_t}{Tell}{\void}
\constfunc{off\_t}{Tell}{\void}
Gets the current position in the \it{stream}. Gets the current position in the \it{stream}.
\membersection{wxStreamBuffer::Seek} \membersection{wxStreamBuffer::Seek}
\func{off_t}{Seek}{\param{off_t }{pos}, \param{wxSeekMode }{mode}}
\func{off\_t}{Seek}{\param{off\_t }{pos}, \param{wxSeekMode }{mode}}
Changes the current position. (TODO) Changes the current position. (TODO)
% -------------- % --------------
% Buffer control % Buffer control
% -------------- % --------------
\membersection{wxStreamBuffer::ResetBuffer} \membersection{wxStreamBuffer::ResetBuffer}
\func{void}{ResetBuffer}{\void} \func{void}{ResetBuffer}{\void}
Frees all internal buffers and resets to initial state all variables. Frees all internal buffers and resets to initial state all variables.
\membersection{wxStreamBuffer::SetBufferIO} \membersection{wxStreamBuffer::SetBufferIO}
\func{void}{SetBufferIO}{\param{char *}{ buffer_start}, \param{char *}{ buffer_end}}
\func{void}{SetBufferIO}{\param{char *}{ buffer\_start}, \param{char *}{ buffer\_end}}
Specifies which pointers to use for stream buffering. You need to pass a pointer on the Specifies which pointers to use for stream buffering. You need to pass a pointer on the
start of the buffer end and another on the end. start of the buffer end and another on the end.
\membersection{wxStreamBuffer::SetBufferIO} \membersection{wxStreamBuffer::SetBufferIO}
\func{void}{SetBufferIO}{\param{size_t}{ bufsize}}
\func{void}{SetBufferIO}{\param{size\_t}{ bufsize}}
Changes the size of the current IO buffer. Changes the size of the current IO buffer.
\membersection{wxStreamBuffer::GetBufferStart} \membersection{wxStreamBuffer::GetBufferStart}
\constfunc{char *}{GetBufferStart}{\void} \constfunc{char *}{GetBufferStart}{\void}
Returns a pointer on the start of the stream buffer. Returns a pointer on the start of the stream buffer.
\membersection{wxStreamBuffer::GetBufferEnd} \membersection{wxStreamBuffer::GetBufferEnd}
\constfunc{char *}{GetBufferEnd}{\void} \constfunc{char *}{GetBufferEnd}{\void}
Returns a pointer on the end of the stream buffer. Returns a pointer on the end of the stream buffer.
\membersection{wxStreamBuffer::GetBufferPos} \membersection{wxStreamBuffer::GetBufferPos}
\constfunc{char *}{GetBufferPos}{\void} \constfunc{char *}{GetBufferPos}{\void}
Returns a pointer on the current position of the stream buffer. Returns a pointer on the current position of the stream buffer.
\membersection{wxStreamBuffer::GetIntPosition} \membersection{wxStreamBuffer::GetIntPosition}
\constfunc{off_t}{GetIntPosition}{\void}
\constfunc{off\_t}{GetIntPosition}{\void}
Returns the current position in the stream buffer. Returns the current position in the stream buffer.
\membersection{wxStreamBuffer::SetIntPosition} \membersection{wxStreamBuffer::SetIntPosition}
\func{void}{SetIntPosition}{\void} \func{void}{SetIntPosition}{\void}
Sets the current position in the stream buffer. Sets the current position in the stream buffer.
\membersection{wxStreamBuffer::GetLastAccess} \membersection{wxStreamBuffer::GetLastAccess}
\constfunc{size_t}{GetLastAccess}{\void}
\constfunc{size\_t}{GetLastAccess}{\void}
Returns the amount of bytes read during the last IO call to the parent stream. Returns the amount of bytes read during the last IO call to the parent stream.
\membersection{wxStreamBuffer::Fixed} \membersection{wxStreamBuffer::Fixed}
\func{void}{Fixed}{\param{bool}{ fixed}} \func{void}{Fixed}{\param{bool}{ fixed}}
Toggles the fixed flag. Usually this flag is toggled at the same time that Toggles the fixed flag. Usually this flag is toggled at the same time as
\it{flushable}. This flag allows (when it is false) or not (when it is true) \it{flushable}. This flag allows (when it is FALSE) or forbids (when it is TRUE)
the stream buffer to resize dynamically the IO buffer. the stream buffer to resize dynamically the IO buffer.
\membersection{wxStreamBuffer::Flushable} \membersection{wxStreamBuffer::Flushable}
\func{void}{Flushable}{\param{bool}{ flushable}} \func{void}{Flushable}{\param{bool}{ flushable}}
Toggles the flushable flag. If \it{flushable} is disabled, no datas are sent Toggles the flushable flag. If \it{flushable} is disabled, no datas are sent
to the parent stream. to the parent stream.
\membersection{wxStreamBuffer::FlushBuffer} \membersection{wxStreamBuffer::FlushBuffer}
\func{bool}{FlushBuffer}{\void} \func{bool}{FlushBuffer}{\void}
Flushes the IO buffer. Flushes the IO buffer.
\membersection{wxStreamBuffer::FillBuffer} \membersection{wxStreamBuffer::FillBuffer}
\func{bool}{FillBuffer}{\void} \func{bool}{FillBuffer}{\void}
Fill the IO buffer. Fill the IO buffer.
\membersection{wxStreamBuffer::GetDataLeft} \membersection{wxStreamBuffer::GetDataLeft}
\func{size_t}{GetDataLeft}{\void}
\func{size\_t}{GetDataLeft}{\void}
Returns the amount of available datas in the buffer. Returns the amount of available datas in the buffer.
% -------------- % --------------
% Administration % Administration
% -------------- % --------------
\membersection{wxStreamBuffer::Stream} \membersection{wxStreamBuffer::Stream}
\func{wxStreamBase *}{Stream}{\void} \func{wxStreamBase *}{Stream}{\void}
Returns the stream parent of the stream buffer. Returns the stream parent of the stream buffer.

View File

@@ -1,4 +1,3 @@
% automatically generated by HelpGen from textfile.tex at 10/Jan/99 18:47:37
\section{\class{wxTextFile}}\label{wxtextfile} \section{\class{wxTextFile}}\label{wxtextfile}
The wxTextFile is a simple class which allows to work with text files on line by The wxTextFile is a simple class which allows to work with text files on line by
@@ -42,10 +41,6 @@ nothing discards them! To save the chanegs you must explicitly call
termination type if you wish. termination type if you wish.
\end{itemize} \end{itemize}
\wxheading{See also:}
\helpref{wxFile}{wxfile}
\wxheading{Derived from} \wxheading{Derived from}
No base class No base class
@@ -60,12 +55,17 @@ enum wxTextFileType
wxTextFileType_Unix, // line is terminated with 'LF' = 0xA = 10 = '\n' wxTextFileType_Unix, // line is terminated with 'LF' = 0xA = 10 = '\n'
wxTextFileType_Dos, // 'CR' 'LF' wxTextFileType_Dos, // 'CR' 'LF'
wxTextFileType_Mac // 'CR' = 0xD = 13 = '\r' wxTextFileType_Mac // 'CR' = 0xD = 13 = '\r'
} };
\end{verbatim} \end{verbatim}
\wxheading{See also}
\helpref{wxFile}{wxfile}
\latexignore{\rtfignore{\wxheading{Members}}} \latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxTextFile::wxTextFile}\label{wxtextfilectordef} \membersection{wxTextFile::wxTextFile}\label{wxtextfilectordef}
\constfunc{}{wxTextFile}{\void} \constfunc{}{wxTextFile}{\void}
Default constructor, use Open(string) to initialize the object. Default constructor, use Open(string) to initialize the object.

View File

@@ -1,7 +1,6 @@
\section{File classes and functions overview}\label{wxfileoverview} \section{File classes and functions overview}\label{wxfileoverview}
Classes: \helpref{wxFile}{wxfile}\\ Classes: \helpref{wxFile}{wxfile}, \helpref{wxTempFile}{wxtempfile},
\helpref{wxTempFile}{wxtempfile}\\
\helpref{wxTextFile}{wxtextfile} \helpref{wxTextFile}{wxtextfile}
Functions: see \helpref{file functions}{filefunctions}. Functions: see \helpref{file functions}{filefunctions}.
@@ -25,3 +24,4 @@ by line basis. It is especially well suited for working with configuration files
and program source files. It can be also used to work with files with "non and program source files. It can be also used to work with files with "non
native" line termination characters and write them as "native" files if needed native" line termination characters and write them as "native" files if needed
(in fact, the files may be written in any format). (in fact, the files may be written in any format).

View File

@@ -5,3 +5,4 @@ Classes: \helpref{wxThread}{wxthread}, \helpref{wxMutex}{wxmutex},
\helpref{wxCondition}{wxcondition} \helpref{wxCondition}{wxcondition}
TODO TODO

View File

@@ -57,3 +57,4 @@ Override this function to receive dropped text.
\wxheading{Return value} \wxheading{Return value}
Return TRUE to accept the data, FALSE to veto the operation. Return TRUE to accept the data, FALSE to veto the operation.

View File

@@ -86,7 +86,8 @@ Returns the initialized stream. You will have to delete it yourself.
\wxheading{See also} \wxheading{See also}
\helpref{wxInputStream}{wxinputstream} %\helpref{wxInputStream}{wxinputstream}
wxInputStream
% %
% SetDefaultProxy % SetDefaultProxy

View File

@@ -1292,6 +1292,8 @@ void MyWindow::OnPaint(wxPaintEvent& event)
\helpref{wxPaintDC}{wxpaintdc},\rtfsp \helpref{wxPaintDC}{wxpaintdc},\rtfsp
\helpref{Event handling overview}{eventhandlingoverview} \helpref{Event handling overview}{eventhandlingoverview}
\membersection{wxWindow::OnScroll}\label{wxwindowonscroll}
\func{void}{OnScroll}{\param{wxScrollEvent\& }{event}} \func{void}{OnScroll}{\param{wxScrollEvent\& }{event}}
Called when a scroll event is received from one of the window's built-in scrollbars. Called when a scroll event is received from one of the window's built-in scrollbars.

View File

@@ -248,8 +248,7 @@ bool wxApp::Initialize()
// This is to foil optimizations in Visual C++ that // This is to foil optimizations in Visual C++ that
// throw out dummy.obj. // throw out dummy.obj.
// #if (_MSC_VER >= 800) && !defined(WXMAKINGDLL) #if defined(_MSC_VER) && !defined(WXMAKINGDLL)
#if defined(_MSC_VER) && defined(__WIN16__) && !defined(WXMAKINGDLL)
extern char wxDummyChar; extern char wxDummyChar;
if (wxDummyChar) wxDummyChar++; if (wxDummyChar) wxDummyChar++;
#endif #endif

View File

@@ -41,7 +41,7 @@
// Foils optimizations in Visual C++ (see also app.cpp). Without it, // Foils optimizations in Visual C++ (see also app.cpp). Without it,
// dummy.obj isn't linked and we get a linker error. // dummy.obj isn't linked and we get a linker error.
#if defined(_MSC_VER) && defined(__WIN16__) #if defined(_MSC_VER)
char wxDummyChar=0; char wxDummyChar=0;
#endif #endif