aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/guitest
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-11-29 03:41:26 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-11-29 03:41:26 +0000
commitdf40bd59509b30e24353946e89e90bbf9790cafa (patch)
treeee9ab818a080be1963a4b37ac26bda4e48088983 /externals/grill/guitest
parentc94409c4b7a90e8c16f6e5b08f1b8522b7ee71fe (diff)
""
svn path=/trunk/; revision=1201
Diffstat (limited to 'externals/grill/guitest')
-rw-r--r--externals/grill/guitest/flgui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/externals/grill/guitest/flgui.cpp b/externals/grill/guitest/flgui.cpp
index b91f10a4..dc280b4b 100644
--- a/externals/grill/guitest/flgui.cpp
+++ b/externals/grill/guitest/flgui.cpp
@@ -511,8 +511,15 @@ void flext_gui::SetWidget(t_class *c)
widgetbehavior.w_deletefn = sg_delete;
widgetbehavior.w_visfn = sg_vis;
widgetbehavior.w_clickfn = sg_click;
+
+#if PD_MINOR_VERSION >= 37
+ class_setpropertiesfn(c,sg_properties);
+ class_setsavefn(c,sg_save);
+#else
widgetbehavior.w_propertiesfn = sg_properties;
widgetbehavior.w_savefn = sg_save;
+#endif
+
class_setwidget(c, &widgetbehavior);
}