[Gridflow-cvs] [svn] commit: r6456 - /trunk/src/classes_gui.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Dec 8 10:04:34 EST 2010


Author: matju
Date: Wed Dec  8 10:04:34 2010
New Revision: 6456

Log:
support L2Ork's 8th t_widgetbehavior field while still working with pd-extended

Modified:
    trunk/src/classes_gui.cxx

Modified: trunk/src/classes_gui.cxx
==============================================================================
--- trunk/src/classes_gui.cxx (original)
+++ trunk/src/classes_gui.cxx Wed Dec  8 10:04:34 2010
@@ -118,7 +118,7 @@
 	static void redraw(BLAH) {INIT1 self->show();}
 };
 #define NEWWB /* C++ doesn't have virtual static ! */ static t_widgetbehavior *newwb () { \
-	t_widgetbehavior *wb = new t_widgetbehavior; \
+	t_widgetbehavior *wb = new t_widgetbehavior; CLEAR(wb); \
 	wb->w_getrectfn    = getrectfn;  \
 	wb->w_displacefn   = displacefn; \
 	wb->w_selectfn     = selectfn;   \



More information about the Gridflow-cvs mailing list