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:
Vadim Zeitlin
2021-08-23 01:37:48 +02:00
parent 94173e3fae
commit 45dcb1a8a5
11 changed files with 69 additions and 33 deletions

View File

@@ -100,7 +100,7 @@ public:
// Use native spelling and grammar checking functions.
virtual bool EnableProofCheck(const wxTextProofOptions& options
= wxTextProofOptions::Default()) wxOVERRIDE;
virtual bool IsProofCheckEnabled() const wxOVERRIDE;
virtual wxTextProofOptions GetProofCheckOptions() const wxOVERRIDE;
#endif // wxUSE_SPELLCHECK && __WXGTK3__
// Implementation from now on