summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-02-16 13:48:04 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-02-16 13:48:04 +0000
commit3204e098af97137a2daf0f3db97c544643f2479e (patch)
tree41dde2b6494c146800f668e40caeb65eb1817b6f /src
parent761a3b3d85062ab1288ee83b991081f4ecef2808 (diff)
Patch from Jim Hourihan that adds symbol support to Fl_Choice.
git-svn-id: file:///fltk/svn/fltk/trunk@271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Choice.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Choice.cxx b/src/Fl_Choice.cxx
index 22d1ca447..04e359298 100644
--- a/src/Fl_Choice.cxx
+++ b/src/Fl_Choice.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Choice.cxx,v 1.7 1999/01/19 19:12:51 mike Exp $"
+// "$Id: Fl_Choice.cxx,v 1.8 1999/02/16 13:48:04 mike Exp $"
//
// Choice widget for the Fast Light Tool Kit (FLTK).
//
@@ -42,7 +42,7 @@ void Fl_Choice::draw() {
fl_color(active_r() ? textcolor() : inactive(textcolor()));
fl_draw_shortcut = 2; // hack value to make '&' disappear
int BW = Fl::box_dx(box());
- fl_draw(text(), x()+BW+3, y(), w()-2*BW-2, h(), FL_ALIGN_LEFT);
+ mvalue()->draw( x()+BW+3, y(), w()-2*BW-2-3*H, h(), this);
fl_draw_shortcut = 0;
draw_label();
}
@@ -86,5 +86,5 @@ int Fl_Choice::handle(int e) {
}
//
-// End of "$Id: Fl_Choice.cxx,v 1.7 1999/01/19 19:12:51 mike Exp $".
+// End of "$Id: Fl_Choice.cxx,v 1.8 1999/02/16 13:48:04 mike Exp $".
//