git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71964
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else
v = [[wxNSTextField alloc] initWithFrame:r];
else
v = [[wxNSTextField alloc] initWithFrame:r];
+ if ( style & wxTE_RIGHT)
+ {
+ [v setAlignment:NSRightTextAlignment];
+ }
+ else if ( style & wxTE_CENTRE)
+ {
+ [v setAlignment:NSCenterTextAlignment];
+ }
+
if ( style & wxNO_BORDER )
{
// FIXME: How can we remove the native control's border?
if ( style & wxNO_BORDER )
{
// FIXME: How can we remove the native control's border?