tools/gettext/msgunfmt.exe
src/makeb32.env
+src/makeprog.b32
src/makebcc.env
+src/makeprog.bcc
src/makemsc.env
src/makeprog.msc
src/makewat.env
src/makeprog.wat
src/makesc.env
src/makevc.env
+src/makeprog.vc
+src/makelib.vc
src/makeg95.env
src/makesl.env
src/makeprog.sl
src/salford.lnk
src/maketwin.env
src/makeprog.twn
-src/makeprog.vc
-src/makelib.vc
src/makefile.bcc
src/makefile.dos
src/makefile.vc
\wxheading{See also}
-\helpref{wxStreamBuffer}{wxstreamBuffer},\helpref{wxInputStream}{wxinputstream}
+\helpref{wxStreamBuffer}{wxstreamBuffer}, \helpref{wxInputStream}{wxinputstream}
\wxheading{Short description}
-This stream uncompresses all data read from it, it uses the ``filtered''
+
+This stream uncompresses all data read from it. It uses the ``filtered''
stream to get new compressed data.
% -----------------------------------------------------------------------------
\wxheading{See also}
-\helpref{wxStreamBuffer}{wxstreamBuffer},\helpref{wxOutputStream}{woutputstream}
+\helpref{wxStreamBuffer}{wxstreamBuffer}, \helpref{wxOutputStream}{woutputstream}
\wxheading{Short description}
+
This stream compresses all data written to it and passed the compressed data
to the ``filtered'' stream.
\membersection{wxFileInputStream::wxFileInputStream}
-\func{}{wxFileInputStream}{\param{const wxString&}{ ifileName}}
+\func{}{wxFileInputStream}{\param{const wxString\&}{ ifileName}}
Opens the specified file using its \it{ifilename} name in read-only mode.
-\func{}{wxFileInputStream}{\param{wxFile&}{ file}}
+\func{}{wxFileInputStream}{\param{wxFile\&}{ file}}
Initializes a file stream in read-only mode using the file I/O object \it{file}.
-\func{}{wxFileInputStream}{\param{int}{ fd}};
+\func{}{wxFileInputStream}{\param{int}{ fd}}
Initializes a file stream in read-only mode using the specified file descriptor.
\membersection{wxFileInputStream::\destruct{wxFileInputStream}}
-\func{}{\destruct{wxFileInputStream}{\void}
+
+\func{}{\destruct{wxFileInputStream}}{\void}
Destructor.
\membersection{wxFileInputStream::Ok}
+
\constfunc{bool}{Ok}{\void}
Returns TRUE if the stream is initialized and ready.
\membersection{wxFileOutputStream::wxFileOutputStream}
-\func{}{wxFileOutputStream}{\param{const wxString&}{ ofileName}}
+\func{}{wxFileOutputStream}{\param{const wxString\&}{ ofileName}}
Creates a new file with \it{ofilename} name and initializes the stream in
write-only mode.
\func{}{wxFileOutputStream}{\param{wxFile&}{ file}}
+
Initializes a file stream in write-only mode using the file I/O object \it{file}.
\func{}{wxFileOutputStream}{\param{int}{ fd}}
+
Initializes a file stream in write-only mode using the file descriptor \it{fd}.
\membersection{wxFileOutputStream::\destruct{wxFileOutputStream}}
-\func{}{\destruct{wxFileOutputStream}{\void}
+
+\func{}{\destruct{wxFileOutputStream}}{\void}
Destructor.
\membersection{wxFileOutputStream::Ok}
+
\constfunc{bool}{Ok}{\void}
Returns TRUE if the stream is initialized and ready.
\membersection{wxFileStream::wxFileStream}
-\func{}{wxFileStream}{\param{const wxString&}{ iofileName}}
+\func{}{wxFileStream}{\param{const wxString\&}{ iofileName}}
-Initializes a new file stream in read-write mode using the specified
+Initializes a new file stream in read-write mode using the specified
\it{iofilename} name.
% -----------------------------------------------------------------------------
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSocketInputStream::wxSocketInputStream}
-\func{}{wxSocketInputStream}{\param{wxSocketBase&}{ s}}
+
+\func{}{wxSocketInputStream}{\param{wxSocketBase\&}{ s}}
Initializes a new read-only socket stream using the specified initialized
socket connection.
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSocketOutputStream::wxSocketOutputStream}
-\func{}{wxSocketInputStream}{\param{wxSocketBase&}{ s}}
+
+\func{}{wxSocketInputStream}{\param{wxSocketBase\&}{ s}}
Initializes a new write-only socket stream using the specified initialized
socket connection.
+
\constfunc [3] {{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
\windowstyle [1] {{\bf #1}\index{#1}}
%\pythonnote [1] {{\bf wxPython note: }#1}
-\pythonnote [1] {{}}
+\pythonnote [1] {}
(*wnd) << "Welcome to text control number " << 1 << ".\n";
\end{verbatim}
-
virtual bool LoadFile(const wxString& file);
virtual bool SaveFile(const wxString& file);
virtual void WriteText(const wxString& text);
+ virtual void AppendText(const wxString& text);
virtual void DiscardEdits();
virtual bool IsModified() const;
bool wxFileDropTarget::OnDrop(long x, long y, const void *data, size_t size )
{
size_t number = 0;
+ size_t i;
char *text = (char*) data;
- for (size_t i = 0; i < size; i++)
+ for (i = 0; i < size; i++)
if (text[i] == 0) number++;
if (number == 0) return TRUE;
char **files = new char*[number];
text = (char*) data;
- for (size_t i = 0; i < number; i++)
+ for (i = 0; i < number; i++)
{
files[i] = text;
int len = strlen( text );
bool wxFileDropTarget::OnDrop(long x, long y, const void *data, size_t size )
{
size_t number = 0;
+ size_t i;
char *text = (char*) data;
- for (size_t i = 0; i < size; i++)
+ for ( i = 0; i < size; i++)
if (text[i] == 0) number++;
if (number == 0) return TRUE;
char **files = new char*[number];
text = (char*) data;
- for (size_t i = 0; i < number; i++)
+ for (i = 0; i < number; i++)
{
files[i] = text;
int len = strlen( text );
bool wxFileDropTarget::OnDrop(long x, long y, const void *data, size_t size )
{
size_t number = 0;
+ size_t i;
char *text = (char*) data;
- for (size_t i = 0; i < size; i++)
+ for (i = 0; i < size; i++)
if (text[i] == 0) number++;
if (number == 0) return TRUE;
char **files = new char*[number];
text = (char*) data;
- for (size_t i = 0; i < number; i++)
+ for (i = 0; i < number; i++)
{
files[i] = text;
int len = strlen( text );
bool wxFileDropTarget::OnDrop(long x, long y, const void *data, size_t size )
{
size_t number = 0;
+ size_t i;
char *text = (char*) data;
- for (size_t i = 0; i < size; i++)
+ for ( i = 0; i < size; i++)
if (text[i] == 0) number++;
if (number == 0) return TRUE;
char **files = new char*[number];
text = (char*) data;
- for (size_t i = 0; i < number; i++)
+ for (i = 0; i < number; i++)
{
files[i] = text;
int len = strlen( text );
{
wxLogDebug( "Got %d dropped files.", (int)nFiles );
wxLogDebug( "At x: %d, y: %d.", (int)x, (int)y );
- for (size_t i = 0; i < nFiles; i++)
+ size_t i;
+ for (i = 0; i < nFiles; i++)
{
wxLogDebug( aszFiles[i] );
}
{
size_t number = 0;
char *text = (char*) data;
- for (size_t i = 0; i < size; i++)
+ size_t i;
+ for (i = 0; i < size; i++)
if (text[i] == 0) number++;
if (number == 0) return TRUE;
char **files = new char*[number];
text = (char*) data;
- for (size_t i = 0; i < number; i++)
+ for ( i = 0; i < number; i++)
{
files[i] = text;
int len = strlen( text );
m_modified = TRUE;
}
+void wxTextCtrl::AppendText(const wxString& text)
+{
+ long textPosition = GetLastPosition() + strlen(text);
+ XmTextInsert ((Widget) m_mainWidget, GetLastPosition(), (char*) (const char*) text);
+ XtVaSetValues ((Widget) m_mainWidget, XmNcursorPosition, textPosition, NULL);
+ SetInsertionPoint(textPosition);
+ XmTextShowPosition ((Widget) m_mainWidget, textPosition);
+ m_modified = TRUE;
+}
+
void wxTextCtrl::Clear()
{
XmTextSetString ((Widget) m_mainWidget, "");
wxTextCtrl& wxTextCtrl::operator<<(const wxString& s)
{
- WriteText(s);
+ AppendText(s);
return *this;
}
{
wxString str;
str.Printf("%.2f", f);
- WriteText(str);
+ AppendText(str);
return *this;
}
{
wxString str;
str.Printf("%.2f", d);
- WriteText(str);
+ AppendText(str);
return *this;
}
{
wxString str;
str.Printf("%d", i);
- WriteText(str);
+ AppendText(str);
return *this;
}
{
wxString str;
str.Printf("%ld", i);
- WriteText(str);
+ AppendText(str);
return *this;
}
buf[0] = c;
buf[1] = 0;
- WriteText(buf);
+ AppendText(buf);
return *this;
}
*/
//=======================================================================
- wxString theFilter = ( Strlen(m_wildCard) == 0 ) ? wxString("*.*") : m_wildCard;
+ wxString theFilter;
+ if ( Strlen(m_wildCard) == 0 )
+ theFilter = wxString("*.*");
+ else
+ theFilter = m_wildCard ;
wxString filterBuffer;
if ( !strchr( theFilter, '|' ) ) { // only one filter ==> default text