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:
parent
2a452c0b60
commit
57c12db2d9
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user