From a6803d71c620f6dc81bad95f329d66a2461df714 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 12 Sep 2017 13:05:48 +0000 Subject: Remove leading underscore from labeltyps as far as possible. Removed obsolete '\todo' item from docs (done with recent commits). Removed redundant code from label assignment (e.g. use FL_IMAGE_LABEL instead of label type assignment + use of _FL_IMAGE_LABEL). See recent commits. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Bitmap.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Fl_Bitmap.cxx') diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx index 16e0ae5e8..c35a63538 100644 --- a/src/Fl_Bitmap.cxx +++ b/src/Fl_Bitmap.cxx @@ -150,8 +150,7 @@ void Fl_Bitmap::label(Fl_Widget* widget) { } void Fl_Bitmap::label(Fl_Menu_Item* m) { - Fl::set_labeltype(_FL_IMAGE_LABEL, labeltype, measure); - m->label(_FL_IMAGE_LABEL, (const char*)this); + m->label(FL_IMAGE_LABEL, (const char*)this); } Fl_Image *Fl_Bitmap::copy(int W, int H) { -- cgit v1.2.3