diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-19 05:08:12 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-19 05:08:12 +0000 |
commit | 0e92c962dabd566146d84295041961856593eb90 (patch) | |
tree | dd0d197beccec9222aca06e3837a7437fcf03a26 /src/menubutton.c | |
parent | ff18f0335026ada7cfa2710c5fa9c8eec386bd52 (diff) |
port to 0.43's pdsend proc in pd-gui
svn path=/trunk/externals/tof/; revision=15622
Diffstat (limited to 'src/menubutton.c')
-rw-r--r-- | src/menubutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menubutton.c b/src/menubutton.c index 05d22dc..ed141fc 100644 --- a/src/menubutton.c +++ b/src/menubutton.c @@ -474,7 +474,7 @@ static void *menubutton_new(t_symbol *s, int argc, t_atom *argv) pd_bind(&x->x_obj.ob_pd, x->x_sym); /* define proc in tcl/tk where "menubutton%p" is the receive, "callback" is the method, and "$index" is an argument. */ - sys_vgui("proc select%x {index} {\n pd [concat menubutton%p callback $index \\;]\n }\n",x,x); + sys_vgui("proc select%x {index} {\n pdsend \"menubutton%p callback $index \"\n }\n",x,x); outlet_new(&x->x_obj, &s_symbol); |