bool wxRadioBox::Enable( bool enable )
{
- bool isEnabled = IsEnabled();
-
if ( !wxControl::Enable( enable ) )
return false;
node = node->GetNext();
}
- if (!isEnabled && enable)
- {
+ if (enable)
GTKFixSensitivity();
- }
return true;
}
{
GtkWidget *button = GTK_WIDGET( node->GetData()->button );
- windows.push_back(button->window);
+ // don't put NULL pointers in the 'windows' array!
+ if (button->window)
+ windows.push_back(button->window);
node = node->GetNext();
}