diff options
| -rw-r--r-- | src/Fl_Button.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Button.cxx b/src/Fl_Button.cxx index 888ee7fbd..1b7b10fe6 100644 --- a/src/Fl_Button.cxx +++ b/src/Fl_Button.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Button.cxx,v 1.4.2.1 2000/03/02 19:10:49 mike Exp $" +// "$Id: Fl_Button.cxx,v 1.4.2.2 2000/04/17 07:42:01 bill Exp $" // // Button widget for the Fast Light Tool Kit (FLTK). // @@ -50,7 +50,7 @@ void Fl_Button::setonly() { // set this radio button on, turn others off } void Fl_Button::draw() { - if (type() == FL_HIDDEN_BUTTON) return; + if (type() == FL_HIDDEN_BUTTON || box() == FL_NO_BOX) return; Fl_Color col = value() ? selection_color() : color(); //if (col == FL_GRAY && Fl::belowmouse()==this) col = FL_LIGHT1; draw_box(value() ? (down_box()?down_box():down(box())) : box(), col); @@ -118,5 +118,5 @@ Fl_Button::Fl_Button(int x,int y,int w,int h, const char *l) } // -// End of "$Id: Fl_Button.cxx,v 1.4.2.1 2000/03/02 19:10:49 mike Exp $". +// End of "$Id: Fl_Button.cxx,v 1.4.2.2 2000/04/17 07:42:01 bill Exp $". // |
