Allow changing alignment styles after wxTextCtrl creation (wxOSX)

Update NSTextView/NSTextField alignment mode when wxTextCtrl alignment styles are changed with SetWindowStyleFlag().

Closes #17952.
This commit is contained in:
Andreas Falkenhahn
2017-09-25 15:38:24 +02:00
committed by Artur Wieczorek
parent cd1c3fab0c
commit ccc513bca9
7 changed files with 57 additions and 3 deletions

View File

@@ -695,6 +695,7 @@ public :
virtual wxSize GetBestSize() const { return wxDefaultSize; }
virtual bool SetHint(const wxString& WXUNUSED(hint)) { return false; }
virtual void SetJustification();
private:
wxTextEntry * const m_entry;