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); }
void WAbstractToggleButton::undoSetUnChecked() { undoSetChecked(); }