Home » Community » U++ community news and announcements » Upp 705-dev1 released
Re: Upp 705-dev1 released [message #9513 is a reply to message #9458] |
Sun, 13 May 2007 18:06   |
atmks
Messages: 33 Registered: July 2006
|
Member |
|
|
hi
TreeCtrl doesn't show correct image(icon) of element, because
in TreeCtrl.cpp in line 823 is used bad value of Rect r
possible patch:
--- TreeCtrl.cpp (revision 57)
+++ TreeCtrl.cpp (working copy)
@@ -820,6 +820,7 @@
bg = hasfocus ? SColorHighlight : Blend(SColorDisabled, SColorPaper);
}
if(!(m.ctrl && m.ctrl->IsWantFocus())) {
+ r.SetSize(isz.cx, 0);
w.DrawRect(r, bg);
d->Paint(w, RectC(x + m.margin, y + (msz.cy - vsz.cy) / 2, vsz.cx, vsz.cy), m.value,
fg, bg, st);
|
|
|
Goto Forum:
Current Time: Sun Jun 29 17:31:40 CEST 2025
Total time taken to generate the page: 0.02928 seconds
|