set WS_GROUP on the first button in the group, fixes hangs inside native radiobox code (bug 1091714)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -177,7 +177,7 @@ bool wxRadioBox::Create(wxWindow *parent,
|
||||
m_radioWidth[i] =
|
||||
m_radioHeight[i] = wxDefaultCoord;
|
||||
long styleBtn = BS_AUTORADIOBUTTON | WS_TABSTOP | WS_CHILD | WS_VISIBLE;
|
||||
if ( i == 0 && style == 0 )
|
||||
if ( i == 0 )
|
||||
styleBtn |= WS_GROUP;
|
||||
|
||||
long newId = NewControlId();
|
||||
|
Reference in New Issue
Block a user