#include <wx/textctrl.h>
This class provides a convenient means of passing multiple parameters to wxTextCtrl::EnableProofCheck().
By default, i.e. when calling EnableProofCheck() without any parameters, Default() proof options are used, which enable spelling (but not grammar) checks for the current language.
However it is also possible to customize the options:
or disable the all checks entirely:
Note that this class has no public constructor, except for the copy constructor, so its objects can only be created using the static factory methods Default() or Disable().
Private Member Functions | |
bool | IsGrammarCheckEnabled () const |
Return true if grammar checking is enabled. More... | |
Static Private Member Functions | |
static wxTextProofOptions | Default () static wxTextProofOptions Disable() wxTextProofOptions &SpellCheck(bool enable |
Create an object corresponding to the default checks. More... | |
|
staticprivate |
Create an object corresponding to the default checks.
The returned object enables spelling checks and disables grammar checks. Create an object disabling all checks.
The returned object can be passed to wxTextCtrl::EnableProofCheck() to disable all checks in the text control. Enable / disable spell checking for this control.
|
private |
Return true if grammar checking is enabled.