mirror of https://github.com/fltk/fltk
Fix subclass callback output code.
Make fltk-config script executable after rerunning configure script. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
fc4db19395
commit
91c3b8231d
1
Makefile
1
Makefile
|
@ -85,6 +85,7 @@ makeinclude: configure configh.in makeinclude.in
|
|||
./configure; \
|
||||
fi
|
||||
touch config.h
|
||||
chmod +x fltk-config
|
||||
|
||||
configure: configure.in
|
||||
autoconf
|
||||
|
|
|
@ -1496,7 +1496,7 @@ void Fl_Widget_Type::write_static() {
|
|||
if (k) {
|
||||
write_c("void %s::%s(%s* o, %s v) {\n", k, cn, t, ut);
|
||||
write_c(" ((%s*)(o->", k);
|
||||
for (Fl_Type* p = parent; p->is_widget(); p = p->parent)
|
||||
for (Fl_Type* p = parent; p && p->is_widget(); p = p->parent)
|
||||
write_c("parent()->");
|
||||
write_c("user_data()))->%s_i(o,v);\n}\n", cn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue