}
int wxEnumProperty::ms_nextIndex = -2;
-int wxEnumProperty::ms_prevIndex = -1;
void wxEnumProperty::OnSetValue()
{
wxEnumProperty::OnValidationFailure( wxVariant& WXUNUSED(pendingValue) )
{
// Revert index
- m_index = ms_prevIndex;
ResetNextIndex();
}
void wxEnumProperty::SetIndex( int index )
{
- ms_prevIndex = m_index;
ms_nextIndex = -2;
m_index = index;
}
void wxFlagsProperty::Init()
{
- SetParentalType(wxPG_PROP_AGGREGATE);
-
long value = m_value;
//
{
boolProp = new wxBoolProperty( label, label, child_val );
}
- AddChild(boolProp);
+ AddPrivateChild(boolProp);
}
m_oldChoicesData = m_choices.GetDataPtr();