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

@@ -1004,9 +1004,10 @@ public:
@endStyleTable
Note that alignment styles (wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT) can be
changed dynamically after control creation on wxMSW and wxGTK. wxTE_READONLY,
wxTE_PASSWORD and wrapping styles can be dynamically changed under wxGTK but
not wxMSW. The other styles can be only set during control creation.
changed dynamically after control creation on wxMSW, wxGTK and wxOSX.
wxTE_READONLY, wxTE_PASSWORD and wrapping styles can be dynamically changed
under wxGTK but not wxMSW. The other styles can be only set during control
creation.
@section textctrl_text_format wxTextCtrl Text Format