Replace IsProofCheckEnabled() with GetProofCheckOptions()
This is more consistent with EnableProofCheck() and allows to retrieve the current state of grammar checking under macOS, which can be checked by user and so can be useful to know.
This commit is contained in:
parent
94173e3fae
commit
45dcb1a8a5
11 changed files with 69 additions and 33 deletions
|
|
@ -741,7 +741,7 @@ public :
|
|||
virtual wxString GetLineText(long lineNo) const ;
|
||||
#if wxUSE_SPELLCHECK
|
||||
virtual void CheckSpelling(const wxTextProofOptions& WXUNUSED(options)) { }
|
||||
virtual bool IsSpellingCheckEnabled() const { return false; }
|
||||
virtual wxTextProofOptions GetCheckingOptions() const;
|
||||
#endif // wxUSE_SPELLCHECK
|
||||
virtual void EnableAutomaticQuoteSubstitution(bool WXUNUSED(enable)) {}
|
||||
virtual void EnableAutomaticDashSubstitution(bool WXUNUSED(enable)) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue