summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-04-26 11:32:37 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-04-26 11:32:37 +0000
commitee5fdc99cec4d9bf9a91e42fbda9acc757fffebd (patch)
tree20a7e0d7af0a104ebb7bc0a515eadba40806bb7e /src/Fl_Pixmap.cxx
parentb3f01efb17521096f94be046659d4737f2b3203d (diff)
Images in menu items...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index 728cc9ffa..4444d5ae3 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.16 2002/04/14 21:26:06 easysw Exp $"
+// "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.17 2002/04/26 11:32:37 easysw Exp $"
//
// Pixmap drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -156,6 +156,8 @@ void Fl_Pixmap::label(Fl_Widget* w) {
}
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);
}
void Fl_Pixmap::copy_data() {
@@ -463,5 +465,5 @@ void Fl_Pixmap::desaturate() {
}
//
-// End of "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.16 2002/04/14 21:26:06 easysw Exp $".
+// End of "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.17 2002/04/26 11:32:37 easysw Exp $".
//