summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2009-02-08 17:50:22 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2009-02-08 17:50:22 +0000
commit76254697c75d24ec3c4f25674e7d74fb571b0e2d (patch)
treeb65d5bc0adac9523d9cfba85834be0853fe968a2 /src
parent3ebc315ad21eb626b3e2d7eccd46c0cb76031246 (diff)
Removed an XForms compatibility "feature" that prevented the down
array of Fl_Menu_Button from drawing (STR #2141). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Menu_Button.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu_Button.cxx b/src/Fl_Menu_Button.cxx
index 9389ca49f..4c626ee5e 100644
--- a/src/Fl_Menu_Button.cxx
+++ b/src/Fl_Menu_Button.cxx
@@ -37,7 +37,7 @@ void Fl_Menu_Button::draw() {
draw_box(pressed_menu_button_ == this ? fl_down(box()) : box(), color());
draw_label();
if (Fl::focus() == this) draw_focus();
- if (box() == FL_FLAT_BOX) return; // for XForms compatibility
+ // ** if (box() == FL_FLAT_BOX) return; // for XForms compatibility
int H = (labelsize()-3)&-2;
int X = x()+w()-H*2;
int Y = y()+(h()-H)/2;