On 08.05.2017 15:36, Graeme Geldenhuys via Lazarus wrote:
Hi,
I have a form with many TColorButton widgets (defined in LCL's Dialog
unit). Whenever I load that form, I see tons of errors as follows in
the console window.
================================
$000000000071B5C5 line 729 of lazloggerbase.pas
$0000000000800975 line 5554 of gtk2/gtk2winapi.inc
$0000000000765B8B line 485 of include/winapi.inc
$00000000007506A1 line 261 of include/brush.inc
$0000000000750494 line 210 of include/brush.inc
$0000000000755878 line 181 of include/canvas.inc
$0000000000759E09 line 1718 of include/canvas.inc
$0000000000758A60 line 1162 of include/canvas.inc
$0000000000758AC2 line 1175 of include/canvas.inc
ERROR: [TGtk2WidgetSet.GetSysColorBrush] Bad Value: 32. Valid Range between 0
and 31
================================
I presume this should not happen, and is a bug in LCL-GTK2?
Obviously it's bug (if TColorButton calls SysColorBrush with invalid range).
z.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus