Blind guess fix for wxRB_SINGLE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-10-09 18:09:11 +00:00
parent 046fce4786
commit f938aa996b

View File

@@ -66,7 +66,7 @@ bool wxRadioButton::Create( wxWindow *parent,
}
GSList* radioButtonGroup = NULL;
if (!HasFlag(wxRB_GROUP))
if (!HasFlag(wxRB_GROUP) && !HasFlag(wxRB_SINGLE))
{
// search backward for last group start
wxWindowList::compatibility_iterator node = parent->GetChildren().GetLast();