Add wxTE_{RIGHT,CENTER} support for multiline wxTextCtrl in wxOSX

Just use -[NSTextView setAlignment].

Closes #13702.

(cherry picked from commit d45ba8ce62)
This commit is contained in:
Andreas Falkenhahn
2015-10-22 00:06:45 +02:00
committed by Dimitri Schoolwerth
parent 66ac3e863f
commit 49d52abb4e
3 changed files with 13 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ private:
class wxNSTextViewControl : public wxWidgetCocoaImpl, public wxTextWidgetImpl
{
public:
wxNSTextViewControl( wxTextCtrl *wxPeer, WXWidget w );
wxNSTextViewControl( wxTextCtrl *wxPeer, WXWidget w, long style );
virtual ~wxNSTextViewControl();
virtual wxString GetStringValue() const ;