Fixed assert problem due to radiobox being clicked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -125,6 +125,9 @@ bool wxRadioBox::MSWCommand(WXUINT cmd, WXWORD id)
|
||||
{
|
||||
if ( cmd == BN_CLICKED )
|
||||
{
|
||||
if (id == GetId())
|
||||
return TRUE;
|
||||
|
||||
int selectedButton = -1;
|
||||
|
||||
for ( int i = 0; i < m_noItems; i++ )
|
||||
|
Reference in New Issue
Block a user