Lines Matching defs:state
40 // Transitions for 3state checkbox must be done manually, GTK's checkbox
41 // is 2state with additional "undetermined state" flag which isn't
74 wxFAIL_MSG(_T("3state wxCheckBox in unexpected state!"));
81 // user's action unsets undetermined state:
126 wxT(" style flag for a 2-state checkbox is useless") );
163 void wxCheckBox::SetValue( bool state )
167 if (state == GetValue())
172 gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON(m_widgetCheckbox), state );
184 void wxCheckBox::DoSet3StateValue(wxCheckBoxState state)
186 SetValue(state != wxCHK_UNCHECKED);
188 state == wxCHK_UNDETERMINED);