Fixed minor typos in comments.

Yet another iteration.
This commit is contained in:
Artur Wieczorek
2015-06-09 20:04:27 +02:00
parent c9417c41f5
commit 6cc7811394
9 changed files with 20 additions and 20 deletions

View File

@@ -60,7 +60,7 @@ public:
calling wxPropertyGrid::RegisterAdditionalEditors() prior use.
- Pointer to builtin editor is available as wxPGEditor_EditorName
(eg. wxPGEditor_TextCtrl).
(e.g. wxPGEditor_TextCtrl).
- To add new editor you need to register it first using static function
wxPropertyGrid::RegisterEditorClass(), with code like this:
@@ -93,7 +93,7 @@ public:
/**
Returns pointer to the name of the editor. For example,
wxPGEditor_TextCtrl has name "TextCtrl". If you dont' need to access
wxPGEditor_TextCtrl has name "TextCtrl". If you don't need to access
your custom editor by string name, then you do not need to implement
this function.
*/
@@ -398,7 +398,7 @@ public:
//
// Use custom check box code instead of native control
// for cleaner (ie. more integrated) look.
// for cleaner (i.e. more integrated) look.
//
class WXDLLIMPEXP_PROPGRID wxPGCheckBoxEditor : public wxPGEditor
{

View File

@@ -513,7 +513,7 @@ public:
/** Select and displays a given page.
@param index
Index of page being seleced. Can be -1 to select nothing.
Index of page being selected. Can be -1 to select nothing.
*/
void SelectPage( int index );
@@ -623,7 +623,7 @@ 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 (ie. default constructor and
must also use the two-step construction (i.e. default constructor and
Create() instead of constructor with arguments) when creating the
manager.
*/

View File

@@ -606,7 +606,7 @@ wxPG_PROP_CLASS_SPECIFIC_3 = 0x00400000
/**
The text will be echoed as asterisks (wxTE_PASSWORD will be passed to
textctrl etc).
textctrl etc.).
*/
#define wxPG_STRING_PASSWORD wxS("Password")
@@ -1473,7 +1473,7 @@ public:
/** Returns which choice is currently selected. Only applies to properties
which have choices.
Needs to reimplemented in derived class if property value does not
Needs to be reimplemented in derived class if property value does not
map directly to a choice. Integer as index, bool, and string usually do.
*/
virtual int GetChoiceSelection() const;
@@ -1594,7 +1594,7 @@ public:
wxString GetName() const;
/**
Returns property's base name (ie parent's name is not added in any
Returns property's base name (i.e. parent's name is not added in any
case)
*/
const wxString& GetBaseName() const { return m_name; }
@@ -2237,7 +2237,7 @@ public:
inline bool SetMaxLength( int maxLen );
/** Call with 'false' in OnSetValue to cancel value changes after all
(ie. cancel 'true' returned by StringToValue() or IntToValue()).
(i.e. cancel 'true' returned by StringToValue() or IntToValue()).
*/
void SetWasModified( bool set = true )
{
@@ -2409,7 +2409,7 @@ protected:
Start looking for the child at this index.
@remarks
Does not support scope (ie. Parent.Child notation).
Does not support scope (i.e. Parent.Child notation).
*/
wxPGProperty* GetPropertyByNameWH( const wxString& name,
unsigned int hintIndex ) const;

View File

@@ -1759,7 +1759,7 @@ public:
virtual void DrawItemAndChildren( wxPGProperty* p );
/**
Draws item, children, and consequtive parents as long as category is
Draws item, children, and consecutive parents as long as category is
not met.
*/
void DrawItemAndValueRelated( wxPGProperty* p );

View File

@@ -224,9 +224,9 @@ class wxPGValidationInfo;
// -----------------------------------------------------------------------
/** @section propgrid_misc wxPropertyGrid Miscellanous
/** @section propgrid_misc wxPropertyGrid Miscellaneous
This section describes some miscellanous values, types and macros.
This section describes some miscellaneous values, types and macros.
@{
*/

View File

@@ -761,7 +761,7 @@ public:
}
/**
Returns true if property is shown (ie hideproperty with true not
Returns true if property is shown (i.e. HideProperty with true not
called for it).
*/
bool IsPropertyShown( wxPGPropArg id ) const
@@ -928,7 +928,7 @@ public:
DoSetPropertyAttribute(id,attrName,value,argFlags);
}
/** Sets property attribute for all applicapple properties.
/** Sets property attribute for all applicable properties.
Be sure to use this method only after all properties have been
added to the grid.
*/
@@ -1068,7 +1068,7 @@ public:
This is mainly for use with textctrl editor. Not all other editors fully
support it.
@param flags
By default changes are applied recursively. Set this paramter
By default changes are applied recursively. Set this parameter
wxPG_DONT_RECURSE to prevent this.
*/
void SetPropertyReadOnly( wxPGPropArg id,

View File

@@ -223,7 +223,7 @@ public:
void Prev();
/**
Set base parent, ie a property when, in which iteration returns, it
Set base parent, i.e. a property when, in which iteration returns, it
ends.
Default base parent is the root of the used wxPropertyGridPageState.
@@ -402,7 +402,7 @@ protected:
/** @class wxPropertyGridPageState
Contains low-level property page information (properties, column widths,
etc) of a single wxPropertyGrid or single wxPropertyGridPage. Generally you
etc.) of a single wxPropertyGrid or single wxPropertyGridPage. Generally you
should not use this class directly, but instead member functions in
wxPropertyGridInterface, wxPropertyGrid, wxPropertyGridPage, and
wxPropertyGridManager.

View File

@@ -969,7 +969,7 @@ public:
/** Override to return wxValidator to be used with the wxTextCtrl
in dialog. Note that the validator is used in the standard
wx way, ie. it immediately prevents user from entering invalid
wx way, i.e. it immediately prevents user from entering invalid
input.
@remarks

View File

@@ -833,7 +833,7 @@ void wxPGProperty::GetDisplayInfo( unsigned int column,
if ( choiceIndex != wxNOT_FOUND )
{
// Overrride default cell settings with
// Override default cell settings with
// custom settings defined for choice item.
const wxPGChoiceEntry& entry = m_choices[choiceIndex];
cell.MergeFrom(entry);