Re: [AD] Changes in CVS and some comments about patches |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Peter Wang <tjaden@xxxxxxxxxx> writes:
> But then you can't chain back to the original function without doing
> something dirty, e.g.
>
> d_custom_button_proc = my_button_proc;
>
> int my_button_proc (...)
> {
> ...
> d_custom_button_proc = 0;
> ret = d_button_proc (...);
> d_custom_button_proc = my_button_proc;
You are right. Making new dialog procedures for use in standard
dialogs is safer than changing standard procedures.
--
Michael Bukin