# File ../lib/fox/undolist.rb, line 362 def onUpdRevert(sender, sel, ptr) if canRevert? sender.handle(self, MKUINT(FXWindow::ID_ENABLE, SEL_COMMAND), nil) else sender.handle(self, MKUINT(FXWindow::ID_DISABLE, SEL_COMMAND), nil) end return 1 end