diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-09-17 02:32:55 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-09-17 02:32:55 +0000 |
commit | 9a3e9ae4965eb8d2cb93ee6c264a307d6f9ee14e (patch) | |
tree | 963dac39f54a7f794e7f856abd5e40da42323cfc /externals/grill/flext/source/flattr_ed.cpp | |
parent | 3808d6e2d118d10c6dd20c91cea63216189868f4 (diff) |
""
svn path=/trunk/; revision=979
Diffstat (limited to 'externals/grill/flext/source/flattr_ed.cpp')
-rw-r--r-- | externals/grill/flext/source/flattr_ed.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flattr_ed.cpp b/externals/grill/flext/source/flattr_ed.cpp index a75e3715..c147fbe4 100644 --- a/externals/grill/flext/source/flattr_ed.cpp +++ b/externals/grill/flext/source/flattr_ed.cpp @@ -61,11 +61,17 @@ void flext_base::SetAttrEditor(t_classid c) widgetbehavior.w_deletefn = text_widgetbehavior.w_deletefn; widgetbehavior.w_clickfn = text_widgetbehavior.w_clickfn; #endif - widgetbehavior.w_propertiesfn = cb_GfxProperties; - widgetbehavior.w_savefn = cb_GfxSave; + widgetbehavior.w_visfn = cb_GfxVis; class_setwidget(c, &widgetbehavior); +#if PD_MINOR_VERSION >= 37 + class_setpropertiesfn(c,cb_GfxProperties); + class_setsavefn(c,cb_GfxSave); +#else + widgetbehavior.w_propertiesfn = cb_GfxProperties; + widgetbehavior.w_savefn = cb_GfxSave; +#endif // generate the script for the property dialog |