Minor documentation syntax and orthography fixes

Closes #23759.
This commit is contained in:
Lauri Nurmi 2023-08-07 12:09:11 +03:00 committed by Vadim Zeitlin
parent 3ae3a4e1f5
commit 3e4946fc31
10 changed files with 12 additions and 12 deletions

View file

@ -365,7 +365,7 @@ public:
// Call with enable as true to use a type of popup window that guarantees ability
// to focus the popup control, and normal function of common native controls.
// This alternative popup window is usually a wxDialog, and as such it's parent
// This alternative popup window is usually a wxDialog, and as such its parent
// frame will appear as if the focus has been lost from it.
void UseAltPopupWindow( bool enable = true )
{

View file

@ -139,7 +139,7 @@ public:
virtual bool GetFirstEntry(wxString& str, long& lIndex) const = 0;
virtual bool GetNextEntry (wxString& str, long& lIndex) const = 0;
// get number of entries/subgroups in the current group, with or without
// it's subgroups
// its subgroups
virtual size_t GetNumberOfEntries(bool bRecursive = false) const = 0;
virtual size_t GetNumberOfGroups(bool bRecursive = false) const = 0;

View file

@ -339,7 +339,7 @@ public:
void Assign(const wxDList<T> &list)
{
wxASSERT_MSG( !list.m_destroy,
"copying list which owns it's elements is a bad idea" );
"copying list which owns its elements is a bad idea" );
Clear();
m_destroy = list.m_destroy;
m_nodeFirst = nullptr;

View file

@ -37,7 +37,7 @@
typedef unsigned char uchar;
// ------------------------------------------------------------------
// a class to store UUID and it's string representation
// a class to store UUID and its string representation
// ------------------------------------------------------------------
// uses RPC functions to create/convert Universally Unique Identifiers

View file

@ -47,7 +47,7 @@ namespace wxMSWMessageDialog
wxString btnCancelLabel;
wxString btnHelpLabel;
// Will create a task dialog with it's parameters for it's creation
// Will create a task dialog with its parameters for its creation
// stored in the provided TASKDIALOGCONFIG parameter.
// NOTE: The wxMSWTaskDialogConfig object needs to remain accessible
// during the subsequent call to TaskDialogIndirect().

View file

@ -329,7 +329,7 @@ wxPG_PROP_CUSTOMIMAGE = 0x0008,
// dialog and choice are ok).
wxPG_PROP_NOEDITOR = 0x0010,
// Property is collapsed, ie. it's children are hidden.
// Property is collapsed, ie. its children are hidden.
wxPG_PROP_COLLAPSED = 0x0020,
// If property is selected, then indicates that validation failed for pending
@ -1521,7 +1521,7 @@ public:
// Useful in SetAttribute etc. Returns true if actually did anything.
bool RecreateEditor();
// If property's editor is active, then update it's value.
// If property's editor is active, then update its value.
void RefreshEditor();
// Sets an attribute for this property.

View file

@ -698,7 +698,7 @@ public:
// of a property, if it is not the sole mean to edit the value.
void LimitPropertyEditing( wxPGPropArg id, bool limit = true );
// If state is shown in it's grid, refresh it now.
// If state is shown in its grid, refresh it now.
virtual void RefreshGrid( wxPropertyGridPageState* state = nullptr );
#if wxPG_INCLUDE_ADVPROPS

View file

@ -192,7 +192,7 @@ public:
/**
Returns a pointer to the button which is the default for this window, or
@c @NULL. The default button is the one activated by pressing the Enter
@NULL. The default button is the one activated by pressing the Enter
key.
*/
wxWindow* GetDefaultItem() const;
@ -246,7 +246,7 @@ public:
@param iconize
If @true, iconizes the window; if @false, shows and restores it.
@see IsIconized(), Restore()(), wxIconizeEvent.
@see IsIconized(), Restore(), wxIconizeEvent.
*/
virtual void Iconize(bool iconize = true);

View file

@ -947,7 +947,7 @@ wxMsgCatalogFile::~wxMsgCatalogFile()
{
}
// open disk file and read in it's contents
// open disk file and read in its contents
bool wxMsgCatalogFile::LoadFile(const wxString& filename,
wxPluralFormsCalculatorPtr& rPluralFormsCalculator)
{

View file

@ -760,7 +760,7 @@ bool wxFrame::HandleSize(int WXUNUSED(x), int WXUNUSED(y), WXUINT id)
case SIZE_RESTORED:
case SIZE_MAXIMIZED:
// only do it it if we were iconized before, otherwise resizing the
// parent frame has a curious side effect of bringing it under it's
// parent frame has a curious side effect of bringing it under its
// children
if ( m_showCmd != SW_MINIMIZE )
break;