bool WAbstractToggleButton::undoTriggerSlot(const WSlot_ *slot, void **args)
{
  if (slot == slots_ + 1) {
    undoSetChecked();
    return true;
  }
  if (slot == slots_ + 2) {
    undoSetUnChecked();
    return true;
  }
  return WFormWidget::undoTriggerSlot(slot, args);
}
示例#2
0
void WAbstractToggleButton::undoSetUnChecked()
{
  undoSetChecked();
}