added comment about validators and SetValue(FALSE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -162,6 +162,8 @@ void wxRadioButton::SetValue( bool val )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// should give an assert
|
// should give an assert
|
||||||
|
// RL - No it shouldn't. A wxGenericValidator might try to set it
|
||||||
|
// as FALSE. Failing silently is probably TRTTD here.
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_signal_connect( GTK_OBJECT(m_widget), "clicked",
|
gtk_signal_connect( GTK_OBJECT(m_widget), "clicked",
|
||||||
|
@@ -162,6 +162,8 @@ void wxRadioButton::SetValue( bool val )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// should give an assert
|
// should give an assert
|
||||||
|
// RL - No it shouldn't. A wxGenericValidator might try to set it
|
||||||
|
// as FALSE. Failing silently is probably TRTTD here.
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_signal_connect( GTK_OBJECT(m_widget), "clicked",
|
gtk_signal_connect( GTK_OBJECT(m_widget), "clicked",
|
||||||
|
Reference in New Issue
Block a user