Fixed various typos.

Applied patch by snowleopard2 fixing a bunch of typos such as misspellings and double words in the documentation. Combined the patch with some local queued typos waiting to be committed as well as adding new typo fixes inspired by the patch.

Function names with American spelling were not changed nor was third-party code touched. The only code changes involve some changes in strings that are translated ("Can not" -> "Cannot").

Closes #13063 (again).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2011-03-22 14:17:38 +00:00
parent 57ab6f2314
commit 4c51a665c6
265 changed files with 817 additions and 807 deletions

View File

@@ -70,7 +70,7 @@ public:
/**
Creates the control with the given @a anim animation.
After control creation you must explicitely call Play() to start to play
After control creation you must explicitly call Play() to start to play
the animation. Until that function won't be called, the first frame
of the animation is displayed.

View File

@@ -391,7 +391,7 @@ public:
You may use OnExit() to clean up anything initialized here, provided
that the function returns @true.
Notice that if you want to to use the command line processing provided by
Notice that if you want to use the command line processing provided by
wxWidgets you have to call the base class version in the derived class
OnInit().

View File

@@ -170,7 +170,7 @@ public:
For generic programming, when the worst case must be assumed, you can rely on
all the fields of wxArchiveEntry being fully populated when
wxArchiveInputStream::GetNextEntry() returns, with the the following exceptions:
wxArchiveInputStream::GetNextEntry() returns, with the following exceptions:
@li GetSize(): guaranteed to be available after the entry has been read to Eof(),
or CloseEntry() has been called;

View File

@@ -23,7 +23,7 @@ enum wxAuiManagerDock
/**
@todo wxAuiManager behavior style flags.
@todo wxAuiManager behaviour style flags.
*/
enum wxAuiManagerOption
{
@@ -50,7 +50,7 @@ enum wxAuiManagerOption
wxAuiManager manages the panes associated with it for a particular wxFrame,
using a pane's wxAuiPaneInfo information to determine each pane's docking
and floating behavior.
and floating behaviour.
wxAuiManager uses wxWidgets' sizer mechanism to plan the layout of each
frame. It uses a replaceable dock art class to do all drawing, so all
@@ -135,7 +135,7 @@ class wxAuiManager : public wxEvtHandler
public:
/**
Constructor. @a managed_wnd specifies the wxFrame which should be managed.
@a flags specifies options which allow the frame management behavior
@a flags specifies options which allow the frame management behaviour
to be modified.
*/
wxAuiManager(wxWindow* managed_wnd = NULL,
@@ -299,7 +299,7 @@ public:
/**
This method is used to specify wxAuiManager's settings flags. @a flags
specifies options which allow the frame management behavior to be modified.
specifies options which allow the frame management behaviour to be modified.
*/
void SetFlags(unsigned int flags);

View File

@@ -306,8 +306,8 @@ public:
/**
This function should be used instead of changing
@c wxCAL_NO_MONTH_CHANGE style bit. It allows or disallows the user to
change the month interactively. Note that if the month can not be
changed, the year can not be changed neither.
change the month interactively. Note that if the month cannot be
changed, the year cannot be changed neither.
@return @true if the value of this option really changed or @false if
it was already set to the requested value.

View File

@@ -9,7 +9,7 @@
/**
@class wxConfigBase
wxConfigBase defines the basic interface of all config classes. It can not
wxConfigBase defines the basic interface of all config classes. It cannot
be used by itself (it is an abstract base class) and you will always use
one of its derivations: wxFileConfig, wxRegConfig or any other.

View File

@@ -143,7 +143,7 @@ struct wxFontMetrics
a device unit is a @e pixel. For a printer, the device unit is defined by the
resolution of the printer (usually given in @c DPI: dot-per-inch).
All wxDC functions use instead @b logical units, unless where explicitely
All wxDC functions use instead @b logical units, unless where explicitly
stated. Logical units are arbitrary units mapped to device units using
the current mapping mode (see wxDC::SetMapMode).

View File

@@ -233,7 +233,7 @@ public:
Returns the size (in bytes) of all files recursively found in @c dir or
@c wxInvalidSize in case of error.
In case it happens that while traversing folders a file's size can not
In case it happens that while traversing folders a file's size cannot
be read, that file is added to the @a filesSkipped array, if not @NULL,
and then skipped. This usually happens with some special folders which
are locked by the operating system or by another process. Remember that

View File

@@ -40,7 +40,7 @@ public:
If wxDefaultVideoMode is passed in as the mode parameter, the defined
behaviour is that wxDisplay will reset the video mode to the default
mode used by the display. On Windows, the behavior is normal. However,
mode used by the display. On Windows, the behaviour is normal. However,
there are differences on other platforms. On Unix variations using X11
extensions it should behave as defined, but some irregularities may
occur.

View File

@@ -32,7 +32,7 @@
functions are inline, so they do not take @e any space at all.
wxWidgets has three different kinds of array. All of them derive from
wxBaseArray class which works with untyped data and can not be used
wxBaseArray class which works with untyped data and cannot be used
directly. The standard macros WX_DEFINE_ARRAY(), WX_DEFINE_SORTED_ARRAY()
and WX_DEFINE_OBJARRAY() are used to define a new class deriving from it.
The classes declared will be called in this documentation wxArray,
@@ -659,7 +659,7 @@ public:
/**
This macro may be used to delete all elements of the array before emptying
it. It can not be used with wxObjArrays - but they will delete their
it. It cannot be used with wxObjArrays - but they will delete their
elements anyway when you call Empty().
*/
#define WX_CLEAR_ARRAY(wxArray_arrayToBeCleared)

View File

@@ -173,12 +173,12 @@ public:
or test if it can be opened for writing with Access(). */
write,
/** Open file for reading and writing; can not be used with Access() */
/** Open file for reading and writing; cannot be used with Access() */
read_write,
/** Open file for appending: the file is opened for writing, but the old contents
of the file are not erased and the file pointer is initially placed at the end
of the file; can not be used with Access().
of the file; cannot be used with Access().
This is the same as OpenMode::write if the file doesn't exist.
*/

View File

@@ -90,7 +90,7 @@
@endStyleTable
The default frame style is for normal, resizeable frames.
To create a frame which can not be resized by user, you may use the following
To create a frame which cannot be resized by user, you may use the following
combination of styles:
@code

View File

@@ -138,7 +138,7 @@ public:
gauge move a bit to indicate the user that some progress has been made.
@note After calling this function the value returned by GetValue() is
undefined and thus you need to explicitely call SetValue() if you
undefined and thus you need to explicitly call SetValue() if you
want to restore the determinate mode.
*/
virtual void Pulse();

View File

@@ -262,7 +262,7 @@ public:
This function is simple event handler.
Each time the user clicks mouse button over a cell within wxHtmlWindow
this method of that cell is called.
Default behavior is to call wxHtmlWindow::LoadPage.
Default behaviour is to call wxHtmlWindow::LoadPage.
@param window
interface to the parent HTML window

View File

@@ -55,7 +55,7 @@ public:
(it may also be set or changed later with wxVListBox::SetItemCount).
There are no special styles defined for wxHtmlListBox, in particular the
wxListBox styles (with the exception of @c wxLB_MULTIPLE) can not be used here.
wxListBox styles (with the exception of @c wxLB_MULTIPLE) cannot be used here.
Returns @true on success or @false if the control couldn't be created
*/

View File

@@ -1092,7 +1092,7 @@ public:
The function is case-insensitive to @a name.
If the given option is not present, the function returns 0.
Use HasOption() is 0 is a possibly valid value for the option.
Use HasOption() if 0 is a possibly valid value for the option.
Generic options:
@li @c wxIMAGE_OPTION_MAX_WIDTH and @c wxIMAGE_OPTION_MAX_HEIGHT: If either
@@ -1801,7 +1801,7 @@ wxImage wxNullImage;
/**
Initializes all available image handlers.
This function call wxImage::AddHandler() for all the available image
This function calls wxImage::AddHandler() for all the available image
handlers (see @ref image_handlers for the full list). Calling it is the
simplest way to initialize wxImage but it creates and registers even the
handlers your program may not use. If you want to avoid the overhead of

View File

@@ -27,7 +27,7 @@
for further information on how to use the class.
Below we documented both the supported STL and the legacy API
that originated from the old wxList class and which can still be used alternatively
for the the same class.
for the same class.
Note that if you compile wxWidgets in STL mode (@c wxUSE_STL defined as 1)
then wxList<T> will actually derive from @c std::list and just add a legacy

View File

@@ -152,7 +152,7 @@ wxMimeTypesManager* wxTheMimeTypesManager;
such as the original file name or the charset (for the text documents).
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
pass them to this program. Because wxFileType itself cannot know about
these parameters, it uses MessageParameters class to query them.
The default implementation only requires the caller to provide the file name

View File

@@ -39,7 +39,7 @@
// for the key existence if necessary.
wxRegKey key(wxRegKey::HKLM, "Software\\MyKey");
// Create a new value "MYVALUE" and set it to 12.
// Create a new value "MyValue" and set it to 12.
key.SetValue("MyValue", 12);
// Read the value back.

View File

@@ -770,7 +770,7 @@ public:
(It will, of course, be larger or smaller in the preview image, depending on the
zoom factor.)
Use this if you want WYSIWYG behavior, e.g., in a text editor.
Use this if you want WYSIWYG behaviour, e.g., in a text editor.
*/
void MapScreenSizeToPaper();

View File

@@ -114,7 +114,7 @@ public:
Like Update() but makes the gauge control run in indeterminate mode.
In indeterminate mode the remaining and the estimated time labels (if
present) are set to to "Unknown" or to @a newmsg (if it's non-empty).
present) are set to "Unknown" or to @a newmsg (if it's non-empty).
Each call to this function moves the progress bar a bit to indicate
that some progress was done.

View File

@@ -96,7 +96,7 @@ public:
@remarks wxPropertyGrid will automatically unfocus the editor when
@c wxEVT_COMMAND_TEXT_ENTER is received and when it results in
property value being modified. This happens regardless of
editor type (ie. behavior is same for any wxTextCtrl and
editor type (ie. behaviour is same for any wxTextCtrl and
wxComboBox based editor).
*/
virtual bool OnEvent( wxPropertyGrid* propgrid, wxPGProperty* property,

View File

@@ -510,8 +510,8 @@ protected:
/**
Creates property grid for the manager. Reimplement in derived class to
use subclassed wxPropertyGrid. However, if you do this then you
must also use the two-step construction (i.e. default constructor and
use subclassed wxPropertyGrid. However, if you do this then you
must also use the two-step construction (ie. default constructor and
Create() instead of constructor with arguments) when creating the
manager.
*/

View File

@@ -222,8 +222,8 @@ wxPG_PROP_COLLAPSED = 0x0020,
value.
If property is not selected, then indicates that the actual property
value has failed validation (NB: this behavior is not currently supported,
but may be used in future).
value has failed validation (NB: this behaviour is not currently supported,
but may be used in the future).
*/
wxPG_PROP_INVALID_VALUE = 0x0040,
@@ -417,15 +417,20 @@ wxPG_PROP_BEING_DELETED = 0x00200000
Note that when displaying the value, sign is omitted if the resulting
textual representation is effectively zero (for example, -0.0001 with
precision of 3 will become 0.0 instead of -0.0). This behavior is unlike
precision of 3 will become 0.0 instead of -0.0). This behaviour is unlike
what C standard library does, but should result in better end-user
experience in almost all cases.
@subsection wxBoolProperty
Represents a boolean value. wxChoice is used as editor control, by the
<<<<<<< .mine
default. wxPG_BOOL_USE_CHECKBOX attribute can be set to true in order to
use check box instead.
=======
default. wxPG_BOOL_USE_CHECKBOX attribute can be set to true in order to use
check box instead.
>>>>>>> .r67279
@subsection wxLongStringProperty
@@ -474,7 +479,7 @@ wxPG_PROP_BEING_DELETED = 0x00200000
Like wxLongStringProperty, but the button triggers file selector instead.
Default wildcard is "All files..." but this can be changed by setting
wxPG_FILE_WILDCARD attribute (see wxFileDialog for format details).
Attribute wxPG_FILE_SHOW_FULL_PATH can be set to @false inorder to show
Attribute wxPG_FILE_SHOW_FULL_PATH can be set to @false in order to show
only the filename, not the entire path.
@subsection wxEnumProperty
@@ -767,7 +772,7 @@ public:
You might want to take into account that m_value is Null variant
if property value is unspecified (which is usually only case if
you explicitly enabled that sort behavior).
you explicitly enabled that sort behaviour).
*/
virtual bool StringToValue( wxVariant& variant, const wxString& text, int argFlags = 0 ) const;
@@ -795,7 +800,7 @@ public:
instead of OnEvent.
- You might want to take into account that m_value is Mull variant if
property value is unspecified (which is usually only case if you
explicitly enabled that sort behavior).
explicitly enabled that sort behaviour).
*/
virtual bool IntToValue( wxVariant& variant, int number, int argFlags = 0 ) const;
@@ -818,7 +823,7 @@ public:
/**
Converts string to a value, and if successful, calls SetValue() on it.
Default behavior is to do nothing.
Default behaviour is to do nothing.
@param text
String to get the value from.
@@ -830,8 +835,13 @@ public:
bool SetValueFromString( const wxString& text, int flags = 0 );
/**
<<<<<<< .mine
Converts integer to a value, and if successful, calls SetValue() on it.
Default behaviour is to do nothing.
=======
Converts integer to a value, and if successful, calls SetValue() on it.
Default behavior is to do nothing.
>>>>>>> .r67279
@param value
Int to get the value from.
@@ -851,7 +861,7 @@ public:
Normally -1, but can be an index to the property's list of items.
@remarks
- Default behavior is to return wxSize(0,0), which means no image.
- Default behaviour is to return wxSize(0,0), which means no image.
- Default image width or height is indicated with dimension -1.
- You can also return wxPG_DEFAULT_IMAGE_SIZE which equals wxSize(-1, -1).
*/
@@ -1540,7 +1550,7 @@ public:
wxIntProperty, wxUIntProperty, wxFloatProperty, wxEditEnumProperty.
@param enable
Whether to enable or disable this behavior (it is disabled by
Whether to enable or disable this behaviour (it is disabled by
default).
*/
void SetAutoUnspecified( bool enable = true );

View File

@@ -45,7 +45,7 @@ wxPG_BOLD_MODIFIED = 0x00000040,
/**
When wxPropertyGrid is resized, splitter moves to the center. This
behavior stops once the user manually moves the splitter.
behaviour stops once the user manually moves the splitter.
*/
wxPG_SPLITTER_AUTO_CENTER = 0x00000080,
@@ -209,7 +209,7 @@ wxPG_EX_TOOLBAR_SEPARATOR = 0x08000000
// -----------------------------------------------------------------------
/**
@section propgrid_vfbflags wxPropertyGrid Validation Failure Behavior Flags
@section propgrid_vfbflags wxPropertyGrid Validation Failure behaviour Flags
@{
*/
@@ -218,7 +218,7 @@ enum wxPG_VALIDATION_FAILURE_BEHAVIOR_FLAGS
/**
Prevents user from leaving property unless value is valid. If this
behavior flag is not used, then value change is instead cancelled.
behaviour flag is not used, then value change is instead cancelled.
*/
wxPG_VFB_STAY_IN_PROPERTY = 0x01,
@@ -237,7 +237,7 @@ wxPG_VFB_MARK_CELL = 0x04,
To customize the way the message is displayed, you need to
reimplement wxPropertyGrid::DoShowPropertyError() in a
derived class. Default behavior is to display the text on
derived class. Default behaviour is to display the text on
the top-level frame's status bar, if present, and otherwise
using wxMessageBox.
*/
@@ -279,7 +279,7 @@ class wxPGValidationInfo
{
public:
/**
@return Returns failure behavior which is a combination of
@return Returns failure behaviour which is a combination of
@ref propgrid_vfbflags.
*/
wxPGVFBFlags GetFailureBehavior();
@@ -294,7 +294,7 @@ public:
*/
wxVariant& GetValue();
/** Set validation failure behavior
/** Set validation failure behaviour
@param failureBehavior
Mixture of @ref propgrid_vfbflags.
@@ -1092,7 +1092,7 @@ public:
@name wxPropertyGrid customization
Reimplement these member functions in derived class for better
control over wxPropertyGrid behavior.
control over wxPropertyGrid behaviour.
*/
//@{
@@ -1121,7 +1121,7 @@ public:
/**
Return wxStatusBar that is used by this wxPropertyGrid. You can
reimplement this member function in derived class to override
the default behavior of using the top-level wxFrame's status
the default behaviour of using the top-level wxFrame's status
bar, if any.
*/
virtual wxStatusBar* GetStatusBar();
@@ -1282,7 +1282,7 @@ public:
void SetProperty( wxPGProperty* p );
/**
Set override validation failure behavior. Only effective if Veto() was
Set override validation failure behaviour. Only effective if Veto() was
also called, and only allowed if event type is @c wxEVT_PG_CHANGING.
*/
void SetValidationFailureBehavior( wxPGVFBFlags flags );

View File

@@ -283,7 +283,7 @@ public:
If there is no property with such name, @NULL pointer is returned.
@remarks Properties which have non-category, non-root parent
can not be accessed globally by their name. Instead, use
cannot be accessed globally by their name. Instead, use
"<property>.<subproperty>" instead of "<subproperty>".
*/
wxPGProperty* GetProperty( const wxString& name ) const;
@@ -339,7 +339,7 @@ public:
If there is no property with such name, @NULL pointer is returned.
@remarks Properties which have non-category, non-root parent
can not be accessed globally by their name. Instead, use
cannot be accessed globally by their name. Instead, use
"<property>.<subproperty>" instead of "<subproperty>".
*/
wxPGProperty* GetPropertyByName( const wxString& name ) const;

View File

@@ -517,7 +517,7 @@ protected:
See wxScrolled for detailed description.
@note Note that because this class derives from wxPanel, it shares its
behavior with regard to TAB traversal and focus handling (in
behaviour with regard to TAB traversal and focus handling (in
particular, it forwards focus to its children). If you don't want
this behaviour, use ::wxScrolledCanvas instead.

View File

@@ -88,7 +88,7 @@
@c wxFIXED_MINSIZE.}
@itemdef{wxRESERVE_SPACE_EVEN_IF_HIDDEN,
Normally wxSizers don't allocate space for hidden windows or other
items. This flag overrides this behavior so that sufficient space
items. This flag overrides this behaviour so that sufficient space
is allocated for the window even if it isn't visible. This makes
it possible to dynamically show and hide controls without resizing
parent dialog, for example. (Available since 2.8.8.)}
@@ -168,7 +168,7 @@ public:
to make them grow and shrink equally with the sizer's horizontal
dimension.
@param flag
OR-combination of flags affecting sizer's behavior. See
OR-combination of flags affecting sizer's behaviour. See
@ref wxsizer_flags "wxSizer flags list" for details.
@param border
Determines the border width, if the flag parameter is set to
@@ -226,7 +226,7 @@ public:
to make them grow and shrink equally with the sizer's horizontal
dimension.
@param flag
OR-combination of flags affecting sizer's behavior. See
OR-combination of flags affecting sizer's behaviour. See
@ref wxsizer_flags "wxSizer flags list" for details.
@param border
Determines the border width, if the flag parameter is set to
@@ -274,7 +274,7 @@ public:
to make them grow and shrink equally with the sizer's horizontal
dimension.
@param flag
OR-combination of flags affecting sizer's behavior. See
OR-combination of flags affecting sizer's behaviour. See
@ref wxsizer_flags "wxSizer flags list" for details.
@param border
Determines the border width, if the flag parameter is set to
@@ -1362,7 +1362,7 @@ public:
/**
Set the @c wxRESERVE_SPACE_EVEN_IF_HIDDEN flag. Normally wxSizers
don't allocate space for hidden windows or other items. This flag
overrides this behavior so that sufficient space is allocated for the
overrides this behaviour so that sufficient space is allocated for the
window even if it isn't visible. This makes it possible to dynamically
show and hide controls without resizing parent dialog, for example.

View File

@@ -596,7 +596,7 @@ enum wxSocketEventFlags
@b wxSOCKET_REUSEADDR can also be used with socket clients to (re)bind to a
particular local port for an outgoing connection.
This option can have surprising platform dependent behavior, so check the
This option can have surprising platform dependent behaviour, so check the
documentation for your platform's implementation of setsockopt().
Note that on BSD-based systems(e.g. Mac OS X), use of
@@ -616,7 +616,7 @@ enum wxSocketEventFlags
the data.
- @b wxSOCKET_BLOCK has nothing to do with the previous flags and
it controls whether the GUI blocks.
- @b wxSOCKET_REUSEADDR controls special platform-specific behavior for
- @b wxSOCKET_REUSEADDR controls special platform-specific behaviour for
reusing local addresses/ports.
*/
enum

View File

@@ -73,7 +73,7 @@ public:
@param message
Message to show on the dialog.
@param caption
The caption of the the dialog.
The caption of the dialog.
@param value
The default value, which may be the empty string.
@param style

View File

@@ -700,7 +700,7 @@ enum
modeled after the POSIX thread API. This is different from the Win32 API
where all threads are joinable.
By default wxThreads in wxWidgets use the @b detached behavior.
By default wxThreads in wxWidgets use the @b detached behaviour.
Detached threads delete themselves once they have completed, either by themselves
when they complete processing or through a call to Delete(), and thus
@b must be created on the heap (through the new operator, for example).
@@ -957,10 +957,10 @@ enum
A common problem users experience with wxThread is that in their main thread
they will check the thread every now and then to see if it has ended through
IsRunning(), only to find that their application has run into problems
because the thread is using the default behavior (i.e. it's @b detached) and
because the thread is using the default behaviour (i.e. it's @b detached) and
has already deleted itself.
Naturally, they instead attempt to use joinable threads in place of the previous
behavior. However, polling a wxThread for when it has ended is in general a
behaviour. However, polling a wxThread for when it has ended is in general a
bad idea - in fact calling a routine on any running wxThread should be avoided
if possible. Instead, find a way to notify yourself when the thread has ended.

View File

@@ -28,7 +28,7 @@
Changes to the item's state should be made through calls to wxToolBar methods,
for example wxToolBar::EnableTool.
Calls to @c wxToolBarToolBase methods (undocumented by purpose) will not change
the visible state of the item within the the tool bar.
the visible state of the item within the tool bar.
<b>wxMSW note</b>: Note that under wxMSW toolbar paints tools to reflect
system-wide colours. If you use more than 16 colours in your tool bitmaps,

View File

@@ -72,12 +72,12 @@
@event{EVT_TREE_BEGIN_DRAG(id, func)}
Begin dragging with the left mouse button.
If you want to enable left-dragging you need to intercept this event
and explicitely call wxTreeEvent::Allow(), as it's vetoed by default.
and explicitly call wxTreeEvent::Allow(), as it's vetoed by default.
Processes a @c wxEVT_COMMAND_TREE_BEGIN_DRAG event type.
@event{EVT_TREE_BEGIN_RDRAG(id, func)}
Begin dragging with the right mouse button.
If you want to enable right-dragging you need to intercept this event
and explicitely call wxTreeEvent::Allow(), as it's vetoed by default.
and explicitly call wxTreeEvent::Allow(), as it's vetoed by default.
Processes a @c wxEVT_COMMAND_TREE_BEGIN_RDRAG event type.
@event{EVT_TREE_END_DRAG(id, func)}
End dragging with the left or right mouse button.
@@ -1027,13 +1027,13 @@ public:
@beginEventTable{wxTreeEvent}
@event{EVT_TREE_BEGIN_DRAG(id, func)}
Begin dragging with the left mouse button. If you want to enable
left-dragging you need to intercept this event and explicitely call
left-dragging you need to intercept this event and explicitly call
wxTreeEvent::Allow(), as it's vetoed by default. Also notice that the
control must have an associated image list (see SetImageList()) to
drag its items under MSW.
@event{EVT_TREE_BEGIN_RDRAG(id, func)}
Begin dragging with the right mouse button. If you want to enable
right-dragging you need to intercept this event and explicitely call
right-dragging you need to intercept this event and explicitly call
wxTreeEvent::Allow(), as it's vetoed by default.
@event{EVT_TREE_END_DRAG(id, func)}
End dragging with the left or right mouse button.

View File

@@ -18,7 +18,7 @@
is to handle objects which derived type one does not know.
@note wxWeakRef<T> selects an implementation based on the static type of T.
If T does not have wxTrackable statically, it defaults to to a mixed-
If T does not have wxTrackable statically, it defaults to a mixed-
mode operation, where it uses @c dynamic_cast as the last measure
(if available from the compiler and enabled when building wxWidgets).

View File

@@ -3369,7 +3369,7 @@ protected:
@remarks This function is not meant to be called directly by user code,
but via Centre, Center, CentreOnParent, or CenterOnParent.
This function can be overriden to fine-tune centring behaviour.
This function can be overridden to fine-tune centring behaviour.
*/
virtual void DoCentre(int direction);

View File

@@ -95,7 +95,7 @@ public:
@beginEventTable{wxWizardEvent}
@event{EVT_WIZARD_PAGE_CHANGED(id, func)}
The page has been just changed (this event can not be vetoed).
The page has been just changed (this event cannot be vetoed).
@event{EVT_WIZARD_PAGE_CHANGING(id, func)}
The page is being changed (this event can be vetoed).
@event{EVT_WIZARD_PAGE_SHOWN(id, func)}
@@ -432,7 +432,7 @@ public:
/**
Executes the wizard starting from the given page, returning @true if it was
successfully finished or @false if user cancelled it.
The @a firstPage can not be @NULL.
The @a firstPage cannot be @NULL.
*/
virtual bool RunWizard(wxWizardPage* firstPage);