Fix GetColumnCount() not working for wxRadioBox in wxQt

Add missing SetMajorDim() call to wxRadioBox::Create().

Closes https://github.com/wxWidgets/wxWidgets/pull/1144
This commit is contained in:
Graham Dawes 2019-01-18 11:43:33 +00:00 committed by Vadim Zeitlin
parent 2a452c0b60
commit 57c12db2d9

View File

@ -188,6 +188,7 @@ bool wxRadioBox::Create(wxWindow *parent,
m_qtGroupBox->setLayout(horzLayout);
SetMajorDim(majorDim == 0 ? n : majorDim, style);
return QtCreateControl( parent, id, pos, size, style, val, name );
}