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:
@@ -147,7 +147,7 @@ public:
|
||||
@remarks wxPropertyGrid will automatically unfocus the editor when
|
||||
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,
|
||||
|
@@ -616,7 +616,7 @@ protected:
|
||||
|
||||
/**
|
||||
Creates property grid for the manager. Reimplement in derived class to
|
||||
use subclassed wxPropertyGrid. However, if you you do this then you
|
||||
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.
|
||||
|
@@ -410,8 +410,8 @@ wxPG_PROP_COLLAPSED = 0x0020,
|
||||
If property is selected, then indicates that validation failed for pending
|
||||
value.
|
||||
|
||||
If property is not selected, then indicates that the the actual property
|
||||
value has failed validation (NB: this behavior is not currently supported,
|
||||
If property is not selected, that indicates that the actual property
|
||||
value has failed validation (NB: this behaviour is not currently supported,
|
||||
but may be used in future).
|
||||
*/
|
||||
wxPG_PROP_INVALID_VALUE = 0x0040,
|
||||
@@ -656,7 +656,7 @@ wxPG_PROP_BEING_DELETED = 0x00200000
|
||||
#define wxPG_DIR_DIALOG_MESSAGE wxS("DialogMessage")
|
||||
|
||||
/**
|
||||
wxArrayStringProperty's string delimiter character. If this is aquotation
|
||||
wxArrayStringProperty's string delimiter character. If this is a quotation
|
||||
mark or hyphen, then strings will be quoted instead (with given
|
||||
character).
|
||||
|
||||
@@ -674,7 +674,7 @@ wxPG_PROP_BEING_DELETED = 0x00200000
|
||||
#define wxPG_DATE_PICKER_STYLE wxS("PickerStyle")
|
||||
|
||||
/** SpinCtrl editor, int or double. How much number changes when button is
|
||||
pressed (or up/down on keybard).
|
||||
pressed (or up/down on keyboard).
|
||||
*/
|
||||
#define wxPG_ATTR_SPINCTRL_STEP wxS("Step")
|
||||
|
||||
@@ -1189,7 +1189,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,
|
||||
@@ -1221,7 +1221,7 @@ public:
|
||||
instead of OnEvent.
|
||||
- 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).
|
||||
explicitly enabled that sort behaviour).
|
||||
*/
|
||||
virtual bool IntToValue( wxVariant& value,
|
||||
int number,
|
||||
@@ -1247,7 +1247,7 @@ public:
|
||||
virtual wxString ValueToString( wxVariant& value, int argFlags = 0 ) const;
|
||||
|
||||
/** 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.
|
||||
@return
|
||||
@@ -1255,8 +1255,8 @@ public:
|
||||
*/
|
||||
bool SetValueFromString( const wxString& text, int flags = wxPG_PROGRAMMATIC_VALUE );
|
||||
|
||||
/** Converts integer to a value, and if succesful, calls SetValue() on it.
|
||||
Default behavior is to do nothing.
|
||||
/** Converts integer to a value, and if successful, calls SetValue() on it.
|
||||
Default behaviour is to do nothing.
|
||||
@param value
|
||||
Int to get the value from.
|
||||
@param flags
|
||||
@@ -1275,7 +1275,7 @@ public:
|
||||
@param item
|
||||
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, i.e. wxSize(-1, -1).
|
||||
*/
|
||||
@@ -1309,7 +1309,7 @@ public:
|
||||
|
||||
/**
|
||||
Called after value of a child property has been altered. Must return
|
||||
new value of the whole property (after any alterations warrented by
|
||||
new value of the whole property (after any alterations warranted by
|
||||
child's new value).
|
||||
|
||||
Note that this function is usually called at the time that value of
|
||||
@@ -1707,7 +1707,7 @@ public:
|
||||
/** Returns true if property has editable wxTextCtrl when selected.
|
||||
|
||||
@remarks
|
||||
Altough disabled properties do not displayed editor, they still
|
||||
Although disabled properties do not displayed editor, they still
|
||||
return True here as being disabled is considered a temporary
|
||||
condition (unlike being read-only or having limited editing enabled).
|
||||
*/
|
||||
@@ -1932,7 +1932,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 )
|
||||
|
@@ -159,7 +159,7 @@ wxPG_ALPHABETIC_MODE = (wxPG_HIDE_CATEGORIES|wxPG_AUTO_SORT),
|
||||
wxPG_BOLD_MODIFIED = 0x00000040,
|
||||
|
||||
/** Using this style, the column splitters move automatically based on column
|
||||
proportions (default is equal proportion for every column). This behavior
|
||||
proportions (default is equal proportion for every column). This behaviour
|
||||
stops once the user manually moves a splitter, and returns when a
|
||||
splitter is double-clicked.
|
||||
|
||||
@@ -248,7 +248,7 @@ wxPG_EX_MODE_BUTTONS = 0x00008000,
|
||||
*/
|
||||
wxPG_EX_HELP_AS_TOOLTIPS = 0x00010000,
|
||||
|
||||
/** Prevent TAB from focusing to wxButtons. This behavior was default
|
||||
/** Prevent TAB from focusing to wxButtons. This behaviour was default
|
||||
in version 1.2.0 and earlier.
|
||||
NOTE! Tabbing to button doesn't work yet. Problem seems to be that on wxMSW
|
||||
atleast the button doesn't properly propagate key events (yes, I'm using
|
||||
@@ -376,7 +376,7 @@ protected:
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
/** @section propgrid_vfbflags wxPropertyGrid Validation Failure Behavior Flags
|
||||
/** @section propgrid_vfbflags wxPropertyGrid Validation Failure behaviour Flags
|
||||
@{
|
||||
*/
|
||||
|
||||
@@ -384,7 +384,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,
|
||||
|
||||
@@ -401,7 +401,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.
|
||||
*/
|
||||
@@ -460,7 +460,7 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
@return Returns failure behavior which is a combination of
|
||||
@return Returns failure behaviour which is a combination of
|
||||
@ref propgrid_vfbflags.
|
||||
*/
|
||||
wxPGVFBFlags GetFailureBehavior() const
|
||||
@@ -481,7 +481,7 @@ public:
|
||||
return *m_pValue;
|
||||
}
|
||||
|
||||
/** Set validation failure behavior
|
||||
/** Set validation failure behaviour
|
||||
|
||||
@param failureBehavior
|
||||
Mixture of @ref propgrid_vfbflags.
|
||||
@@ -504,7 +504,7 @@ private:
|
||||
*/
|
||||
wxString m_failureMessage;
|
||||
|
||||
/** Validation failure behavior. Use wxPG_VFB_XXX flags.
|
||||
/** Validation failure behaviour. Use wxPG_VFB_XXX flags.
|
||||
*/
|
||||
wxPGVFBFlags m_failureBehavior;
|
||||
|
||||
@@ -1625,7 +1625,7 @@ public:
|
||||
Return true if user is allowed to change to another property even
|
||||
if current has invalid value.
|
||||
@remarks
|
||||
To add your own validation failure behavior, override
|
||||
To add your own validation failure behaviour, override
|
||||
wxPropertyGrid::DoOnValidationFailure().
|
||||
*/
|
||||
bool OnValidationFailure( wxPGProperty* property,
|
||||
@@ -1669,13 +1669,13 @@ 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();
|
||||
#endif
|
||||
|
||||
/** Override to customize property validation failure behavior.
|
||||
/** Override to customize property validation failure behaviour.
|
||||
@param invalidValue
|
||||
Value which failed in validation.
|
||||
@return
|
||||
@@ -1743,7 +1743,7 @@ protected:
|
||||
/**
|
||||
Runs all validation functionality (includes sending wxEVT_PG_CHANGING).
|
||||
Returns true if all tests passed. Implement in derived class to
|
||||
add additional validation behavior.
|
||||
add additional validation behaviour.
|
||||
*/
|
||||
virtual bool PerformValidation( wxPGProperty* p,
|
||||
wxVariant& pendingValue,
|
||||
@@ -2489,7 +2489,7 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
Set override validation failure behavior.
|
||||
Set override validation failure behaviour.
|
||||
|
||||
Only effective if Veto was also called, and only allowed if event type
|
||||
is wxEVT_PG_CHANGING.
|
||||
|
@@ -392,7 +392,7 @@ enum wxPG_MISC_ARG_FLAGS
|
||||
// Used when dealing with fragments of composite string value
|
||||
wxPG_COMPOSITE_FRAGMENT = 0x00000010,
|
||||
|
||||
// Means property for which final string value is for can not really be
|
||||
// Means property for which final string value is for cannot really be
|
||||
// edited.
|
||||
wxPG_UNEDITABLE_COMPOSITE_FRAGMENT = 0x00000020,
|
||||
|
||||
|
@@ -381,7 +381,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
|
||||
@@ -879,7 +879,7 @@ public:
|
||||
wxString SaveEditableState( int includedStates = AllStates ) const;
|
||||
|
||||
/**
|
||||
Lets user to set the strings listed in the choice dropdown of a
|
||||
Lets user set the strings listed in the choice dropdown of a
|
||||
wxBoolProperty. Defaults are "True" and "False", so changing them to,
|
||||
say, "Yes" and "No" may be useful in some less technical applications.
|
||||
*/
|
||||
|
@@ -437,7 +437,7 @@ public:
|
||||
void CheckColumnWidths( int widthChange = 0 );
|
||||
|
||||
/**
|
||||
Override this member function to add custom behavior on property
|
||||
Override this member function to add custom behaviour on property
|
||||
deletion.
|
||||
*/
|
||||
virtual void DoDelete( wxPGProperty* item, bool doDelete = true );
|
||||
@@ -447,7 +447,7 @@ public:
|
||||
wxPGProperty* DoGetItemAtY( int y ) const;
|
||||
|
||||
/**
|
||||
Override this member function to add custom behavior on property
|
||||
Override this member function to add custom behaviour on property
|
||||
insertion.
|
||||
*/
|
||||
virtual wxPGProperty* DoInsert( wxPGProperty* parent,
|
||||
|
@@ -94,7 +94,7 @@ private:
|
||||
Basic property with string value.
|
||||
|
||||
<b>Supported special attributes:</b>
|
||||
- "Password": set to 1 inorder to enable wxTE_PASSWORD on the editor.
|
||||
- "Password": set to 1 in order to enable wxTE_PASSWORD on the editor.
|
||||
|
||||
@remarks
|
||||
- If value "<composed>" is set, then actual value is formed (or composed)
|
||||
@@ -517,7 +517,7 @@ protected:
|
||||
@ingroup classes
|
||||
Represents a bit set that fits in a long integer. wxBoolProperty
|
||||
sub-properties are created for editing individual bits. Textctrl is created
|
||||
to manually edit the flags as a text; a continous sequence of spaces,
|
||||
to manually edit the flags as a text; a continuous sequence of spaces,
|
||||
commas and semicolons is considered as a flag id separator.
|
||||
<b>Note:</b> When changing "choices" (ie. flag labels) of wxFlagsProperty,
|
||||
you will need to use SetPropertyChoices - otherwise they will not get
|
||||
|
Reference in New Issue
Block a user