Fix some spelling/grammar errors in documentation
Mostly replace ungrammatical "allows to do" with correct "allows doing". Closes https://github.com/wxWidgets/wxWidgets/pull/1183
This commit is contained in:
committed by
Vadim Zeitlin
parent
84fc5c1714
commit
c68e5d0617
@@ -279,7 +279,7 @@ protected:
|
||||
/**
|
||||
@class wxEventBlocker
|
||||
|
||||
This class is a special event handler which allows to discard
|
||||
This class is a special event handler which allows discarding
|
||||
any event (or a set of event types) directed to a specific window.
|
||||
|
||||
Example:
|
||||
@@ -713,7 +713,7 @@ public:
|
||||
usage, it has no advantages compared to Bind().
|
||||
|
||||
This is an alternative to the use of static event tables. It is more
|
||||
flexible as it allows to connect events generated by some object to an
|
||||
flexible as it allows connecting events generated by some object to an
|
||||
event handler defined in a different object of a different class (which
|
||||
is impossible to do directly with the event tables -- the events can be
|
||||
only handled in another object if they are propagated upwards to it).
|
||||
@@ -2477,8 +2477,8 @@ public:
|
||||
@c wxEVT_TEXT_CUT and @c wxEVT_TEXT_PASTE.
|
||||
|
||||
If any of these events is processed (without being skipped) by an event
|
||||
handler, the corresponding operation doesn't take place which allows to
|
||||
prevent the text from being copied from or pasted to a control. It is also
|
||||
handler, the corresponding operation doesn't take place which allows
|
||||
preventing the text from being copied from or pasted to a control. It is also
|
||||
possible to examine the clipboard contents in the PASTE event handler and
|
||||
transform it in some way before inserting in a control -- for example,
|
||||
changing its case or removing invalid characters.
|
||||
@@ -3023,7 +3023,7 @@ public:
|
||||
bool GetActive() const;
|
||||
|
||||
/**
|
||||
Allows to check if the window was activated by clicking it with the
|
||||
Allows checking if the window was activated by clicking it with the
|
||||
mouse or in some other way.
|
||||
|
||||
This method is currently only implemented in wxMSW and returns @c
|
||||
|
Reference in New Issue
Block a user