From 76254697c75d24ec3c4f25674e7d74fb571b0e2d Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 8 Feb 2009 17:50:22 +0000 Subject: 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 --- src/Fl_Menu_Button.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3