Fix typos and wrong articles in comments and docs

Closes #25582.
This commit is contained in:
Blake-Madden
2025-06-29 16:27:11 +02:00
committed by Vadim Zeitlin
parent a0d2008d86
commit a3b5ecd127
11 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -346,7 +346,7 @@ public:
void Remove();
protected:
// old compilers don't support covarient returns, so 'Do' methods are
// old compilers don't support covariant returns, so 'Do' methods are
// used to simulate them
virtual wxArchiveEntry *DoNewEntry() const = 0;
virtual wxArchiveInputStream *DoNewStream(wxInputStream& stream) const = 0;
+1 -1
View File
@@ -54,7 +54,7 @@ protected:
}
// Return m_markup suitable for measuring by Measure, i.e. stripped of
// any mnenomics.
// any mnemonics.
virtual wxString GetMarkupForMeasuring() const = 0;
wxString m_markup;
+2 -2
View File
@@ -439,8 +439,8 @@ public:
// This method converts an image where the original alpha
// information is only available as a shades of a colour
// (actually shades of grey) typically when you draw anti-
// aliased text into a bitmap. The DC drawinf routines
// draw grey values on the black background although they
// aliased text into a bitmap. The DC drawing routines
// draw grey values on the black background, although they
// actually mean to draw white with different alpha values.
// This method reverses it, assuming a black (!) background
// and white text (actually only the red channel is read).
+1 -1
View File
@@ -132,7 +132,7 @@ public:
virtual void MacPrintFiles(const wxArrayString &fileNames) ;
// called by MacPrintFiles for each file
virtual void MacPrintFile(const wxString &fileName) ;
// in response of a open-application apple event
// in response of an open-application apple event
virtual void MacNewFile() ;
// in response of a reopen-application apple event
virtual void MacReopenApp() ;
+2 -2
View File
@@ -22,7 +22,7 @@
methods).
Finally note that wxRenderer supersedes wxRendererNative in wxUniv build and
includes the latters functionality (which it may delegate to the generic
includes the latter's functionality (which it may delegate to the generic
implementation of the latter or reimplement itself).
*/
@@ -458,7 +458,7 @@ public:
// get the border between the status bar fields
virtual wxCoord GetStatusBarBorderBetweenFields() const = 0;
// get the mergin between a field and its border
// get the margin between a field and its border
virtual wxSize GetStatusBarFieldMargins() const = 0;
#endif // wxUSE_STATUSBAR
+1 -1
View File
@@ -4085,7 +4085,7 @@ public:
bool IsPrimary() const;
/**
Returns the ID of the touch. This allows to track the move of an specific touch point.
Returns the ID of the touch. This allows to track the move of a specific touch point.
*/
const wxTouchSequenceId& GetSequenceId() const;
};
+1 -1
View File
@@ -43,7 +43,7 @@
This class provides several functions for customizing the menu items
appearance that are available only in wxMSW port. These functions should
not be used in portable programs and, moreover, have some known limitations
even in wxMSW: using them switches the menu item in a "owner drawn" mode,
even in wxMSW: using them switches the menu item in an "owner drawn" mode,
where it is painted by wxWidgets itself and not the system, which may
result in a slightly different appearance for it. Owner drawn items are
also incompatible with dark mode support and using them makes the entire
+1 -1
View File
@@ -253,7 +253,7 @@ public:
range.PutProperty("Value", wxVariant(new wxVariantDataSafeArray(safeArray.Detach())));
@endcode
If you want to receive a @c SAFEARRAY in a wxVariant as a result of an wxAutomationObject
If you want to receive a @c SAFEARRAY in a wxVariant as a result of a wxAutomationObject
call:
-# Call wxAutomationObject::SetConvertVariantFlags() with parameter
::wxOleConvertVariant_ReturnSafeArrays (otherwise the data would be
+1 -1
View File
@@ -162,7 +162,7 @@ protected:
wxVariant TranslateVal( wxColourPropertyValue& v ) const;
wxVariant TranslateVal( int type, const wxColour& colour ) const;
// Translates colour to a int value, return wxNOT_FOUND if no match.
// Translates colour to an int value, return wxNOT_FOUND if no match.
int ColToInd( const wxColour& colour ) const;
};
+1 -1
View File
@@ -649,7 +649,7 @@ public:
/**
Accesses the built in tasks category.
With the returned tasks category, you can append an new task, remove
With the returned tasks category, you can append a new task, remove
an existing task, modify the task item etc.
*/
wxTaskBarJumpListCategory& GetTasks() const;
+1 -1
View File
@@ -105,7 +105,7 @@ enum wxZipArchiveFormat
objects, using wxZipEntry::SetNotifier().
Setting a notifier is not usually necessary. It is used to handle
certain cases when modifying an zip in a pipeline (i.e. between
certain cases when modifying a zip in a pipeline (i.e. between
non-seekable streams).
See @ref overview_archive_noseek.