applied typos and spelling error fixes patch from Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -345,7 +345,7 @@ work and, in fact, probably won't.
|
||||
%%application have all been processed, wxWindows sends an OnIdle event to the application object. wxApp::OnIdle itself
|
||||
%%sends an OnIdle event to each application window, allowing windows to do idle processing such as updating
|
||||
%%their appearance. If either wxApp::OnIdle or a window OnIdle function requested more time, by
|
||||
%%caling \helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}, wxWindows will send another OnIdle
|
||||
%%calling \helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}, wxWindows will send another OnIdle
|
||||
%%event to the application object. This will occur in a loop until either a user event is found to be
|
||||
%%pending, or OnIdle requests no more time. Then all pending user events are processed until the system
|
||||
%%goes idle again, when OnIdle is called, and so on.
|
||||
@@ -449,7 +449,7 @@ may wish to process it. The function returns TRUE if the message
|
||||
was processed, FALSE otherwise. If you use wxWindows with another class
|
||||
library with its own message loop, you should make sure that this
|
||||
function is called to allow wxWindows to receive messages. For example,
|
||||
to allow co-existance with the Microsoft Foundation Classes, override
|
||||
to allow co-existence with the Microsoft Foundation Classes, override
|
||||
the PreTranslateMessage function:
|
||||
|
||||
\begin{verbatim}
|
||||
@@ -587,7 +587,7 @@ wxWindows.
|
||||
Allows the programmer to specify whether the application will use the best visual
|
||||
on systems that support several visual on the same display. This is typically the
|
||||
case under Solaris and IRIX, where the default visual is only 8-bit whereas certain
|
||||
appications are supposed to run in TrueColour mode.
|
||||
applications are supposed to run in TrueColour mode.
|
||||
|
||||
Note that this function has to be called in the constructor of the {\tt wxApp}
|
||||
instance and won't have any effect when called later on.
|
||||
|
@@ -97,7 +97,7 @@ class MyDirectory
|
||||
// now that we have MyDirectory declaration in scope we may finish the
|
||||
// definition of ArrayOfDirectories -- note that this expands into some C++
|
||||
// code and so should only be compiled once (i.e., don't put this in the
|
||||
// header, but into a source file or you will get linkin errors)
|
||||
// header, but into a source file or you will get linking errors)
|
||||
#include <wx/arrimpl.cpp> // this is a magic incantation which must be done!
|
||||
WX_DEFINE_OBJARRAY(ArrayOfDirectories);
|
||||
|
||||
@@ -177,7 +177,7 @@ amount, but no more than some maximal number which is defined by
|
||||
ARRAY\_MAXSIZE\_INCREMENT constant. Of course, this may lead to some memory
|
||||
being wasted (ARRAY\_MAXSIZE\_INCREMENT in the worst case, i.e. 4Kb in the
|
||||
current implementation), so the \helpref{Shrink()}{wxarrayshrink} function is
|
||||
provided to unallocate the extra memory. The \helpref{Alloc()}{wxarrayalloc}
|
||||
provided to deallocate the extra memory. The \helpref{Alloc()}{wxarrayalloc}
|
||||
function can also be quite useful if you know in advance how many items you are
|
||||
going to put in the array and will prevent the array code from reallocating the
|
||||
memory more times than needed.
|
||||
|
@@ -26,14 +26,14 @@ array elements may be modified in place like this
|
||||
array.Last().MakeUpper();
|
||||
\end{verbatim}
|
||||
|
||||
There is also a varian of wxArrayString called wxSortedArrayString which has
|
||||
There is also a variant of wxArrayString called wxSortedArrayString which has
|
||||
exactly the same methods as wxArrayString, but which always keeps the string
|
||||
in it in (alphabetical) order. wxSortedArrayString uses binary search in its
|
||||
\helpref{Index}{wxarraystringindex} function (insteadf of linear search for
|
||||
\helpref{Index}{wxarraystringindex} function (instead of linear search for
|
||||
wxArrayString::Index) which makes it much more efficient if you add strings to
|
||||
the array rarely (because, of course, you have to pay for Index() efficiency
|
||||
by having Add() be slower) but search for them often. Several methods should
|
||||
not be used with sorted array (basicly, all which break the order of items)
|
||||
not be used with sorted array (basically, all which break the order of items)
|
||||
which is mentioned in their description.
|
||||
|
||||
Final word: none of the methods of wxArrayString is virtual including its
|
||||
|
@@ -92,7 +92,7 @@ Gets the IDispatch pointer.
|
||||
\constfunc{bool}{GetInstance}{\param{const wxString\&}{ classId}}
|
||||
|
||||
Retrieves the current object associated with a class id, and attaches the IDispatch pointer
|
||||
to this object. Returns TRUE if a pointer was succesfully retrieved, FALSE otherwise.
|
||||
to this object. Returns TRUE if a pointer was successfully retrieved, FALSE otherwise.
|
||||
|
||||
Note that this cannot cope with two instances of a given OLE object being active simultaneously,
|
||||
such as two copies of Excel running. Which object is referenced cannot currently be specified.
|
||||
|
@@ -176,7 +176,7 @@ and/or \urlref{http://www.wxwindows.org}{http://www.wxwindows.org}.}
|
||||
|
||||
You can also buy a CD-ROM using the form on the Web site.
|
||||
|
||||
\section{Acknowledgments}
|
||||
\section{Acknowledgements}
|
||||
|
||||
Thanks are due to AIAI for being willing to release the original version of
|
||||
wxWindows into the public domain, and to our patient partners.
|
||||
|
@@ -29,7 +29,7 @@ font and without border, but setting custom attributes with
|
||||
create a custom attribute object and set it for the day you want to be
|
||||
displayed specially (note that the control will take ownership of the pointer,
|
||||
i.e. it will delete it itself). A day may be marked as being a holiday, even
|
||||
if it is not reckognized as oen by \helpref{wxDateTime}{tdateholidays} using
|
||||
if it is not recognized as one by \helpref{wxDateTime}{tdateholidays} using
|
||||
\helpref{SetHoliday}{wxcalendardateattrsetholiday} method.
|
||||
|
||||
As the attributes are specified for each day, they may change when the month
|
||||
@@ -70,7 +70,7 @@ direct input to member functions that take a
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=7pt
|
||||
\twocolitem{{\bf EVT\_CALENDAR(id, func)}}{A day was double clickedi n the calendar.}
|
||||
\twocolitem{{\bf EVT\_CALENDAR(id, func)}}{A day was double clicked in the calendar.}
|
||||
\twocolitem{{\bf EVT\_CALENDAR\_SEL\_CHANGED(id, func)}}{The selected date changed.}
|
||||
\twocolitem{{\bf EVT\_CALENDAR\_DAY(id, func)}}{The selected day changed.}
|
||||
\twocolitem{{\bf EVT\_CALENDAR\_MONTH(id, func)}}{The selected month changed.}
|
||||
@@ -148,7 +148,7 @@ Gets the currently selected date.
|
||||
\func{void}{EnableYearChange}{\param{bool }{enable = TRUE}}
|
||||
|
||||
This function should be used instead of changing {\tt wxCAL\_NO\_YEAR\_CHANGE}
|
||||
style bit directly. It allows or disallows the user to chaneg the year
|
||||
style bit directly. It allows or disallows the user to change the year
|
||||
interactively.
|
||||
|
||||
\membersection{wxCalendarCtrl::EnableMonthChange}\label{wxcalendarctrlenablemonthchange}
|
||||
@@ -231,7 +231,7 @@ window style includes {\tt wxCAL\_SHOW\_HOLIDAYS} flag).
|
||||
|
||||
\constfunc{const wxColour\&}{GetHolidayColourFg}{\void}
|
||||
|
||||
Return the foregound colour currently used for holiday highlighting.
|
||||
Return the foreground colour currently used for holiday highlighting.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
@@ -41,7 +41,7 @@ wxTE\_PROCESS\_ENTER flag when creating the control if you want it to generate
|
||||
such events.}
|
||||
\twocolitem{{\bf EVT\_TEXT\_MAXLEN(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_MAXLEN command,
|
||||
which is generated by a wxTextCtrl control when the user tries to enter more
|
||||
characters into it than the limit previosuly set with
|
||||
characters into it than the limit previously set with
|
||||
\helpref{SetMaxLength}{wxtextctrlsetmaxlength}.}
|
||||
\twocolitem{{\bf EVT\_MENU(id, func)}}{Process a wxEVT\_COMMAND\_MENU\_SELECTED command,
|
||||
which is generated by a menu item.}
|
||||
|
@@ -178,7 +178,7 @@ combination of \helpref{AddSwitch}{wxcmdlineparseraddswitch},
|
||||
|
||||
Using constructors or \helpref{SetDesc}{wxcmdlineparsersetdesc} uses a (usually
|
||||
{\tt const static}) table containing the command line description. If you want
|
||||
to decide which options to acccept during the run-time, using one of the
|
||||
to decide which options to accept during the run-time, using one of the
|
||||
{\tt AddXXX()} functions above might be preferable.
|
||||
|
||||
\membersection{Customization}\label{wxcmdlineparsercustomization}
|
||||
|
@@ -233,7 +233,7 @@ The default custom colours are all white.
|
||||
|
||||
\func{void}{operator $=$}{\param{const wxColourData\&}{ data}}
|
||||
|
||||
Assingment operator for the colour data.
|
||||
Assignment operator for the colour data.
|
||||
|
||||
\section{\class{wxColourDatabase}}\label{wxcolourdatabase}
|
||||
|
||||
|
@@ -28,7 +28,7 @@ a new class and call this constructor from your own constructor.
|
||||
|
||||
{\it canUndo} tells the command processor whether this command is undo-able. You
|
||||
can achieve the same functionality by overriding the CanUndo member function (if for example
|
||||
the criteria for undoability is context-dependant).
|
||||
the criteria for undoability is context-dependent).
|
||||
|
||||
{\it name} must be supplied for the command processor to display the command name
|
||||
in the application's edit menu.
|
||||
|
@@ -187,7 +187,7 @@ config file. All functions here return FALSE when there are no more items.
|
||||
|
||||
You must pass the same index to GetNext and GetFirst (don't modify it).
|
||||
Please note that it is {\bf not} the index of the current item (you will have
|
||||
some great surprizes with wxRegConfig if you assume this) and you shouldn't
|
||||
some great surprises with wxRegConfig if you assume this) and you shouldn't
|
||||
even look at it: it is just a "cookie" which stores the state of the
|
||||
enumeration. It can't be stored inside the class because it would prevent you
|
||||
from running several enumerations simultaneously, that's why you must pass it
|
||||
|
@@ -39,7 +39,7 @@ Default constructor initializes critical section object.
|
||||
|
||||
\func{}{\destruct{wxCriticalSection}}{\void}
|
||||
|
||||
Destructor frees the ressources.
|
||||
Destructor frees the resources.
|
||||
|
||||
\membersection{wxCriticalSection::Enter}\label{wxcriticalsectionenter}
|
||||
|
||||
|
@@ -9,7 +9,7 @@ and difficult to debug problems).
|
||||
Example of using it:
|
||||
|
||||
\begin{verbatim}
|
||||
void SetFoo()
|
||||
void Set Foo()
|
||||
{
|
||||
// gs_critSect is some (global) critical section guarding access to the
|
||||
// object "foo"
|
||||
@@ -59,5 +59,5 @@ Constructs a wxCriticalSectionLocker object associated with given
|
||||
|
||||
\func{}{\destruct{wxCriticalSectionLocker}}{\void}
|
||||
|
||||
Destuctor leaves the critical section.
|
||||
Destructor leaves the critical section.
|
||||
|
||||
|
@@ -69,7 +69,7 @@ Constructs a cursor using a cursor identifier.
|
||||
|
||||
\func{}{wxCursor}{\param{const wxImage\&}{ image}}
|
||||
|
||||
Constructs a cursor from a wxImage. The cursor is monochome, colors with the RGB elements all greater
|
||||
Constructs a cursor from a wxImage. The cursor is monochrome, colors with the RGB elements all greater
|
||||
than 127 will be foreground, colors less than this background. The mask (if any) will be used as transparent.
|
||||
|
||||
In MSW the foreground will be white and the background black. The cursor is resized to 32x32
|
||||
@@ -162,7 +162,7 @@ hotSpotY=0)}}{Constructs a cursor from a filename}
|
||||
\end{twocollist}}
|
||||
}
|
||||
|
||||
\perlnote{Contructors supported by wxPerl are:\par
|
||||
\perlnote{Constructors supported by wxPerl are:\par
|
||||
\begin{itemize}
|
||||
\item{Wx::Cursor->new( name, type, hotSpotX = 0, hotSpotY = 0 )}
|
||||
\item{Wx::Cursor->new( id )}
|
||||
|
@@ -36,7 +36,7 @@ enum Direction
|
||||
which allows to distinguish between them. See
|
||||
\helpref{wxDataFormat}{wxdataformat} documentation for more about formats.
|
||||
|
||||
Not surprizingly, being 'smart' comes at a price of added complexity. This is
|
||||
Not surprisingly, being 'smart' comes at a price of added complexity. This is
|
||||
reasonable for the situations when you really need to support multiple formats,
|
||||
but may be annoying if you only want to do something simple like cut and paste
|
||||
text.
|
||||
|
@@ -546,14 +546,14 @@ DST convention and date and time formatting rules.
|
||||
|
||||
\func{static bool}{IsDSTApplicable}{\param{int }{year = Inv\_Year}, \param{Country }{country = Country\_Default}}
|
||||
|
||||
Returns {\tt TRUE} if DST was usedi n the given year (the current one by
|
||||
Returns {\tt TRUE} if DST was used n the given year (the current one by
|
||||
default) in the given country.
|
||||
|
||||
\membersection{wxDateTime::Now}\label{wxdatetimenow}
|
||||
|
||||
\func{static wxDateTime}{Now}{\void}
|
||||
|
||||
Returns the object corresopnding to the current time.
|
||||
Returns the object corresponding to the current time.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -564,7 +564,7 @@ Example:
|
||||
|
||||
Note that this function is accurate up to second:
|
||||
\helpref{wxDateTime::UNow}{wxdatetimeunow} should be used for better precision
|
||||
(but it is less efficient and might not be availabel on all platforms).
|
||||
(but it is less efficient and might not be available on all platforms).
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
@@ -599,7 +599,7 @@ same as \helpref{Now()}{wxdatetimenow}, but the time part is set to $0$).
|
||||
|
||||
\func{static wxDateTime}{UNow}{\void}
|
||||
|
||||
Returns the object corresopnding to the current time including the
|
||||
Returns the object corresponding to the current time including the
|
||||
milliseconds if a function to get time with such precision is available on the
|
||||
current platform (supported under most Unices and Win32).
|
||||
|
||||
@@ -677,7 +677,7 @@ since Jan 1, 1970.
|
||||
|
||||
\func{wxDateTime\&}{Set}{\param{const struct tm\& }{tm}}
|
||||
|
||||
Sets the date and tiem from the broken down representation in the standard
|
||||
Sets the date and time from the broken down representation in the standard
|
||||
{\tt tm} structure.
|
||||
|
||||
\pythonnote{Unsupported.}
|
||||
@@ -690,7 +690,7 @@ Sets the date from the so-called {\it Julian Day Number}.
|
||||
|
||||
By definition, the Julian Day Number, usually abbreviated as JDN, of a
|
||||
particular instant is the fractional number of days since 12 hours Universal
|
||||
Coordinated Time (Greenwhich mean noon) on January 1 of the year -4712 in the
|
||||
Coordinated Time (Greenwich mean noon) on January 1 of the year -4712 in the
|
||||
Julian proleptic calendar.
|
||||
|
||||
\pythonnote{This method is named {\tt SetJDN} in wxPython.}
|
||||
@@ -916,7 +916,7 @@ Returns {\tt TRUE} if this date lies strictly between the two others,
|
||||
\constfunc{bool}{IsBetween}{\param{const wxDateTime\& }{t1}, \param{const wxDateTime\& }{t2}}
|
||||
|
||||
Returns {\tt TRUE} if \helpref{IsStrictlyBetween}{wxdatetimeisstrictlybetween}
|
||||
is {\tt TRUE} or if the date is equal to one of the limi values.
|
||||
is {\tt TRUE} or if the date is equal to one of the limit values.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
@@ -1016,7 +1016,7 @@ the character immediately following the part of the string which could be
|
||||
parsed. If the entire string contains only the date in RFC 822 format,
|
||||
the returned pointer will be pointing to a {\tt NUL} character.
|
||||
|
||||
This function is intenionally strict, it will return an error for any string
|
||||
This function is intentionally strict, it will return an error for any string
|
||||
which is not RFC 822 compliant. If you need to parse date formatted in more
|
||||
free ways, you should use \helpref{ParseDateTime}{wxdatetimeparsedatetime} or
|
||||
\helpref{ParseDate}{wxdatetimeparsedate} instead.
|
||||
@@ -1088,7 +1088,7 @@ Please see its description for the meaning of {\it format} parameter.
|
||||
|
||||
It also accepts a few wxWindows-specific extensions: you can optionally specify
|
||||
the width of the field to follow using {\tt printf(3)}-like syntax and the
|
||||
format specificator {\tt \%l} can be used to get the number of milliseconds.
|
||||
format specification {\tt \%l} can be used to get the number of milliseconds.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
@@ -1179,7 +1179,7 @@ Returns the copy of this object to which
|
||||
|
||||
Sets the date to the {\it n}-th {\it weekday} in the given month of the given
|
||||
year (the current month and year are used by default). The parameter {\it n}
|
||||
may be either opsitive (counting from the beginning of the month) or negative
|
||||
may be either positive (counting from the beginning of the month) or negative
|
||||
(counting from the end of it).
|
||||
|
||||
For example, {\tt SetToWeekDay(2, wxDateTime::Wed)} will set the date to the
|
||||
|
@@ -1,7 +1,7 @@
|
||||
\section{\class{wxDataInputStream}}\label{wxdatainputstream}
|
||||
|
||||
This class provides functions that read binary data types in a
|
||||
portable way. Data can be read in either big-endian or litte-endian
|
||||
portable way. Data can be read in either big-endian or little-endian
|
||||
format, little-endian being the default on all architectures.
|
||||
|
||||
If you want to read data from text files (or streams) use
|
||||
|
@@ -1,7 +1,7 @@
|
||||
\section{\class{wxDataOutputStream}}\label{wxdataoutputstream}
|
||||
|
||||
This class provides functions that write binary data types in a
|
||||
portable way. Data can be written in either big-endian or litte-endian
|
||||
portable way. Data can be written in either big-endian or little-endian
|
||||
format, little-endian being the default on all architectures.
|
||||
|
||||
If you want to write data to text files (or streams) use
|
||||
|
@@ -733,7 +733,7 @@ of processing.
|
||||
|
||||
Older form (pre-2.3/2.4 of wxWindows) of the
|
||||
\helpref{wxDb::IsFwdOnlyCursors}{wxdbisfwdonlycursors}. This method is
|
||||
provided for backward compatability only. The method
|
||||
provided for backward compatibility only. The method
|
||||
\helpref{wxDb::IsFwdOnlyCursors}{wxdbisfwdonlycursors} should be
|
||||
used in place of this method.
|
||||
|
||||
@@ -3105,7 +3105,7 @@ If the function returns a FALSE value due to the table not existing, a log
|
||||
entry is recorded for the datasource connection indicating the problem
|
||||
that was detected when checking for table existence. Note that it is usually
|
||||
best for the calling routine to check for the existence of the table and for
|
||||
sufficent user privileges to access the table in the mode (wxDB\_QUERY\_ONLY or
|
||||
sufficient user privileges to access the table in the mode (wxDB\_QUERY\_ONLY or
|
||||
!wxDB\_QUERY\_ONLY) before trying to open the table for the best possible
|
||||
explanation as to why a table cannot be opened.
|
||||
|
||||
|
@@ -694,7 +694,7 @@ Gets the current text foreground colour (see \helpref{wxDC::SetTextForeground}{w
|
||||
|
||||
Gets the current user scale factor (set by \helpref{SetUserScale}{wxdcsetuserscale}).
|
||||
|
||||
\perlnote{In wxPerl this method takes no arguments and returna a two element
|
||||
\perlnote{In wxPerl this method takes no arguments and return a two element
|
||||
array {\tt ( x, y )}}
|
||||
|
||||
\membersection{wxDC::LogicalToDeviceX}\label{wxdclogicaltodevicex}
|
||||
@@ -913,7 +913,7 @@ measurement used to convert logical units to device units. Note that
|
||||
in X, text drawing isn't handled consistently with the mapping mode; a
|
||||
font is always specified in point size. However, setting the {\it
|
||||
user scale} (see \helpref{wxDC::SetUserScale}{wxdcsetuserscale}) scales the text appropriately. In
|
||||
Windows, scaleable TrueType fonts are always used; in X, results depend
|
||||
Windows, scalable TrueType fonts are always used; in X, results depend
|
||||
on availability of fonts, but usually a reasonable match is found.
|
||||
|
||||
Note that the coordinate origin should ideally be selectable, but for
|
||||
@@ -998,7 +998,7 @@ Starts a document page (only relevant when outputting to a printer).
|
||||
\section{\class{wxDCClipper}}\label{wxdcclipper}
|
||||
|
||||
This is a small helper class which sets the specified to its constructor
|
||||
clipping region and then automatically destroyes it in its destructor. Using
|
||||
clipping region and then automatically destroys it in its destructor. Using
|
||||
it ensures that unwanted clipping region is not left set on the DC.
|
||||
|
||||
\wxheading{Derived from}
|
||||
@@ -1028,5 +1028,5 @@ specified rectangle.
|
||||
|
||||
\func{}{\destruct{wxDCClipper}}{\void}
|
||||
|
||||
Destructor: destroyes the clipping region set in the constructor.
|
||||
Destructor: destroys the clipping region set in the constructor.
|
||||
|
||||
|
@@ -43,7 +43,7 @@ dialog to respond to system close events.
|
||||
\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{The dialog stays on top of all other windows (Windows only).}
|
||||
\twocolitem{\windowstyle{wxNO\_3D}}{Under Windows, specifies that the child controls
|
||||
should not have 3D borders unless specified in the control.}
|
||||
\twocolitem{\windowstyle{wxDIALOG\_NO\_PARENT}}{By default, the dialogs crated
|
||||
\twocolitem{\windowstyle{wxDIALOG\_NO\_PARENT}}{By default, the dialogs created
|
||||
with {\tt NULL} parent window will be given the
|
||||
\helpref{applications top level window}{wxappgettopwindow} as parent. Use this
|
||||
style to prevent this from happening and create a really orphan dialog (note
|
||||
@@ -55,7 +55,7 @@ style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle}
|
||||
\end{twocollist}
|
||||
|
||||
Under Unix or Linux, MWM (the Motif Window Manager) or other window managers
|
||||
reckognizing the MHM hints should be running for any of these styles to have an
|
||||
recognizing the MHM hints should be running for any of these styles to have an
|
||||
effect.
|
||||
|
||||
See also \helpref{Generic window styles}{windowstyles}.
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
\section{\class{wxDialUpManager}}\label{wxdialupmanager}
|
||||
|
||||
This class encapsulates functions dealing with veryfying the connection status
|
||||
This class encapsulates functions dealing with verifying the connection status
|
||||
of the workstation (connected to the Internet via a direct connection,
|
||||
connected through a modem or not connected at all) and to establish this
|
||||
connection if possible/required (i.e. in the case of the modem).
|
||||
@@ -91,7 +91,7 @@ their number (may be $0$).
|
||||
|
||||
\func{bool}{Dial}{\param{const wxString\& }{nameOfISP = wxEmptyString}, \param{const wxString\& }{username = wxEmptyString}, \param{const wxString\& }{password = wxEmptyString}, \param{bool }{async = TRUE}}
|
||||
|
||||
Dial the given ISP, use {\it username} and {\it password} to authentificate.
|
||||
Dial the given ISP, use {\it username} and {\it password} to authenticate.
|
||||
|
||||
The parameters are only used under Windows currently, for Unix you should use
|
||||
\helpref{SetConnectCommand}{wxdialupmanagersetconnectcommand} to customize this
|
||||
@@ -175,7 +175,7 @@ algorithm may think about it.
|
||||
|
||||
\func{bool}{EnableAutoCheckOnlineStatus}{\param{size\_t }{nSeconds = 60}}
|
||||
|
||||
Enable automatical checks for the connection status and sending of
|
||||
Enable automatic checks for the connection status and sending of
|
||||
{\tt wxEVT\_DIALUP\_CONNECTED/wxEVT\_DIALUP\_DISCONNECTED} events. The interval
|
||||
parameter is only for Unix where we do the check manually and specifies how
|
||||
often should we repeat the check (each minute by default). Under Windows, the
|
||||
|
@@ -95,7 +95,7 @@ to test for errors.
|
||||
|
||||
\func{}{\destruct{wxDir}}{\void}
|
||||
|
||||
Destructor cleans up the associated ressources. It is not virtual and so this
|
||||
Destructor cleans up the associated resources. It is not virtual and so this
|
||||
class is not meant to be used polymorphically.
|
||||
|
||||
\membersection{wxDir::Open}\label{wxdiropen}
|
||||
|
@@ -113,7 +113,7 @@ Gets the currently-selected directory or filename.
|
||||
|
||||
Gets selected filename path only (else empty string).
|
||||
|
||||
This function doen't count a directory as a selection.
|
||||
This function doesn't count a directory as a selection.
|
||||
|
||||
\membersection{wxGenericDirCtrl::GetFilter}\label{wxgenericdirctrlgetfilter}
|
||||
|
||||
|
@@ -74,7 +74,7 @@ No base class
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
This header defines a platfrom-dependent {\tt wxDllType} typedef which stores
|
||||
This header defines a platform-dependent {\tt wxDllType} typedef which stores
|
||||
a handle to a loaded DLLs on the given platform.
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
@@ -123,8 +123,8 @@ an error occured.
|
||||
|
||||
This function loads a shared library into memory, with {\it libname} being the
|
||||
name of the library: it may be either the full name including path and
|
||||
(platform-dependent) extenesion, just the basename (no path and no extension)
|
||||
or a basename with extentsion. In the last two cases, the library will be
|
||||
(platform-dependent) extension, just the basename (no path and no extension)
|
||||
or a basename with extension. In the last two cases, the library will be
|
||||
searched in all standard locations.
|
||||
|
||||
Returns a handle to the loaded DLL. Use {\it success} parameter to test if it
|
||||
|
@@ -30,7 +30,7 @@ The objects supporting rendering the data must override
|
||||
\helpref{GetDataSize}{wxdataobjectsimplegetdatasize} and
|
||||
\helpref{GetDataHere}{wxdataobjectsimplegetdatahere} while the objects which
|
||||
may be set must override \helpref{SetData}{wxdataobjectsimplesetdata}. Of
|
||||
course, the objects supporting both operations must override all threee
|
||||
course, the objects supporting both operations must override all three
|
||||
methods.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
@@ -118,7 +118,7 @@ Adds the template to the document manager's template list.
|
||||
|
||||
\func{bool}{CloseDocuments}{\param{bool }{force = TRUE}}
|
||||
|
||||
Closes all currentled opened documents.
|
||||
Closes all currently opened documents.
|
||||
|
||||
\membersection{wxDocManager::CreateDocument}
|
||||
|
||||
|
@@ -36,7 +36,7 @@ Constructor.
|
||||
|
||||
\func{bool}{Init}{\param{wxFontEncoding }{input\_enc}, \param{wxFontEncoding }{output\_enc}, \param{int }{method = wxCONVERT\_STRICT}}
|
||||
|
||||
Initialize convertion. Both output or input encoding may
|
||||
Initialize conversion. Both output or input encoding may
|
||||
be wxFONTENCODING\_UNICODE, but only if wxUSE\_ENCODING is set to 1.
|
||||
All subsequent calls to \helpref{Convert()}{wxencodingconverterconvert}
|
||||
will interpret its argument
|
||||
@@ -113,7 +113,7 @@ under given platform. Supported platforms:
|
||||
\item wxPLATFORM\_CURRENT
|
||||
\end{itemize}
|
||||
|
||||
wxPLATFORM\_CURRENT means the plaform this binary was compiled for.
|
||||
wxPLATFORM\_CURRENT means the platform this binary was compiled for.
|
||||
|
||||
Examples:
|
||||
|
||||
|
@@ -98,7 +98,7 @@ dialog and calling them has no effect later.
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
Flages used by
|
||||
Flags used by
|
||||
\helpref{wxFindReplaceData::GetFlags()}{wxfindreplacedatagetflags} and
|
||||
\helpref{wxFindDialogEvent::GetFlags()}{wxfinddialogeventgetflags}:
|
||||
|
||||
|
@@ -160,7 +160,7 @@ The number of bytes read.
|
||||
|
||||
\func{bool}{Seek}{\param{long }{ofs}, \param{wxSeekMode }{mode = wxFromStart}}
|
||||
|
||||
Seeks to the specified position and returs TRUE on success.
|
||||
Seeks to the specified position and returns TRUE on success.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
|
@@ -8,7 +8,7 @@ under Unix which makes it possible to receive files from them using this
|
||||
class.
|
||||
|
||||
{\bf Warning:} Under all non-Windows platforms this class is currently
|
||||
"input-only", i.e. you can receieve the files from another application, but
|
||||
"input-only", i.e. you can receive the files from another application, but
|
||||
copying (or dragging) file(s) from a wxWindows application is not currently
|
||||
supported.
|
||||
|
||||
|
@@ -71,7 +71,7 @@ enum wxPathNormalize
|
||||
|
||||
wxFileName currently supports the file names in the Unix, DOS/Windows, Mac OS
|
||||
and VMS formats. Although these formats are quite different, wxFileName tries
|
||||
to treat them all in the sam generic way. It supposes that all file names
|
||||
to treat them all in the same generic way. It supposes that all file names
|
||||
consist of the following parts: the volume (also known as drive under Windows
|
||||
or device under VMS), the path which is a sequence of directory names separated
|
||||
by the \helpref{path separators}{wxfilenamegetpathseparators} and the full
|
||||
@@ -169,7 +169,7 @@ Copy constructor.
|
||||
\func{}{wxFileName}{\param{const wxString\& }{fullpath}, \param{wxPathFormat }{format = wxPATH\_NATIVE}}
|
||||
|
||||
From a full filename: if it terminates with a '/', a directory path
|
||||
is contructed (the name will be empty), otherwise a file name and
|
||||
is constructed (the name will be empty), otherwise a file name and
|
||||
extension are extracted from it
|
||||
|
||||
\func{}{wxFileName}{\param{const wxString\& }{path}, \param{const wxString\& }{name}, \param{wxPathFormat }{format = wxPATH\_NATIVE}}
|
||||
|
@@ -95,7 +95,7 @@ Returns actual path (set by \helpref{ChangePathTo}{wxfilesystemchangepathto}).
|
||||
\func{wxString}{FindFirst}{\param{const wxString\& }{wildcard}, \param{int }{flags = 0}}
|
||||
|
||||
Works like \helpref{wxFindFirstFile}{wxfindfirstfile}. Returns name of the first
|
||||
filename (withing filesystem's current path) that matches {\it wildcard}. {\it flags} may be one of
|
||||
filename (within filesystem's current path) that matches {\it wildcard}. {\it flags} may be one of
|
||||
wxFILE (only files), wxDIR (only directories) or 0 (both).
|
||||
|
||||
\membersection{wxFileSystem::FindNext}\label{wxfilesystemfindnext}
|
||||
|
@@ -116,7 +116,7 @@ Example : GetRightLocation("file:myzipfile.zip\#zip:index.htm") == "index.htm"
|
||||
\func{virtual wxString}{FindFirst}{\param{const wxString\& }{wildcard}, \param{int }{flags = 0}}
|
||||
|
||||
Works like \helpref{wxFindFirstFile}{wxfindfirstfile}. Returns name of the first
|
||||
filename (withing filesystem's current path) that matches {\it wildcard}. {\it flags} may be one of
|
||||
filename (within filesystem's current path) that matches {\it wildcard}. {\it flags} may be one of
|
||||
wxFILE (only files), wxDIR (only directories) or 0 (both).
|
||||
|
||||
This method is only called if \helpref{CanOpen}{wxfilesystemhandlercanopen} returns TRUE.
|
||||
|
@@ -56,7 +56,7 @@ These parameters may be useful to the program used to open, edit, view or print
|
||||
the message, so, for example, an e-mail client program will have to pass them to
|
||||
this program. Because wxFileType itself can not know about these parameters,
|
||||
it uses MessageParameters class to query them. The default implementation only
|
||||
requiers the caller to provide the file name (always used by the program to be
|
||||
requires the caller to provide the file name (always used by the program to be
|
||||
called - it must know which file to open) and the MIME type and supposes that
|
||||
there are no other parameters. If you wish to supply additional parameters, you
|
||||
must derive your own class from MessageParameters and override GetParamValue()
|
||||
@@ -191,7 +191,7 @@ retrieved from \helpref{MessageParameters}{wxfiletypemessageparameters} class.
|
||||
|
||||
\func{static wxString}{ExpandCommand}{\param{const wxString\&}{ command}, \param{MessageParameters\&}{ params}}
|
||||
|
||||
This function is primarly intended for GetOpenCommand and GetPrintCommand
|
||||
This function is primarily intended for GetOpenCommand and GetPrintCommand
|
||||
usage but may be also used by the application directly if, for example, you want
|
||||
to use some non default command to open the file.
|
||||
|
||||
@@ -199,7 +199,7 @@ The function replaces all occurrences of
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{format specificator}{with}
|
||||
\twocolitem{format specification}{with}
|
||||
\twocolitem{\%s}{the full file name}
|
||||
\twocolitem{\%t}{the MIME type}
|
||||
\twocolitem{\%\{param\}}{the value of the parameter {\it param}}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
\section{\class{wxFilterInputStream}}\label{wxfilterinputstream}
|
||||
|
||||
A filter stream has the capability of a normal stream but it can be placed on top
|
||||
of another stream. So, for example, it can uncompress or uncrypt the data which are read
|
||||
of another stream. So, for example, it can uncompress or decrypt the data which are read
|
||||
from another stream and pass it to the requester.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
@@ -144,7 +144,7 @@ is the encoding set by calls to
|
||||
say, KOI8 to create all fonts by default with KOI8 encoding. Initially, the
|
||||
default application encoding is the same as default system encoding.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_ISO8859\_1...15}}{ISO8859 encodings.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_KOI8}}{The standard russian encoding for Internet.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_KOI8}}{The standard Russian encoding for Internet.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_CP1250...1252}}{Windows encodings similar to ISO8859 (but not identical).}
|
||||
\end{twocollist}
|
||||
If the specified encoding isn't available, no font is created.
|
||||
@@ -153,7 +153,7 @@ If the specified encoding isn't available, no font is created.
|
||||
\wxheading{Remarks}
|
||||
|
||||
If the desired font does not exist, the closest match will be chosen.
|
||||
Under Windows, only scaleable TrueType fonts are used.
|
||||
Under Windows, only scalable TrueType fonts are used.
|
||||
|
||||
See also \helpref{wxDC::SetFont}{wxdcsetfont}, \helpref{wxDC::DrawText}{wxdcdrawtext}
|
||||
and \helpref{wxDC::GetTextExtent}{wxdcgettextextent}.
|
||||
|
@@ -140,7 +140,7 @@ The default value is FALSE.
|
||||
|
||||
\func{void}{operator $=$}{\param{const wxFontData\&}{ data}}
|
||||
|
||||
Assingment operator for the font data.
|
||||
Assignment operator for the font data.
|
||||
|
||||
\section{\class{wxFontDialog}}\label{wxfontdialog}
|
||||
|
||||
|
@@ -287,7 +287,7 @@ Iconizes or restores the frame.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{izonize}{If TRUE, iconizes the frame; if FALSE, shows and restores it.}
|
||||
\docparam{iconize}{If TRUE, iconizes the frame; if FALSE, shows and restores it.}
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
@@ -65,7 +65,7 @@ Include file is <wx/fs\_zip.h>. URL is in form "archive.zip\#zip:filename".}
|
||||
\twocolitem{{\bf wxMemoryFSHandler}}{This handler allows you to access
|
||||
data stored in memory (such as bitmaps) as if they were regular files.
|
||||
See \helpref{wxMemoryFSHandler documentation}{wxmemoryfshandler} for details.
|
||||
Include file is <wx/fs\_mem.h>. UURL is prefixed with memory:, e.g.
|
||||
Include file is <wx/fs\_mem.h>. URL is prefixed with memory:, e.g.
|
||||
"memory:myfile.htm"}
|
||||
\end{twocollist}
|
||||
|
||||
|
@@ -9,8 +9,8 @@ This class represents a single file opened by \helpref{wxFileSystem}{wxfilesyste
|
||||
It provides more information than wxWindow's input stream
|
||||
(stream, filename, mime type, anchor).
|
||||
|
||||
{\bf Note:} Any pointer returned by wxFSFile's member is valid
|
||||
only as long as wxFSFile object exists. For example a call to GetStream()
|
||||
{\bf Note:} Any pointer returned by a method of wxFSFile is valid
|
||||
only as long as the wxFSFile object exists. For example a call to GetStream()
|
||||
doesn't {\it create} the stream but only returns the pointer to it. In
|
||||
other words after 10 calls to GetStream() you will obtain ten identical
|
||||
pointers.
|
||||
|
@@ -466,7 +466,7 @@ calling \helpref{wxEnableTopLevelWindows(FALSE)}{wxenabletoplevelwindows}.
|
||||
|
||||
For asynchronous execution, however, the return value is the process id and
|
||||
zero value indicates that the command could not be executed. As an added
|
||||
complication, the return value of $-1$ in this case indicattes that we didn't
|
||||
complication, the return value of $-1$ in this case indicates that we didn't
|
||||
launch a new process, but connected to the running one (this can only happen in
|
||||
case of using DDE under Windows for command execution). In particular, in this,
|
||||
and only this, case the calling code will not get the notification about
|
||||
@@ -532,7 +532,7 @@ application. See \helpref{wxCloseEvent}{wxcloseevent} and \helpref{wxApp}{wxapp}
|
||||
\func{int}{wxKill}{\param{long}{ pid}, \param{int}{ sig = wxSIGTERM}, \param{wxKillError }{*rc = NULL}}
|
||||
|
||||
Equivalent to the Unix kill function: send the given signal {\it sig} to the
|
||||
process with PID {\it pid}. The valud signal values are
|
||||
process with PID {\it pid}. The valid signal values are
|
||||
|
||||
\begin{verbatim}
|
||||
enum wxSignal
|
||||
@@ -814,7 +814,7 @@ TRUE if successful.
|
||||
|
||||
Copies {\it file1} to {\it file2}, returning TRUE if successful. If
|
||||
{\it overwrite} parameter is TRUE (default), the destination file is overwritten
|
||||
if it exists, but if {\it overwrite} is FALSE, the functions failes in this
|
||||
if it exists, but if {\it overwrite} is FALSE, the functions fails in this
|
||||
case.
|
||||
|
||||
\membersection{::wxGetCwd}\label{wxgetcwd}
|
||||
@@ -2460,7 +2460,7 @@ data in big-endian format.
|
||||
|
||||
wxWindows uses its own RTTI ("run-time type identification") system which
|
||||
predates the current standard C++ RTTI and so is kept for backwards
|
||||
compatribility reasons but also because it allows some things which the
|
||||
compatibility reasons but also because it allows some things which the
|
||||
standard RTTI doesn't directly support (such as creating a class from its
|
||||
name).
|
||||
|
||||
|
@@ -478,7 +478,7 @@ Returns the current height of the column labels.
|
||||
|
||||
\func{wxString}{GetColLabelValue}{\param{int }{col}}
|
||||
|
||||
Returns the specifed column label. The default grid table class provides column labels of
|
||||
Returns the specified column label. The default grid table class provides column labels of
|
||||
the form A,B...Z,AA,AB...ZZ,AAA... If you are using a custom grid table you can override
|
||||
\helpref{wxGridTableBase::GetColLabelValue}{wxgridtablebasegetcollabelvalue} to provide
|
||||
your own labels.
|
||||
@@ -581,7 +581,7 @@ Returns the colour used for grid lines.
|
||||
|
||||
\func{bool}{GridLinesEnabled}{\void}
|
||||
|
||||
Returnes TRUE if drawing of grid lines is turned on, FALSE otherwise.
|
||||
Returns TRUE if drawing of grid lines is turned on, FALSE otherwise.
|
||||
|
||||
\membersection{wxGrid::GetLabelBackgroundColour}\label{wxgridgetlabelbackgroundcolour}
|
||||
|
||||
@@ -636,7 +636,7 @@ Returns the current width of the row labels.
|
||||
|
||||
\func{wxString}{GetRowLabelValue}{\param{int }{row}}
|
||||
|
||||
Returns the specifed row label. The default grid table class provides numeric row labels.
|
||||
Returns the specified row label. The default grid table class provides numeric row labels.
|
||||
If you are using a custom grid table you can override
|
||||
\helpref{wxGridTableBase::GetRowLabelValue}{wxgridtablebasegetcollabelvalue} to provide
|
||||
your own labels.
|
||||
@@ -897,7 +897,7 @@ deselected; if TRUE the row will be added to the existing selection.
|
||||
|
||||
\func{void}{SetCellAlignment}{\param{int }{align}}
|
||||
|
||||
Sets the horizontal and vertial alignment for grid cell text at the specified location.
|
||||
Sets the horizontal and vertical alignment for grid cell text at the specified location.
|
||||
|
||||
Horizontal alignment should be one of wxALIGN\_LEFT, wxALIGN\_CENTRE or wxALIGN\_RIGHT. \\
|
||||
Vertical alignment should be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BOTTOM.
|
||||
@@ -1046,7 +1046,7 @@ The memory requirements for this could become prohibitive if your grid is very l
|
||||
|
||||
\func{void}{SetDefaultCellAlignment}{\param{int }{horiz}, \param{int }{vert}}
|
||||
|
||||
Sets the default horizontal and vertial alignment for grid cell text.
|
||||
Sets the default horizontal and vertical alignment for grid cell text.
|
||||
|
||||
Horizontal alignment should be one of wxALIGN\_LEFT, wxALIGN\_CENTRE or wxALIGN\_RIGHT.
|
||||
|
||||
|
@@ -125,7 +125,7 @@ Position in pixels at which the event occurred.
|
||||
|
||||
\func{int}{GetRow}{\void}
|
||||
|
||||
Row at which the evnet occurred.
|
||||
Row at which the event occurred.
|
||||
|
||||
\membersection{wxGridEvent::MetaDown}\label{wxgrideventmetadown}
|
||||
|
||||
@@ -207,7 +207,7 @@ Bottom row of the rectangular area that was (de)selected.
|
||||
|
||||
\func{int}{GetLeftCol}{\void}
|
||||
|
||||
Left column of the rectangualr area that was (de)selected.
|
||||
Left column of the rectangular area that was (de)selected.
|
||||
|
||||
\membersection{wxGridRangeSelectEvent::GetRightCol}\label{wxgridrangeselecteventgetrightcol}
|
||||
|
||||
@@ -219,7 +219,7 @@ Right column of the rectangular area that was (de)selected.
|
||||
|
||||
\func{wxGridCellCoords}{GetTopLeftCoords}{\void}
|
||||
|
||||
Top left corner of the rectangular area that was (de)delected.
|
||||
Top left corner of the rectangular area that was (de)selected.
|
||||
|
||||
\membersection{wxGridRangeSelectEvent::GetTopRow}\label{wxgridrangeselecteventgettoprow}
|
||||
|
||||
|
@@ -27,7 +27,7 @@ whose interface is a subset of the interface of STL containers.
|
||||
h2["Bill"] = "ABC";
|
||||
wxString tmp = h2["Bill"];
|
||||
// since element with key "Joe" is not present, this will return
|
||||
// the devault value, that is an empty string in the case of wxString
|
||||
// the default value, that is an empty string in the case of wxString
|
||||
MyClass tmp2 = h2["Joe"];
|
||||
|
||||
// iterate over all the elements in the class
|
||||
|
@@ -24,7 +24,7 @@ compiled into wxWindows; otherwise wxExtHelpController is used (for invoking an
|
||||
browser).
|
||||
\end{itemize}
|
||||
|
||||
The remaining help controller classess need to be named
|
||||
The remaining help controller classes need to be named
|
||||
explicitly by an application that wishes to make use of them.
|
||||
|
||||
There are currently the following help controller classes defined:
|
||||
@@ -33,7 +33,7 @@ There are currently the following help controller classes defined:
|
||||
\item wxWinHelpController, for controlling Windows Help.
|
||||
\item wxCHMHelpController, for controlling MS HTML Help. To use this, you need to set wxUSE\_MS\_HTML\_HELP
|
||||
to 1 in setup.h and have htmlhelp.h header from Microsoft's HTML Help kit (you don't need
|
||||
VC++ specific htmlhelp.lib because wxWindows loads neccessary DLL at runtime and so it
|
||||
VC++ specific htmlhelp.lib because wxWindows loads necessary DLL at runtime and so it
|
||||
works with all compilers).
|
||||
\item wxBestHelpController, for controlling MS HTML Help or, if Microsoft's runtime is
|
||||
not available, \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}. You need to provide
|
||||
|
@@ -237,7 +237,7 @@ Sets unique cell identifier. Default value is no identifier, i.e. empty string.
|
||||
|
||||
\func{void}{SetLink}{\param{const wxHtmlLinkInfo\& }{link}}
|
||||
|
||||
Sets the hypertext link asocciated with this cell. (Default value
|
||||
Sets the hypertext link associated with this cell. (Default value
|
||||
is \helpref{wxHtmlLinkInfo}{wxhtmllinkinfo}("", "") (no link))
|
||||
|
||||
\membersection{wxHtmlCell::SetNext}\label{wxhtmlcellsetnext}
|
||||
|
@@ -37,7 +37,7 @@ inch wide on typical printer. With pixel\_scale = 3.0 it would be 3 inches.)
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{maxwidth}{width of the area (on this DC) that is equivalent to screen's width,
|
||||
\docparam{maxwidth}{width of the area (on this DC) that is equivalent to the screen's width,
|
||||
in pixels (you should set it to page width minus margins).
|
||||
|
||||
{\bf Note:} In the current implementation
|
||||
|
@@ -91,7 +91,7 @@ top-level directory. This ZIP archive must have .zip or .htb extension
|
||||
(the latter stands for "HTML book"). In other words, {\tt AddBook("help.zip")} is possible and, in fact,
|
||||
recommended way.
|
||||
|
||||
If {\it show\_wait\_msg} is TRUE then a decorationless window with progress message is displayed.
|
||||
If {\it show\_wait\_msg} is TRUE then a decoration-less window with progress message is displayed.
|
||||
|
||||
\membersection{wxHtmlHelpController::CreateHelpFrame}\label{wxhtmlhelpcontrollercreatehelpframe}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
\section{\class{wxHtmlLinkInfo}}\label{wxhtmllinkinfo}
|
||||
|
||||
This class stores all neccessary information about hypertext
|
||||
This class stores all necessary information about hypertext
|
||||
links (as represented by {\tt <A>} tag in HTML documents). In
|
||||
current implementation it stores URL and target frame name.
|
||||
{\it Note that frames are not currently supported by wxHTML!}
|
||||
|
@@ -37,7 +37,7 @@ a container {\it within an already opened container}. This new container is a
|
||||
{\it sub-container} of the old one. (If you want to create a new container with
|
||||
the same depth level you can call {\tt CloseContainer(); OpenContainer();}.)
|
||||
|
||||
Use \helpref{CloseContaier}{wxhtmlwinparserclosecontainer} to close the
|
||||
Use \helpref{CloseContainer}{wxhtmlwinparserclosecontainer} to close the
|
||||
container. This doesn't create a new container with same depth level but
|
||||
it returns "control" to the parent container.
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
This class handles the {\bf generic} parsing of HTML document: it scans
|
||||
the document and divide it into blocks of tags (where one block
|
||||
consists of begining and ending tag and of text between these
|
||||
consists of beginning and ending tag and of text between these
|
||||
two tags).
|
||||
|
||||
It is independent from wxHtmlWindow and can be used as stand-alone parser
|
||||
@@ -15,7 +15,7 @@ It is independent from wxHtmlWindow and can be used as stand-alone parser
|
||||
see InetGet sample for example).
|
||||
|
||||
It uses system of tag handlers to parse the HTML document. Tag handlers
|
||||
are not staticaly shared by all instances but are created for each
|
||||
are not statically shared by all instances but are created for each
|
||||
wxHtmlParser instance. The reason is that the handler may contain
|
||||
document-specific temporary data used during parsing (e.g. complicated
|
||||
structures like tables).
|
||||
@@ -48,7 +48,7 @@ Constructor.
|
||||
|
||||
\func{void}{AddTag}{\param{const wxHtmlTag\& }{tag}}
|
||||
|
||||
This may (and may not) be overwriten in derived class.
|
||||
This may (and may not) be overwritten in derived class.
|
||||
|
||||
This method is called each time new tag is about to be added.
|
||||
{\it tag} contains information about the tag. (See \helpref{wxHtmlTag}{wxhtmltag}
|
||||
@@ -76,7 +76,7 @@ All handlers are deleted on object deletion.
|
||||
|
||||
\func{virtual void}{AddWord}{\param{const char* }{txt}}
|
||||
|
||||
Must be overwriten in derived class.
|
||||
Must be overwritten in derived class.
|
||||
|
||||
This method is called by \helpref{DoParsing}{wxhtmlparserdoparsing}
|
||||
each time a part of text is parsed. {\it txt} is NOT only one word, it is
|
||||
@@ -140,7 +140,7 @@ in derived class)
|
||||
|
||||
Opens given URL and returns {\tt wxFSFile} object that can be used to read data
|
||||
from it. This method may return NULL in one of two cases: either the URL doesn't
|
||||
point to any valid resource or the URL is blocked by overriden implementation
|
||||
point to any valid resource or the URL is blocked by overridden implementation
|
||||
of {\it OpenURL} in derived class.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
@@ -95,6 +95,6 @@ file). It is used to determine path for loading images, for example.}
|
||||
|
||||
\func{void}{SetMargins}{\param{float }{top = 25.2}, \param{float }{bottom = 25.2}, \param{float }{left = 25.2}, \param{float }{right = 25.2}, \param{float }{spaces = 5}}
|
||||
|
||||
Sets margins in milimeters. Defaults to 1 inch for margins and 0.5cm for space
|
||||
Sets margins in millimeters. Defaults to 1 inch for margins and 0.5cm for space
|
||||
between text and header and/or footer
|
||||
|
||||
|
@@ -45,7 +45,7 @@ ending tag.
|
||||
See explanation (returned position is marked with `|'):
|
||||
|
||||
\begin{verbatim}
|
||||
bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
|
||||
bla bla bla <MYTAG> bla bla internal text</MYTAG> bla bla
|
||||
|
|
||||
\end{verbatim}
|
||||
|
||||
@@ -59,7 +59,7 @@ ending tag.
|
||||
See explanation (returned position is marked with `|'):
|
||||
|
||||
\begin{verbatim}
|
||||
bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
|
||||
bla bla bla <MYTAG> bla bla internal text</MYTAG> bla bla
|
||||
|
|
||||
\end{verbatim}
|
||||
|
||||
@@ -73,7 +73,7 @@ ending tag.
|
||||
See explanation (returned position is marked with `|'):
|
||||
|
||||
\begin{verbatim}
|
||||
bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
|
||||
bla bla bla <MYTAG> bla bla internal text</MYTAG> bla bla
|
||||
|
|
||||
\end{verbatim}
|
||||
|
||||
@@ -158,7 +158,7 @@ is ending itself) of course doesn't have ending tag.
|
||||
|
||||
\constfunc{bool}{HasParam}{\param{const wxString\& }{par}}
|
||||
|
||||
Returns TRUE if the tag has parameter of the given name.
|
||||
Returns TRUE if the tag has a parameter of the given name.
|
||||
Example : {\tt <FONT SIZE=+2 COLOR="\#FF00FF">} has two parameters named
|
||||
"SIZE" and "COLOR".
|
||||
|
||||
@@ -177,17 +177,18 @@ Returns TRUE if this tag is ending one.
|
||||
|
||||
\constfunc{wxString}{ScanParam}{\param{const wxString\& }{par}, \param{const wxChar *}{format}, \param{void *}{value}}
|
||||
|
||||
This method scans given parameter. Usage is exactly the same as sscanf's
|
||||
usage except that you don't pass string but parameter name as the first parameter
|
||||
and that you can only retrieve one value (i.e. you can use only one "\%" element
|
||||
This method scans the given parameter. Usage is exactly the same as sscanf's
|
||||
usage except that you don't pass a string but a parameter name as the first
|
||||
argument
|
||||
and you can only retrieve one value (i.e. you can use only one "\%" element
|
||||
in {\it format}).
|
||||
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{par}{The name of tag you want to query}
|
||||
\docparam{par}{The name of the tag you want to query}
|
||||
|
||||
\docparam{format}{scanf()-like format string.}
|
||||
|
||||
\docparam{value}{pointer to a variable to store value in }
|
||||
\docparam{value}{pointer to a variable to store the value in }
|
||||
|
||||
|
@@ -45,7 +45,7 @@ are delimited by ','. Example : {\tt "I,B,FONT,P" }
|
||||
\func{virtual bool}{HandleTag}{\param{const wxHtmlTag\& }{tag}}
|
||||
|
||||
This is the core method of each handler. It is called each time
|
||||
one of supported tags is detected. {\it tag} contains all neccessary
|
||||
one of supported tags is detected. {\it tag} contains all necessary
|
||||
info (see \helpref{wxHtmlTag}{wxhtmltag} for details).
|
||||
|
||||
\wxheading{Return value}
|
||||
@@ -66,14 +66,14 @@ bool MyHandler::HandleTag(const wxHtmlTag& tag)
|
||||
}
|
||||
\end{verbatim}
|
||||
|
||||
You shouldn't call ParseInner if the tag is not paired with ending one.
|
||||
You shouldn't call ParseInner if the tag is not paired with an ending one.
|
||||
|
||||
\membersection{wxHtmlTagHandler::ParseInner}\label{wxhtmltaghandlerparseinner}
|
||||
|
||||
\func{void}{ParseInner}{\param{const wxHtmlTag\& }{tag}}
|
||||
|
||||
This method calls parser's \helpref{DoParsing}{wxhtmlparserdoparsing} method
|
||||
for the string between this tag and paired ending tag:
|
||||
for the string between this tag and the paired ending tag:
|
||||
|
||||
\begin{verbatim}
|
||||
...<A HREF="x.htm">Hello, world!</A>...
|
||||
|
@@ -5,7 +5,7 @@
|
||||
\section{\class{wxHtmlTagsModule}}\label{wxhtmltagsmodule}
|
||||
|
||||
This class provides easy way of filling wxHtmlWinParser's table of
|
||||
tag handlers. It is used almost exclusively together with set of
|
||||
tag handlers. It is used almost exclusively together with the set of
|
||||
\helpref{TAGS\_MODULE\_* macros}{handlers}
|
||||
|
||||
\wxheading{Derived from}
|
||||
@@ -28,14 +28,14 @@ tag handlers. It is used almost exclusively together with set of
|
||||
|
||||
\func{virtual void}{FillHandlersTable}{\param{wxHtmlWinParser }{*parser}}
|
||||
|
||||
You must override this method. In most common case it is body consists
|
||||
only of lines of following type:
|
||||
You must override this method. In most common case its body consists
|
||||
only of lines of the following type:
|
||||
|
||||
\begin{verbatim}
|
||||
parser -> AddTagHandler(new MyHandler);
|
||||
\end{verbatim}
|
||||
|
||||
I recommend using {\bf TAGS\_MODULE\_*} macros.
|
||||
I recommend using the {\bf TAGS\_MODULE\_*} macros.
|
||||
|
||||
\wxheading{Paremeters}
|
||||
|
||||
|
@@ -30,7 +30,7 @@ You will be notified when the EOF is reached by an error.
|
||||
\wxheading{Note}
|
||||
|
||||
You can know the size of the file you are getting using \helpref{wxStreamBase::GetSize()}{wxstreambasegetsize}.
|
||||
But there is a limitation: as HTTP servers aren't obliged to pass the size ofi
|
||||
But there is a limitation: as HTTP servers aren't obliged to pass the size of
|
||||
the file, in some case, you will be returned 0xfffffff by GetSize(). In these
|
||||
cases, you should use the value returned by \helpref{wxInputStream::LastRead()}{wxinputstreamlastread}:
|
||||
this value will be 0 when the stream is finished.
|
||||
|
@@ -285,7 +285,7 @@ This function sets font sizes and faces.
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{normal\_face}{This is face name for normal (i.e. non-fixed) font.
|
||||
It can be either empty string (then the default face is choosen) or
|
||||
It can be either empty string (then the default face is chosen) or
|
||||
platform-specific face name. Examples are "helvetica" under Unix or
|
||||
"Times New Roman" under Windows.}
|
||||
|
||||
@@ -309,7 +309,7 @@ Under Windows:
|
||||
SetFonts("", "", {7, 8, 10, 12, 16, 22, 30});
|
||||
\end{verbatim}
|
||||
|
||||
Athough it seems different the fact is that the fonts are of approximately
|
||||
Although it seems different the fact is that the fonts are of approximately
|
||||
same size under both platforms (due to wxMSW / wxGTK inconsistency)
|
||||
|
||||
\membersection{wxHtmlWindow::SetPage}\label{wxhtmlwindowsetpage}
|
||||
|
@@ -35,7 +35,7 @@ The product of parsing is a wxHtmlCell (resp. wxHtmlContainer) object.
|
||||
\func{}{wxHtmlWinParser}{\param{wxHtmlWindow }{*wnd}}
|
||||
|
||||
Constructor. Don't use the default one, use constructor with
|
||||
{\it wnd} paremeter ({\it wnd} is pointer to associated \helpref{wxHtmlWindow}{wxhtmlwindow})
|
||||
{\it wnd} parameter ({\it wnd} is pointer to associated \helpref{wxHtmlWindow}{wxhtmlwindow})
|
||||
|
||||
\membersection{wxHtmlWinParser::AddModule}\label{wxhtmlwinparseraddmodule}
|
||||
|
||||
@@ -98,7 +98,7 @@ know the height of the current font, call {\tt GetDC -> GetCharWidth()}
|
||||
|
||||
\constfunc{wxHtmlContainerCell*}{GetContainer}{\void}
|
||||
|
||||
Returns pointer to the currectly opened container (see \helpref{Overview}{cells}).
|
||||
Returns pointer to the currently opened container (see \helpref{Overview}{cells}).
|
||||
Common use:
|
||||
|
||||
\begin{verbatim}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
\section{wxWindows Hello World sample}\label{helloworld}
|
||||
|
||||
As many people have requested a mini-sample to be published here
|
||||
so that some quick judgments concerning syntax
|
||||
so that some quick judgment concerning syntax
|
||||
and basic principles can be made, you can now look at wxWindows'
|
||||
"Hello World":
|
||||
|
||||
|
@@ -18,7 +18,7 @@ creation of a \helpref{wxMask}{wxmask} object associated to the bitmap object.
|
||||
\wxheading{Available image handlers}
|
||||
|
||||
The following image handlers are available. {\bf wxBMPHandler} is always
|
||||
installed by default. To use other image formats, install the appropiate
|
||||
installed by default. To use other image formats, install the appropriate
|
||||
handler with \helpref{wxImage::AddHandler}{wximageaddhandler} or
|
||||
\helpref{wxInitAllImageHandlers}{wxinitallimagehandlers}.
|
||||
|
||||
@@ -349,7 +349,7 @@ Returns the blue intensity at the given coordinate.
|
||||
|
||||
Returns the image data as an array. This is most often used when doing
|
||||
direct image manipulation. The return value points to an array of
|
||||
chararcters in RGBGBRGB... format.
|
||||
characters in RGBGBRGB... format.
|
||||
|
||||
\membersection{wxImage::GetGreen}\label{wximagegetgreen}
|
||||
|
||||
|
@@ -118,7 +118,7 @@ Draws a specified image onto a device context.
|
||||
\twocolitem{{\bf wxIMAGELIST\_DRAW\_NORMAL}}{Draw the image normally.}
|
||||
\twocolitem{{\bf wxIMAGELIST\_DRAW\_TRANSPARENT}}{Draw the image with transparency.}
|
||||
\twocolitem{{\bf wxIMAGELIST\_DRAW\_SELECTED}}{Draw the image in selected state.}
|
||||
\twocolitem{{\bf wxIMAGELIST\_DRAW\_FOCUSED}}{Draw the image in a focussed state.}
|
||||
\twocolitem{{\bf wxIMAGELIST\_DRAW\_FOCUSED}}{Draw the image in a focused state.}
|
||||
\end{twocollist}
|
||||
}
|
||||
|
||||
|
@@ -96,7 +96,7 @@ Returns the current stream position.
|
||||
\func{size\_t}{Ungetch}{\param{const char*}{ buffer}, \param{size\_t}{ size}}
|
||||
|
||||
This function is only useful in {\it read} mode. It is the manager of the "Write-Back"
|
||||
buffer. This buffer acts like a temporary buffer where datas which has to be
|
||||
buffer. This buffer acts like a temporary buffer where data which has to be
|
||||
read during the next read IO call are put. This is useful when you get a big
|
||||
block of data which you didn't want to read: you can replace them at the top
|
||||
of the input queue by this way.
|
||||
|
@@ -49,7 +49,7 @@ simpler.
|
||||
{\bf Note for Windows programmers:} The key and char events in wxWindows are
|
||||
similar to but slightly different from Windows {\tt WM\_KEYDOWN} and
|
||||
{\tt WM\_CHAR} events. In particular, Alt-x combination will generate a char
|
||||
event in wxWindows (unless it is used as an acclerator).
|
||||
event in wxWindows (unless it is used as an accelerator).
|
||||
|
||||
{\bf Tip:} be sure to call {\tt event.Skip()} for events that you don't process in
|
||||
key event function, otherwise menu shortcuts may cease to work under Windows.
|
||||
|
@@ -40,7 +40,7 @@ bottom of the remaining client area. This scheme implies that order of window cr
|
||||
Say you wish to have an extra toolbar at the top of the frame, a project window to the left of
|
||||
the MDI client window, and an output window above the status bar. You should therefore create
|
||||
the windows in this order: toolbar, output window, project window. This ensures that the toolbar and
|
||||
output window take up space at the top and bottom, and then the remaining height inbetween is used for
|
||||
output window take up space at the top and bottom, and then the remaining height in-between is used for
|
||||
the project window.
|
||||
|
||||
wxLayoutAlgorithm is quite independent of the way in which
|
||||
|
@@ -38,7 +38,7 @@ macros):
|
||||
|
||||
...
|
||||
|
||||
// the only requirment for the rest is to be AFTER the full declaration of
|
||||
// the only requirement for the rest is to be AFTER the full declaration of
|
||||
// MyListElement (for WX_DECLARE_LIST forward declaration is enough), but
|
||||
// usually it will be found in the source file and not in the header
|
||||
|
||||
|
@@ -52,7 +52,7 @@ See also \helpref{window styles overview}{windowstyles}.
|
||||
\twocolitem{{\bf EVT\_LISTBOX(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_SELECTED event,
|
||||
when an item on the list is selected.}
|
||||
\twocolitem{{\bf EVT\_LISTBOX\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_DOUBLECLICKED event,
|
||||
when the listbox is doubleclicked.}
|
||||
when the listbox is double-clicked.}
|
||||
\end{twocollist}
|
||||
|
||||
\wxheading{See also}
|
||||
@@ -251,7 +251,7 @@ Use this with a multiple selection listbox.
|
||||
\pythonnote{The wxPython version of this method takes no parameters
|
||||
and returns a tuple of the selected items.}
|
||||
|
||||
\perlnote{In wxPerl this method takes no parameters and returna the
|
||||
\perlnote{In wxPerl this method takes no parameters and return the
|
||||
selected items as a list.}
|
||||
|
||||
\membersection{wxListBox::GetString}\label{wxlistboxgetstring}
|
||||
|
@@ -353,7 +353,7 @@ Returns the rectangle representing the item's size and position, in client coord
|
||||
ID and code and returns the wxRect.}
|
||||
|
||||
\perlnote{In wxPerl this method takes only the {\bf item} parameter and
|
||||
retutrns a Wx::Rect ( or undef ).}
|
||||
returns a Wx::Rect ( or undef ).}
|
||||
|
||||
\membersection{wxListCtrl::GetItemSpacing}\label{wxlistctrlgetitemspacing}
|
||||
|
||||
@@ -381,7 +381,7 @@ Gets the item text for this item.
|
||||
|
||||
\constfunc{long}{GetNextItem}{\param{long }{item}, \param{int }{geometry = wxLIST\_NEXT\_ALL}, \param{int }{state = wxLIST\_STATE\_DONTCARE}}
|
||||
|
||||
Searches for an item with the given goemetry or state, starting from
|
||||
Searches for an item with the given geometry or state, starting from
|
||||
{\it item} but excluding the {\it item} itself. If {\it item} is -1,
|
||||
the first item that matches the specified flags will be returned.
|
||||
|
||||
@@ -722,7 +722,7 @@ string or image at a given location.}
|
||||
This method can only be used with virtual list controls. It is used to indicate
|
||||
to the control the number of items it contains. After calling it, the main
|
||||
program should be ready to handle calls to various item callbacks (such as
|
||||
\helpref{OnGetItemText}{wxlistctrlongetitemtext}) for all vitems in the range
|
||||
\helpref{OnGetItemText}{wxlistctrlongetitemtext}) for all items in the range
|
||||
from $0$ to {\it count}.
|
||||
|
||||
\membersection{wxListCtrl::SetItemData}\label{wxlistctrlsetitemdata}
|
||||
|
@@ -370,7 +370,7 @@ This only applies to subsequent invocations of AddCatalog()!
|
||||
\func{static void}{AddLanguage}{\param{const wxLanguageInfo\& }{info}}
|
||||
|
||||
Adds custom, user-defined language to the database of known languages. This
|
||||
database is used in conjuction with the first form of
|
||||
database is used in conjunction with the first form of
|
||||
\helpref{Init}{wxlocaleinit}.
|
||||
|
||||
wxLanguageInfo is defined as follows:
|
||||
|
@@ -136,7 +136,7 @@ documentation.
|
||||
|
||||
Finally, the {\it wxLog::DoLog()} function automatically prepends a time stamp
|
||||
to all the messages. The format of the time stamp may be changed: it can be
|
||||
any string with \% specificators fully described in the documentation of the
|
||||
any string with \% specifications fully described in the documentation of the
|
||||
standard {\it strftime()} function. For example, the default format is
|
||||
"[\%d/\%b/\%y \%H:\%M:\%S] " which gives something like "[17/Sep/98 22:10:16] "
|
||||
(without quotes) for the current date. Setting an empty string as the time
|
||||
@@ -292,7 +292,7 @@ user). (Almost) for internal use only.
|
||||
|
||||
\func{static void}{SetVerbose}{\param{bool }{ verbose = TRUE}}
|
||||
|
||||
Activates or desactivates verbose mode in which the verbose messages are
|
||||
Activates or deactivates verbose mode in which the verbose messages are
|
||||
logged as the normal ones instead of being silently dropped.
|
||||
|
||||
\membersection{wxLog::GetVerbose}\label{wxloggetverbose}
|
||||
|
@@ -18,7 +18,7 @@ the other cases which ensures that it is the most efficient solution for
|
||||
working with 64 bit integers independently of the architecture.
|
||||
|
||||
wxLongLong defines all usual arithmetic operations such as addition,
|
||||
substraction, bitwise shifts and logical operations as well as multiplication
|
||||
subtraction, bitwise shifts and logical operations as well as multiplication
|
||||
and division (not yet for the machines without native {\it long long}). It
|
||||
also has operators for implicit construction from and conversion to the native
|
||||
{\it long long} type if it exists and {\it long}.
|
||||
@@ -86,13 +86,13 @@ platform-dependent way. Not in wxULongLong.
|
||||
|
||||
\constfunc{long}{GetHi}{\void}
|
||||
|
||||
Returnes the high 32 bits of 64 bit integer.
|
||||
Returns the high 32 bits of 64 bit integer.
|
||||
|
||||
\membersection{wxLongLong::GetLo}\label{wxlonglonggetlo}
|
||||
|
||||
\constfunc{unsigned long}{GetLo}{\void}
|
||||
|
||||
Returnes the low 32 bits of 64 bit integer.
|
||||
Returns the low 32 bits of 64 bit integer.
|
||||
|
||||
\membersection{wxLongLong::GetValue}\label{wxlonglonggetvalue}
|
||||
|
||||
|
@@ -34,7 +34,7 @@ protocols, and database fields. Notable properties include:
|
||||
\item Null bytes do not occur in the encoding, except when there's an actual Unicode
|
||||
null character
|
||||
\item Preserves sort ordering for plain 8-bit comparison routines like strcmp()
|
||||
\item High bit patterns unambiguates character boundaries, and makes it easy to
|
||||
\item High bit patterns disambiguates character boundaries, and makes it easy to
|
||||
detect whether a string is encoded with UTF-8 or not
|
||||
\end{itemize}
|
||||
|
||||
|
@@ -46,7 +46,7 @@ can be reselected into another memory DC.
|
||||
Constructs a new memory device context.
|
||||
|
||||
Use the {\it Ok} member to test whether the constructor was successful
|
||||
in creating a useable device context. Don't forget to select a bitmap
|
||||
in creating a usable device context. Don't forget to select a bitmap
|
||||
into the DC before drawing on it.
|
||||
|
||||
\membersection{wxMemoryDC::SelectObject}
|
||||
|
@@ -12,7 +12,7 @@ associated command but just makes a separator line appear in the menu.
|
||||
Menu items may be either normal items, check items or radio items. Normal items
|
||||
don't have any special properties while the check items have a boolean flag
|
||||
associated to them and they show a checkmark in the menu when the flag is set.
|
||||
wxWindows automatically togles the flag value when the item is clicked and its
|
||||
wxWindows automatically toggles the flag value when the item is clicked and its
|
||||
value may be retrieved using either \helpref{IsChecked}{wxmenuischecked} method
|
||||
of wxMenu or wxMenuBar itself or by using
|
||||
\helpref{wxEvent::IsChecked}{wxcommandeventischecked} when you get the menu
|
||||
@@ -659,7 +659,7 @@ menu bar.}
|
||||
\pythonnote{Only the default constructor is supported in wxPython.
|
||||
Use wxMenuBar.Append instead.}
|
||||
|
||||
\perlnote{wxPerl only supports the first contructor:
|
||||
\perlnote{wxPerl only supports the first constructor:
|
||||
use {\tt Append} instead.}
|
||||
|
||||
\membersection{wxMenuBar::\destruct{wxMenuBar}}
|
||||
@@ -789,7 +789,7 @@ The found menu item object, or NULL if one was not found.
|
||||
|
||||
\constfunc{wxString}{GetHelpString}{\param{int}{ id}}
|
||||
|
||||
Gets the help string associated with the menu item identifer.
|
||||
Gets the help string associated with the menu item identifier.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
|
@@ -26,7 +26,7 @@ functions that take a wxMenuEvent argument.
|
||||
\twocolitem{{\bf EVT\_MENU\_OPEN(func)}}{A menu is about to be opened.}
|
||||
\twocolitem{{\bf EVT\_MENU\_CLOSE(func)}}{A menu has been just closed.}
|
||||
\twocolitem{{\bf EVT\_MENU\_HIGHLIGHT(id, func)}}{The menu item with the
|
||||
speicifed id has been highlighted: used to show help prompts in the status bar
|
||||
specified id has been highlighted: used to show help prompts in the status bar
|
||||
by \helpref{wxFrame}{wxframe}}
|
||||
\twocolitem{{\bf EVT\_MENU\_HIGHLIGHT\_ALL(func)}}{A menu item has been
|
||||
highlighted, i.e. the currently selected menu item has changed.}
|
||||
|
@@ -111,7 +111,7 @@ Returns the item kind, one of {\tt wxItem\_Separator}, {\tt wxItem\_Normal},
|
||||
\constfunc{wxString}{GetLabel}{\void}
|
||||
|
||||
Returns the text associated with the menu item without any accelerator
|
||||
characaters it might contain.
|
||||
characters it might contain.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
@@ -122,7 +122,7 @@ characaters it might contain.
|
||||
|
||||
\func{static wxString}{GetLabelFromText}{\param{const wxString\& }{text}}
|
||||
|
||||
Strips all accelerator characeters and mnemonics from the given {\it text}.
|
||||
Strips all accelerator characters and mnemonics from the given {\it text}.
|
||||
For example,
|
||||
|
||||
\begin{verbatim}
|
||||
|
@@ -55,7 +55,7 @@ Passes the metafile data to the clipboard. The metafile can no longer be
|
||||
used for anything, but the wxMetafile object must still be destroyed by
|
||||
the application.
|
||||
|
||||
Below is a example of metafle, metafile device context and clipboard use
|
||||
Below is a example of metafile, metafile device context and clipboard use
|
||||
from the {\tt hello.cpp} example. Note the way the metafile dimensions
|
||||
are passed to the clipboard, making use of the device context's ability
|
||||
to keep track of the maximum extent of drawing commands.
|
||||
|
@@ -113,7 +113,7 @@ Destructor is not virtual, so this class should not be derived from.
|
||||
|
||||
\func{void}{AddFallbacks}{\param{const wxFileTypeInfo *}{fallbacks}}
|
||||
|
||||
This function may be used to provdie hard-wired fallbacks for the MIME types
|
||||
This function may be used to provide hard-wired fallbacks for the MIME types
|
||||
and extensions that might not be present in the system MIME database.
|
||||
|
||||
% TODO
|
||||
@@ -145,7 +145,7 @@ same as {\it wildcard} or if it has the same category and the subtype of
|
||||
{\it wildcard} is '*'. Note that the '*' wildcard is not allowed in
|
||||
{\it mimeType} itself.
|
||||
|
||||
The comparaison don by this function is case insensitive so it is not
|
||||
The comparison don by this function is case insensitive so it is not
|
||||
necessary to convert the strings to the same case before calling it.
|
||||
|
||||
\membersection{wxMimeTypesManager::ReadMailcap}\label{wxmimetypesmanagerreadmailcap}
|
||||
|
@@ -33,7 +33,7 @@ successfully locked.
|
||||
|
||||
\func{}{\destruct{wxMutexLocker}}{\void}
|
||||
|
||||
Destuctor releases the mutex if it was successfully acquired in the ctor.
|
||||
Destructor releases the mutex if it was successfully acquired in the ctor.
|
||||
|
||||
\membersection{wxMutexLocker::IsOk}\label{wxmutexlockerisok}
|
||||
|
||||
|
@@ -9,7 +9,7 @@ wxPlotWindow is a specialized window designed to display data that typically has
|
||||
been measured by machines, i.e. that may have thousands of values. One example of
|
||||
such data would be the well known ECG measuring the electrical activity of your
|
||||
heart: the measuring device will produce thousands of values per minute, several
|
||||
measurements are done simultanously and you might want to have a look at parts
|
||||
measurements are done simultaneously and you might want to have a look at parts
|
||||
of the curves, enlarging them or scrolling from one position to another. Note
|
||||
that this window is not useful for real-time measuring or for displaying charts
|
||||
with error bars etc.
|
||||
@@ -33,7 +33,7 @@ sections of the displayed curves etc.
|
||||
\wxheading{Window styles}
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\windowstyle{wxPLOT\_BUTTON\_MOVE}}{Display buttons to allao moving individual curves up or down.}
|
||||
\twocolitem{\windowstyle{wxPLOT\_BUTTON\_MOVE}}{Display buttons to allow moving individual curves up or down.}
|
||||
\twocolitem{\windowstyle{wxPLOT\_BUTTON\_ENLARGE}}{Display buttons to allow enlarging individual curves vertically.}
|
||||
\twocolitem{\windowstyle{wxPLOT\_BUTTON\_ZOOM}}{Display buttons to allow zooming all curves horizontally.}
|
||||
\twocolitem{\windowstyle{wxPLOT\_BUTTON\_ALL}}{Display all buttons.}
|
||||
@@ -114,7 +114,7 @@ one will stretch the curve vertically. The Y axis will change accordingly.
|
||||
|
||||
\func{void}{SetUnitsPerValue}{\param{double }{upv}}
|
||||
|
||||
This sets the virtual untis per value. Normally, you will not be interested in
|
||||
This sets the virtual units per value. Normally, you will not be interested in
|
||||
what measured value you see, but what it stands for. If you want to display seconds
|
||||
on the X axis and the measuring device produced 50 values per second, set this
|
||||
value to 50. This will affect all curves being displayed.
|
||||
|
@@ -27,7 +27,7 @@ Constructor. {\it output} is an optional file for printing to, and if
|
||||
various parameters. {\it parent} is the parent of the printer dialog box.
|
||||
|
||||
Use the {\it Ok} member to test whether the constructor was successful
|
||||
in creating a useable device context.
|
||||
in creating a usable device context.
|
||||
|
||||
See \helpref{Printer settings}{printersettings} for functions to set and
|
||||
get PostScript printing settings.
|
||||
|
@@ -722,7 +722,7 @@ Constructor. With empty strings for the first three arguments, the default print
|
||||
displayed. {\it device} indicates the type of printer and {\it output}
|
||||
is an optional file for printing to. The {\it driver} parameter is
|
||||
currently unused. Use the {\it Ok} member to test whether the
|
||||
constructor was successful in creating a useable device context.
|
||||
constructor was successful in creating a usable device context.
|
||||
|
||||
This constructor is deprecated and retained only for backward compatibility.
|
||||
|
||||
@@ -753,7 +753,7 @@ wxPrintPreview object to initiate printing or previewing.
|
||||
|
||||
\func{}{wxPrintout}{\param{const wxString\& }{title = "Printout"}}
|
||||
|
||||
Constructor. Pass an optional title argument - the curent filename would be a good idea. This will appear in the printing list
|
||||
Constructor. Pass an optional title argument - the current filename would be a good idea. This will appear in the printing list
|
||||
(at least in MSW)
|
||||
|
||||
\membersection{wxPrintout::\destruct{wxPrintout}}
|
||||
|
@@ -20,7 +20,7 @@ to call its \helpref{Redirect}{wxprocessredirect} method before passing it to
|
||||
\helpref{GetInputStream}{wxprocessgetinputstream},
|
||||
\helpref{GetOutputStream}{wxprocessgetoutputstream} and
|
||||
\helpref{GetErrorStream}{wxprocessgeterrorstream} can then be used to retrieve
|
||||
the streams corresponding to the child process stdandard output, input and
|
||||
the streams corresponding to the child process standard output, input and
|
||||
error output respectively.
|
||||
|
||||
\perlnote{In wxPerl this class has an additional {\tt Destroy} method,
|
||||
|
@@ -59,7 +59,7 @@ from ShowProperty, called by OnPropertySelect, called by the listbox callback wh
|
||||
|
||||
Finds the appropriate validator and unloads the property from the controls, by calling
|
||||
wxPropertyListView::RetrieveProperty, wxPropertyValidator::OnClearControls and (if we're in
|
||||
detailed editing mdoe) wxPropertyValidator::OnClearDetailControls.
|
||||
detailed editing mode) wxPropertyValidator::OnClearDetailControls.
|
||||
|
||||
\membersection{wxPropertyListView::GetPanel}\label{wxpropertylistviewgetpanel}
|
||||
|
||||
|
@@ -34,7 +34,7 @@ TRUE, if the connection is established, else FALSE.
|
||||
\func{wxInputStream *}{GetInputStream}{\param{const wxString\&}{ path}}
|
||||
|
||||
Creates a new input stream on the the specified path. You can use all but seek
|
||||
functionnality of wxStream. Seek isn't available on all stream. For example,
|
||||
functionality of wxStream. Seek isn't available on all stream. For example,
|
||||
http or ftp streams doesn't deal with it. Other functions like StreamSize and
|
||||
Tell aren't available for the moment for this sort of stream.
|
||||
You will be notified when the EOF is reached by an error.
|
||||
|
@@ -24,9 +24,9 @@ wxPrivateDropTarget is for...
|
||||
|
||||
\func{void}{SetId}{\param{const wxString\& }{id}}
|
||||
|
||||
Yu have to override OnDrop to get at the data.
|
||||
You have to override OnDrop to get at the data.
|
||||
The string ID identifies the format of clipboard or DnD data. A word
|
||||
rocessor would e.g. add a wxTextDataObject and a wxPrivateDataObject
|
||||
processor would e.g. add a wxTextDataObject and a wxPrivateDataObject
|
||||
to the clipboard - the latter with the Id "WXWORD\_FORMAT".
|
||||
|
||||
\membersection{wxPrivateDropTarget::GetId}\label{wxprivatedroptargetgetid}
|
||||
|
@@ -155,7 +155,7 @@ your graphics (Jean Orloff).}
|
||||
\def\@mpty{}
|
||||
\def\s@tsize#1 #2 #3 #4\@ndsize{
|
||||
\def\psllx{#1}\def\pslly{#2}%
|
||||
\def\psurx{#3}\def\psury{#4}% needed by a crazyness of dvips!
|
||||
\def\psurx{#3}\def\psury{#4}% needed by a craziness of dvips!
|
||||
\ifx\psurx\@mpty\NotB@undingBoxtrue% this is not a valid one!
|
||||
\else
|
||||
\drawinght=#4bp\advance\drawinght by-#2bp
|
||||
@@ -479,7 +479,7 @@ press x or e) and rename it before retrying.}
|
||||
%
|
||||
% \textleftof\anybox: Sample text\endtext
|
||||
% inserts "Sample text" on the left of \anybox ie \vbox, \psbox.
|
||||
% \textrightof is the symmetric (not documented, too uggly)
|
||||
% \textrightof is the symmetric (not documented, too ugly)
|
||||
% Welcome any suggestion about clean wraparound macros from
|
||||
% TeXhackers reading this
|
||||
%
|
||||
|
@@ -149,7 +149,7 @@ Gets the y member.
|
||||
|
||||
Increase the rectangle size by {\it dx} in x direction and {\it dy} in y
|
||||
direction. Both (or one of) parameters may be negative to decrease the
|
||||
rectngle size.
|
||||
rectangle size.
|
||||
|
||||
The second form uses the same {\it diff} for both {\it dx} and {\it dy}.
|
||||
|
||||
|
@@ -199,14 +199,14 @@ pattern match. {\tt $\backslash$0} corresponds to the entire match and {\tt \&}
|
||||
synonym for it. Backslash may be used to quote itself or {\tt \&} character.
|
||||
|
||||
{\it maxMatches} may be used to limit the number of replacements made, setting
|
||||
it to $1$, for example, will only replace first occurence (if any) of the
|
||||
it to $1$, for example, will only replace first occurrence (if any) of the
|
||||
pattern in the text while default value of $0$ means replace all.
|
||||
|
||||
\membersection{wxRegEx::ReplaceAll}\label{wxregexreplaceall}
|
||||
|
||||
\constfunc{int}{ReplaceAll}{\param{wxString* }{text}, \param{const wxString\& }{replacement}}
|
||||
|
||||
Replace all occurences: this is actually a synonym for
|
||||
Replace all occurrences: this is actually a synonym for
|
||||
\helpref{Replace()}{wxregexreplace}.
|
||||
|
||||
\wxheading{See also}
|
||||
@@ -217,7 +217,7 @@ Replace all occurences: this is actually a synonym for
|
||||
|
||||
\constfunc{int}{ReplaceFirst}{\param{wxString* }{text}, \param{const wxString\& }{replacement}}
|
||||
|
||||
Replace the first occurence.
|
||||
Replace the first occurrence.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
@@ -27,7 +27,7 @@ for intercepting scroll window events from the receiving window.
|
||||
\twocolitem{{\bf EVT\_SCROLLWIN\_PAGEUP(func)}}{Process wxEVT\_SCROLLWIN\_PAGEUP page up events.}
|
||||
\twocolitem{{\bf EVT\_SCROLLWIN\_PAGEDOWN(func)}}{Process wxEVT\_SCROLLWIN\_PAGEDOWN page down events.}
|
||||
\twocolitem{{\bf EVT\_SCROLLWIN\_THUMBTRACK(func)}}{Process wxEVT\_SCROLLWIN\_THUMBTRACK thumbtrack events (frequent events
|
||||
sent as the user drags the thumtrack).}
|
||||
sent as the user drags the thumbtrack).}
|
||||
\twocolitem{{\bf EVT\_SCROLLWIN\_THUMBRELEASE(func)}}{Process wxEVT\_SCROLLWIN\_THUMBRELEASE thumb release events.}
|
||||
\end{twocollist}%
|
||||
|
||||
|
@@ -36,7 +36,7 @@ the macros behave exactly the same
|
||||
\twocolitem{{\bf EVT\_SCROLL\_PAGEUP(func)}}{Process wxEVT\_SCROLL\_PAGEUP page up events.}
|
||||
\twocolitem{{\bf EVT\_SCROLL\_PAGEDOWN(func)}}{Process wxEVT\_SCROLL\_PAGEDOWN page down events.}
|
||||
\twocolitem{{\bf EVT\_SCROLL\_THUMBTRACK(func)}}{Process wxEVT\_SCROLL\_THUMBTRACK thumbtrack events (frequent events
|
||||
sent as the user drags the thumtrack).}
|
||||
sent as the user drags the thumbtrack).}
|
||||
\twocolitem{{\bf EVT\_SCROLL\_THUMBRELEASE(func)}}{Process wxEVT\_SCROLL\_THUMBRELEASE thumb release events.}
|
||||
\twocolitem{{\bf EVT\_COMMAND\_SCROLL(id, func)}}{Process all scroll events.}
|
||||
\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_TOP(id, func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-top events.}
|
||||
@@ -46,7 +46,7 @@ sent as the user drags the thumtrack).}
|
||||
\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_PAGEUP(id, func)}}{Process wxEVT\_SCROLL\_PAGEUP page up events.}
|
||||
\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_PAGEDOWN(id, func)}}{Process wxEVT\_SCROLL\_PAGEDOWN page down events.}
|
||||
\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_THUMBTRACK(id, func)}}{Process wxEVT\_SCROLL\_THUMBTRACK thumbtrack events (frequent events
|
||||
sent as the user drags the thumtrack).}
|
||||
sent as the user drags the thumbtrack).}
|
||||
\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_THUMBRELEASE(func)}}{Process wxEVT\_SCROLL\_THUMBRELEASE thumb release events.}
|
||||
\end{twocollist}%
|
||||
|
||||
|
@@ -20,7 +20,7 @@ decrements the counter. As soon as it reaches $0$, any subsequent calls to
|
||||
counter becomes strictly positive again as the result of calling
|
||||
\helpref{Post}{wxsemaphorepost} which increments the counter.
|
||||
|
||||
In general, the semaphores are useful to restict access to a shared resource
|
||||
In general, the semaphores are useful to restrict access to a shared resource
|
||||
which can only be accessed by some fixed number of clients at once. For
|
||||
example, when modeling a hotel reservation system a semaphore with the counter
|
||||
equal to the total number of available rooms could be created. Each time a room
|
||||
@@ -80,5 +80,5 @@ and then decrement it and return.
|
||||
\func{bool}{Wait}{\param{unsigned long }{timeout\_millis}}
|
||||
|
||||
Same as the version above, but with a timeout limit: returns {\tt TRUE} if the
|
||||
semaphore was acquired and {\tt FALSE} if the timeout has ellapsed
|
||||
semaphore was acquired and {\tt FALSE} if the timeout has elapsed
|
||||
|
||||
|
@@ -56,7 +56,7 @@ Returns a system colour.
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_BTNTEXT}}{Text on push buttons.}
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_INACTIVECAPTIONTEXT}}{Colour of text in active captions.}
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_BTNHIGHLIGHT}}{Highlight colour for buttons (same as wxSYS\_COLOUR\_3DHILIGHT).}
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_3DDKSHADOW}}{Dark shadow for three-dimensional dispaly elements.}
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_3DDKSHADOW}}{Dark shadow for three-dimensional display elements.}
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_3DLIGHT}}{Light colour for three-dimensional display elements.}
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_INFOTEXT}}{Text colour for tooltip controls.}
|
||||
\twocolitem{{\bf wxSYS\_COLOUR\_INFOBK}}{Background colour for tooltip controls.}
|
||||
|
@@ -74,7 +74,7 @@ sizer and thus to create hierarchies of sizers (typically a vertical box as the
|
||||
horizontal boxes on the level beneath).}
|
||||
|
||||
\docparam{width and height}{The dimension of a spacer to be added to the sizer. Adding spacers to sizers
|
||||
gives more flexilibilty in the design of dialogs; imagine for example a horizontal box with two buttons at the
|
||||
gives more flexibility in the design of dialogs; imagine for example a horizontal box with two buttons at the
|
||||
bottom of a dialog: you might want to insert a space between the two buttons and make that space stretchable
|
||||
using the {\it option} flag and the result will be that the left button will be aligned with the left
|
||||
side of the dialog and the right button with the right side - the space in between will shrink and grow with
|
||||
@@ -82,7 +82,7 @@ the dialog.}
|
||||
|
||||
\docparam{option}{Although the meaning of this parameter is undefined in wxSizer, it is used in wxBoxSizer
|
||||
to indicate if a child of a sizer can change its size in the main orientation of the wxBoxSizer - where
|
||||
0 stands for not changable and a value of more than zero is interpreted relative to the value of other
|
||||
0 stands for not changeable and a value of more than zero is interpreted relative to the value of other
|
||||
children of the same wxBoxSizer. For example, you might have a horizontal wxBoxSizer with three children, two
|
||||
of which are supposed to change their size with the sizer. Then the two stretchable windows would get a
|
||||
value of 1 each to make them grow and shrink equally with the sizer's horizontal dimension.}
|
||||
@@ -204,7 +204,7 @@ Removes a child from the sizer. {\it window} is the window to be removed, {\it s
|
||||
equivalent sizer and {\it nth} is the position of the child in the sizer, typically 0 for
|
||||
the first item. This method does not cause any layout or resizing to take place and does
|
||||
not delete the window itself. Call \helpref{wxSizer::Layout}{wxsizerlayout} to update
|
||||
the layout "on screen" after removing a child fom the sizer.
|
||||
the layout "on screen" after removing a child from the sizer.
|
||||
|
||||
Returns TRUE if the child item was found and removed, FALSE otherwise.
|
||||
|
||||
@@ -213,7 +213,7 @@ Returns TRUE if the child item was found and removed, FALSE otherwise.
|
||||
\func{void}{SetDimension}{\param{int }{x}, \param{int }{y}, \param{int }{width}, \param{int }{height}}
|
||||
|
||||
Call this to force the sizer to take the given dimension and thus force the items owned
|
||||
by the sizer to resize themselves according to the rules defined by the paramater in the
|
||||
by the sizer to resize themselves according to the rules defined by the parameter in the
|
||||
\helpref{Add}{wxsizeradd} and \helpref{Prepend}{wxsizerprepend} methods.
|
||||
|
||||
\membersection{wxSizer::SetMinSize}\label{wxsizersetminsize}
|
||||
|
@@ -65,7 +65,7 @@ Constructor, taking an array of wxString choices and optional client data.
|
||||
|
||||
Use \helpref{wxSingleChoiceDialog::ShowModal}{wxsinglechoicedialogshowmodal} to show the dialog.
|
||||
|
||||
\pythonnote{For Python the two parametes {\tt n} and {\tt choices} are collapsed
|
||||
\pythonnote{For Python the two parameters {\tt n} and {\tt choices} are collapsed
|
||||
into a single parameter {\tt choices} which is expected to be a Python
|
||||
list of strings.}
|
||||
|
||||
|
@@ -70,7 +70,7 @@ again the application will be notified with another
|
||||
{\bf wxSOCKET\_OUTPUT} event.
|
||||
|
||||
The {\bf wxSOCKET\_CONNECTION} event is issued when a delayed connection
|
||||
request completes succesfully (client) or when a new connection arrives
|
||||
request completes successfully (client) or when a new connection arrives
|
||||
at the incoming queue (server).
|
||||
|
||||
The {\bf wxSOCKET\_LOST} event is issued when a close indication is
|
||||
@@ -577,7 +577,7 @@ enabled with \helpref{SetNotify}{wxsocketbasesetnotify} and
|
||||
\func{void}{SetFlags}{\param{wxSocketFlags}{ flags}}
|
||||
|
||||
Use SetFlags to customize IO operation for this socket.
|
||||
The {\it flags} parameter may be a combination of flags ORed toghether.
|
||||
The {\it flags} parameter may be a combination of flags ORed together.
|
||||
The following flags can be used:
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
@@ -640,7 +640,7 @@ it controls whether the GUI blocks.
|
||||
\func{void}{SetNotify}{\param{wxSocketEventFlags}{ flags}}
|
||||
|
||||
SetNotify specifies which socket events are to be sent to the event handler.
|
||||
The {\it flags} parameter may be combination of flags ORed toghether. The
|
||||
The {\it flags} parameter may be combination of flags ORed together. The
|
||||
following flags can be used:
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
@@ -1130,7 +1130,7 @@ as set with \helpref{SetTimeout}{wxsocketbasesettimeout}.}
|
||||
\wxheading{Return value}
|
||||
|
||||
WaitOnConnect returns TRUE if the connection request completes. This
|
||||
does not necessarily mean that the connection was succesfully established;
|
||||
does not necessarily mean that the connection was successfully established;
|
||||
it might also happen that the connection was refused by the peer. Use
|
||||
\helpref{IsConnected}{wxsocketbaseisconnected} to distinguish between
|
||||
these two situations.
|
||||
|
@@ -3,7 +3,7 @@
|
||||
This class represents the events generated by a splitter control. Also there is
|
||||
only one event class, the data associated to the different events is not the
|
||||
same and so not all accessor functions may be called for each event. The
|
||||
documentation mentions the kind of event(s) for which the given acessor
|
||||
documentation mentions the kind of event(s) for which the given accessor
|
||||
function makes sense: calling it for other types of events will result
|
||||
in assert failure (in debug mode) and will return meaningless results.
|
||||
|
||||
|
@@ -19,7 +19,7 @@ A static text control displays one or more lines of read-only text.
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\windowstyle{wxALIGN\_LEFT}}{Align the text to the left}
|
||||
\twocolitem{\windowstyle{wxALIGN\_RIGHT}}{Align the text to the right}
|
||||
\twocolitem{\windowstyle{wxALIGN\_CENTRE}}{Center the text (horisontally)}
|
||||
\twocolitem{\windowstyle{wxALIGN\_CENTRE}}{Center the text (horizontally)}
|
||||
\twocolitem{\windowstyle{wxST\_NO\_AUTORESIZE}}{By default, the control will
|
||||
adjust its size to exactly fit to the size of the text when
|
||||
\helpref{SetLabel}{wxstatictextsetlabel} is called. If this style flag is
|
||||
|
@@ -231,7 +231,7 @@ Sets the number of fields, and optionally the field widths.
|
||||
\pythonnote{Only the first parameter is accepted. Use SetStatusWidths
|
||||
to set the widths of the fields.}
|
||||
|
||||
\perlnote{In wxPerl this function acceps only the {\tt n} parameter.
|
||||
\perlnote{In wxPerl this function accepts only the {\tt n} parameter.
|
||||
Use SetStatusWidths to set the field widths.}
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
@@ -106,7 +106,7 @@ data anymore in the current buffer.
|
||||
|
||||
\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}. The datas
|
||||
Writes a block of the specified {\it size} using data of {\it buffer}. The data
|
||||
are cached in a buffer before being sent in one block to the stream.
|
||||
|
||||
\func{size\_t}{Write}{\param{wxStreamBuffer *}{buffer}}
|
||||
@@ -281,7 +281,7 @@ Toggles the fixed flag. Usually this flag is toggled at the same time as
|
||||
|
||||
\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 data are sent
|
||||
to the parent stream.
|
||||
|
||||
\membersection{wxStreamBuffer::FlushBuffer}
|
||||
@@ -300,7 +300,7 @@ Fill the IO buffer.
|
||||
|
||||
\func{size\_t}{GetDataLeft}{\void}
|
||||
|
||||
Returns the amount of available datas in the buffer.
|
||||
Returns the amount of available data in the buffer.
|
||||
|
||||
% --------------
|
||||
% Administration
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user