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:
parent
af43b7c965
commit
90e79d8ed4
8 changed files with 54 additions and 7 deletions
|
|
@ -738,6 +738,7 @@ public :
|
|||
virtual int GetLineLength(long lineNo) const ;
|
||||
virtual wxString GetLineText(long lineNo) const ;
|
||||
virtual void CheckSpelling(bool WXUNUSED(check)) { }
|
||||
virtual bool IsSpellingCheckEnabled() const { return false; }
|
||||
virtual void EnableAutomaticQuoteSubstitution(bool WXUNUSED(enable)) {}
|
||||
virtual void EnableAutomaticDashSubstitution(bool WXUNUSED(enable)) {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue