Fix typos and repeated words in comments and documentation
Closes #24085.
This commit is contained in:
parent
bcbc31e97f
commit
2c1cdf9c02
9 changed files with 14 additions and 14 deletions
|
|
@ -25,7 +25,7 @@ Files
|
||||||
* functions.cmake
|
* functions.cmake
|
||||||
* contains various wxWidgets specific functions and macros used throughout
|
* contains various wxWidgets specific functions and macros used throughout
|
||||||
the CMake files
|
the CMake files
|
||||||
* Every function should contain a short description of it's parameters as
|
* Every function should contain a short description of its parameters as
|
||||||
a comment before the function/macro
|
a comment before the function/macro
|
||||||
* install.cmake
|
* install.cmake
|
||||||
* Handles definitions for the `install` and `uninstall` target
|
* Handles definitions for the `install` and `uninstall` target
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ Update https://www.wxwidgets.org:
|
||||||
anything else, the page will dynamically show the release files with the
|
anything else, the page will dynamically show the release files with the
|
||||||
specified prefixes).
|
specified prefixes).
|
||||||
* Add a news item. Usually a news item is enough but something
|
* Add a news item. Usually a news item is enough but something
|
||||||
more can be called for for major releases
|
more can be called for major releases
|
||||||
* Push the changes (or create the PR with them) to GitHub. Note that this will
|
* Push the changes (or create the PR with them) to GitHub. Note that this will
|
||||||
trigger the site rebuild which will fail if the release statistics are not
|
trigger the site rebuild which will fail if the release statistics are not
|
||||||
available yet, so make sure to publish the release on GitHub first (or wait
|
available yet, so make sure to publish the release on GitHub first (or wait
|
||||||
|
|
|
||||||
|
|
@ -923,7 +923,7 @@ control.
|
||||||
|
|
||||||
@section page_samples_webview wxWebView Sample
|
@section page_samples_webview wxWebView Sample
|
||||||
|
|
||||||
The wxWebView sample demonstarates the various capabilities of the wxWebView
|
The wxWebView sample demonstrates the various capabilities of the wxWebView
|
||||||
control. It is set up as a simple single window web browser, but with support
|
control. It is set up as a simple single window web browser, but with support
|
||||||
for many of the more complex wxWebView features, including browsing through
|
for many of the more complex wxWebView features, including browsing through
|
||||||
archives.
|
archives.
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ Qt objects needs to be sub-classed to re-implement events and connect signals (m
|
||||||
|
|
||||||
The approach chosen was to use templates to help inherit QObject's (QWidget), providing a common base to handle events and signal infrastructure:
|
The approach chosen was to use templates to help inherit QObject's (QWidget), providing a common base to handle events and signal infrastructure:
|
||||||
|
|
||||||
* `wxQtSignalHandler< wxWindow >`: allows emitting wx events for Qt events & signals. This should be used used for all QObjects derivatives that are not widgets, for example QAction (used for shortcut / accelerators).
|
* `wxQtSignalHandler< wxWindow >`: allows emitting wx events for Qt events & signals. This should be used for all QObjects derivatives that are not widgets, for example QAction (used for shortcut / accelerators).
|
||||||
* `wxQtEventSignalHandler< QWidget, wxWindow >`: derived from `wxQtSignalHandler`, also handles basic events (change, focus, mouse, keyboard, paint, close, etc.). This should be used for all QWidget derivatives (controls, top level windows, etc.)
|
* `wxQtEventSignalHandler< QWidget, wxWindow >`: derived from `wxQtSignalHandler`, also handles basic events (change, focus, mouse, keyboard, paint, close, etc.). This should be used for all QWidget derivatives (controls, top level windows, etc.)
|
||||||
|
|
||||||
### Delete later
|
### Delete later
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ for Windows (ran from Git Bash, or any other Unix-like shell):
|
||||||
Building wxGT on Android {#qt_android}
|
Building wxGT on Android {#qt_android}
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
Download Android Native Development Kit (NDK), tandalone Android Software
|
Download Android Native Development Kit (NDK), standalone Android Software
|
||||||
Development Kit (SDK), install them and perform the following instructions to
|
Development Kit (SDK), install them and perform the following instructions to
|
||||||
prepare the cross-compilation tool-chain to (change NDK and other paths):
|
prepare the cross-compilation tool-chain to (change NDK and other paths):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
@section apple_http macOS and iOS App Transport Security
|
@section apple_http macOS and iOS App Transport Security
|
||||||
|
|
||||||
Starting with macOS 10.11 and iOS 9 an application cannot create unsecure
|
Starting with macOS 10.11 and iOS 9 an application cannot create insecure
|
||||||
connections (this includes HTTP and unverified HTTPS). You have to include
|
connections (this includes HTTP and unverified HTTPS). You have to include
|
||||||
additional fields in your Info.plist to enable such connections.
|
additional fields in your Info.plist to enable such connections.
|
||||||
For further details see the documentation on NSAppTransportSecurity
|
For further details see the documentation on NSAppTransportSecurity
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,7 @@ public:
|
||||||
|
|
||||||
@param doc A valid, i.e. non-null, document pointer ownership of which
|
@param doc A valid, i.e. non-null, document pointer ownership of which
|
||||||
is passed to wxXmlResource, i.e. this pointer can't be used after
|
is passed to wxXmlResource, i.e. this pointer can't be used after
|
||||||
this function rteturns.
|
this function returns.
|
||||||
@param name The name argument is optional, but may be provided if you
|
@param name The name argument is optional, but may be provided if you
|
||||||
plan to call Unload() later. It doesn't need to be an existing file
|
plan to call Unload() later. It doesn't need to be an existing file
|
||||||
or even conform to the usual form of file names as it is not
|
or even conform to the usual form of file names as it is not
|
||||||
|
|
|
||||||
|
|
@ -781,7 +781,7 @@ wxVariant &wxActiveXEvent::operator [](size_t idx)
|
||||||
{
|
{
|
||||||
// copy the _real_ parameter into this one
|
// copy the _real_ parameter into this one
|
||||||
// NOTE: m_params stores the parameters in *reverse* order.
|
// NOTE: m_params stores the parameters in *reverse* order.
|
||||||
// Whyever, but this was the case in the original implementation of
|
// Whatever, but this was the case in the original implementation of
|
||||||
// wxActiveXEvents::Invoke
|
// wxActiveXEvents::Invoke
|
||||||
// Keep this convention.
|
// Keep this convention.
|
||||||
VARIANTARG& va = native->pDispParams->rgvarg[ native->pDispParams->cArgs - idx - 1 ];
|
VARIANTARG& va = native->pDispParams->rgvarg[ native->pDispParams->cArgs - idx - 1 ];
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ enum GlobalAdjustFlags
|
||||||
Enable region adjustment for all controls.
|
Enable region adjustment for all controls.
|
||||||
|
|
||||||
If AJ_DisableRegionAdjust and AJ_AlwaysRegionAdjust are both specified,
|
If AJ_DisableRegionAdjust and AJ_AlwaysRegionAdjust are both specified,
|
||||||
current implemetation will ignore AJ_DisableRegionAdjust.
|
current implementation will ignore AJ_DisableRegionAdjust.
|
||||||
*/
|
*/
|
||||||
AJ_AlwaysRegionAdjust = 1 << 1,
|
AJ_AlwaysRegionAdjust = 1 << 1,
|
||||||
|
|
||||||
|
|
@ -189,9 +189,9 @@ enum AdjustFlags
|
||||||
the code is short, quite readable and well commented, please read the codes
|
the code is short, quite readable and well commented, please read the codes
|
||||||
before any modification.
|
before any modification.
|
||||||
|
|
||||||
If you need the class to do something sepcial for you, consider introducing
|
If you need the class to do something special for you, consider introducing
|
||||||
a new flag and implement it in them. For an operation performed on multiple
|
a new flag and implement it in them. For an operation performed on multiple
|
||||||
controls, implemente its logic in CaptureAll(), otherwise in the private
|
controls, implement its logic in CaptureAll(), otherwise in the private
|
||||||
member Capture().
|
member Capture().
|
||||||
|
|
||||||
@subsection tag_yield_issue wxYield Issues
|
@subsection tag_yield_issue wxYield Issues
|
||||||
|
|
@ -222,7 +222,7 @@ public:
|
||||||
It's one of or a combination of GlobalAdjustFlags, to disable /
|
It's one of or a combination of GlobalAdjustFlags, to disable /
|
||||||
enable some auto-adjustment for all controls.
|
enable some auto-adjustment for all controls.
|
||||||
@param margin
|
@param margin
|
||||||
It's the margin around every control in the sreenshots.
|
It's the margin around every control in the screenshots.
|
||||||
*/
|
*/
|
||||||
AutoCaptureMechanism(wxNotebook *notebook,
|
AutoCaptureMechanism(wxNotebook *notebook,
|
||||||
int flag = AJ_NormalAll,
|
int flag = AJ_NormalAll,
|
||||||
|
|
@ -231,7 +231,7 @@ public:
|
||||||
~AutoCaptureMechanism() { }
|
~AutoCaptureMechanism() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Register a control and perform specifid auto adjustments.
|
Register a control and perform specified auto adjustments.
|
||||||
|
|
||||||
@param ctrl
|
@param ctrl
|
||||||
The pointer to the control to be taken a screenshot.
|
The pointer to the control to be taken a screenshot.
|
||||||
|
|
@ -243,7 +243,7 @@ public:
|
||||||
If you end up with an a smaller or deflected screenshot, use
|
If you end up with an a smaller or deflected screenshot, use
|
||||||
AJ_RegionAdjust.
|
AJ_RegionAdjust.
|
||||||
|
|
||||||
If you want to caputure the "drop-down" state of a "drop-down"
|
If you want to capture the "drop-down" state of a "drop-down"
|
||||||
control, use AJ_Dropdown.
|
control, use AJ_Dropdown.
|
||||||
|
|
||||||
If you want to present different states of a control in one
|
If you want to present different states of a control in one
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue