Implement minimal support for spell checking in wxOSX too

Reuse the existing CheckSpelling() function.

Also deprecate wxTextCtrl::MacCheckSpelling() in favour of the new
portable EnableProofCheck().
This commit is contained in:
Vadim Zeitlin
2021-08-22 22:11:39 +02:00
parent af43b7c965
commit 90e79d8ed4
8 changed files with 54 additions and 7 deletions

View File

@@ -72,6 +72,8 @@ public:
virtual bool HasOwnContextMenu() const { return true; }
virtual void CheckSpelling(bool check);
virtual bool IsSpellingCheckEnabled() const;
virtual wxSize GetBestSize() const;
protected: