Check buttons did not redraw properly with box() set to FL_NO_BOX

(STR #1440)

src/Fl_Button.cxx:
    - Fl_Button::value(): Use redraw_label() if box() is not set.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2006-09-23 15:28:09 +00:00
parent f0180536b3
commit b04788a189
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.8
- Check buttons did not redraw properly with box() set to
FL_NO_BOX (STR #1440)
- Added the Bluecurve-inspired scheme "gtk+".
- Implemented alpha blending for WIN32
- Updated documentation (STR #1420, STR #1421)
+2 -1
View File
@@ -40,7 +40,8 @@ int Fl_Button::value(int v) {
clear_changed();
if (value_ != v) {
value_ = v;
redraw();
if (box()) redraw();
else redraw_label();
return 1;
} else {
return 0;