Mercurial > hg > xemacs-beta
changeset 2041:0259690f597b
[xemacs-hg @ 2004-04-23 18:05:41 by james]
Fix the BadGC problem by not copying one GC over another.
author | james |
---|---|
date | Fri, 23 Apr 2004 18:05:41 +0000 |
parents | 8d61839d121a |
children | 50368b49f560 |
files | lwlib/ChangeLog lwlib/xlwradio.c |
diffstat | 2 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/ChangeLog Thu Apr 22 21:50:42 2004 +0000 +++ b/lwlib/ChangeLog Fri Apr 23 18:05:41 2004 +0000 @@ -1,3 +1,9 @@ +2004-04-23 Jerry James <james@xemacs.org> + + * xlwradio.c (RadioExpose): Do not blindly copy one GC over + another. It messes up the ref counts and is wrong for radio + buttons in any case. + 2004-03-22 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.17 "chayote" is released.
--- a/lwlib/xlwradio.c Thu Apr 22 21:50:42 2004 +0000 +++ b/lwlib/xlwradio.c Fri Apr 23 18:05:41 2004 +0000 @@ -305,13 +305,6 @@ * but it bears thinking on. */ - /* Command widget may sometimes override the label GC in order - * to draw inverse video. We don't use inverse video, so we need - * to restore the label's normal GC. - */ - rw->label.normal_GC = rw->command.normal_GC ; - - /* Let label widget draw the label. If there was an lbm_x * field, we could let Label draw the bitmap too. But there * isn't, so we need to temporarily remove the bitmap and