diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-12-10 23:22:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-10 23:22:24 +0100 |
| commit | a5adbd99ca073ecb9d6153b089543b23a673c9b5 (patch) | |
| tree | 0e1bdebff56e5e0b23369b91b68a90fa42da4f65 /fluid/Fl_Menu_Type.cxx | |
| parent | 8dcd121d44f1b5041c83081277e2633745fa376d (diff) | |
Add option to bind images to a widget (#589)
Adding image binding to FLUID as well
Diffstat (limited to 'fluid/Fl_Menu_Type.cxx')
| -rw-r--r-- | fluid/Fl_Menu_Type.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Menu_Type.cxx b/fluid/Fl_Menu_Type.cxx index ad2a9e088..6d71bce85 100644 --- a/fluid/Fl_Menu_Type.cxx +++ b/fluid/Fl_Menu_Type.cxx @@ -488,7 +488,7 @@ void Fl_Menu_Item_Type::write_code1() { write_c("%sml->typeb = FL_NORMAL_LABEL;\n", indent()); write_c("%sml->label(o);\n", indent()); } else { - image->write_code("o"); + image->write_code(0, "o"); } } if (P.i18n_type && label() && label()[0]) { |
