summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index cebbda901..04fc6312d 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -95,8 +95,7 @@ void Fl_Pixmap::label(Fl_Widget* widget) {
}
void Fl_Pixmap::label(Fl_Menu_Item* m) {
- Fl::set_labeltype(_FL_IMAGE_LABEL, labeltype, Fl_Image::measure);
- m->label(_FL_IMAGE_LABEL, (const char*)this);
+ m->label(FL_IMAGE_LABEL, (const char*)this);
}
void Fl_Pixmap::copy_data() {