From 500d7616fd16005f6f8eea0a061160177160ec34 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 26 Jul 2006 19:52:28 +0000 Subject: Revamp variable tests so that we rarely need to provide "o" and "w" variables. This eliminates most of the "variable is shadowed" warnings from GCC we get after creating .cxx files from FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fluid_Image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid/Fluid_Image.h') diff --git a/fluid/Fluid_Image.h b/fluid/Fluid_Image.h index 128c61ffe..0e62c28b7 100644 --- a/fluid/Fluid_Image.h +++ b/fluid/Fluid_Image.h @@ -50,7 +50,7 @@ public: void image(Fl_Widget *); // set the image of this widget void deimage(Fl_Widget *); // set the deimage of this widget void write_static(); - void write_code(int inactive = 0); + void write_code(const char *var, int inactive = 0); const char *name() const {return name_;} }; -- cgit v1.2.3