Fix text alignment in wxRadioButton

Label should be always left-aligned to be positioned just next to the button image.

See #17933.
This commit is contained in:
Artur Wieczorek 2017-08-03 11:21:18 +02:00
parent da0299f30e
commit 5aa66ffd93

View File

@ -109,6 +109,7 @@ wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer,
wxNSRadioButton* v = [[wxNSRadioButton alloc] initWithFrame:r];
[v setButtonType:NSRadioButton];
[v setAlignment:NSLeftTextAlignment];
static int alternateAction = 1;