Ignore:
Timestamp:
11/17/2007 12:40:30 AM (19 years ago)
Author:
David Owen <dsowen@…>
branch-nick:
tui
revision id:
dsowen@fugue88.ws-20071117004030-ov0o4jfbzl3b9vup
Message:

Allow for other callback-functions on ACTIVATE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/widget/numberbox.lisp

    r46 r63  
    4343
    4444
    45 (defmethod activate :around ((numberbox numberbox)
    46                              &optional (callback 'nothing))
     45(defmethod activate ((numberbox numberbox) &key (key-callback 'nothing)
     46                     &allow-other-keys)
    4747  (with-slots (data) numberbox
    4848    (with-slots (edit) data
    4949      (setf edit t)
    5050      (setf (insertion-point numberbox) :end)
    51       (let ((r (call-next-method numberbox callback)))
     51      (let ((r (call-next-method numberbox key-callback)))
    5252        (setf edit nil)
    5353        (setf (insertion-point numberbox) 0)
Note: See TracChangeset for help on using the changeset viewer.