Add API to control OS X wxTextCtrl’s smart behavior

Allow the user to customize smart quotes and dashes substutions on OS X
and also provide the OSXDisableAllSmartSubstitutions() method for
disabling them all at once.
This commit is contained in:
Václav Slavík
2016-10-10 12:17:40 +02:00
parent 3028fd40a0
commit 90e1769569
6 changed files with 39 additions and 0 deletions

View File

@@ -95,6 +95,9 @@ public:
virtual bool HasOwnContextMenu() const { return true; }
virtual void CheckSpelling(bool check);
virtual void EnableAutomaticQuoteSubstitution(bool enable);
virtual void EnableAutomaticDashSubstitution(bool enable);
virtual wxSize GetBestSize() const;
protected: