diff --git a/include/wx/propgrid/editors.h b/include/wx/propgrid/editors.h index 9025f652cc..b34c3c8e83 100644 --- a/include/wx/propgrid/editors.h +++ b/include/wx/propgrid/editors.h @@ -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 { diff --git a/include/wx/propgrid/manager.h b/include/wx/propgrid/manager.h index fc8eeb6335..fab85cec9b 100644 --- a/include/wx/propgrid/manager.h +++ b/include/wx/propgrid/manager.h @@ -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. */ diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index e16069adbd..04bb247092 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -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; diff --git a/include/wx/propgrid/propgrid.h b/include/wx/propgrid/propgrid.h index ef09f1e7d9..e076b3b93e 100644 --- a/include/wx/propgrid/propgrid.h +++ b/include/wx/propgrid/propgrid.h @@ -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 ); diff --git a/include/wx/propgrid/propgriddefs.h b/include/wx/propgrid/propgriddefs.h index 68ba80ccd0..553b15ae75 100644 --- a/include/wx/propgrid/propgriddefs.h +++ b/include/wx/propgrid/propgriddefs.h @@ -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. @{ */ diff --git a/include/wx/propgrid/propgridiface.h b/include/wx/propgrid/propgridiface.h index faf00ddb53..c8554d7195 100644 --- a/include/wx/propgrid/propgridiface.h +++ b/include/wx/propgrid/propgridiface.h @@ -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, diff --git a/include/wx/propgrid/propgridpagestate.h b/include/wx/propgrid/propgridpagestate.h index 14977e7737..24aa13f7db 100644 --- a/include/wx/propgrid/propgridpagestate.h +++ b/include/wx/propgrid/propgridpagestate.h @@ -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. diff --git a/include/wx/propgrid/props.h b/include/wx/propgrid/props.h index d434a102cb..2a85c79b1b 100644 --- a/include/wx/propgrid/props.h +++ b/include/wx/propgrid/props.h @@ -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 diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index 27b7e8fbd1..25c5f36cd3 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -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);