[Lazarus] GTK2 EraseBackgound

Paul Ishenin webpirat at mail.ru
Sat Feb 6 10:39:45 CET 2010


06.02.2010 6:43, JoshyFun wrote:
> Oh! no! for sure no, that's not the intention. My intention was to add
> a new facility to native TEdit, in fact I only need that facility for
> Win32 but as it is very simple I'm using it to investigate other
> widgetsets and try to resolve the same problem in different toys.
>    
Ok. Open lcl\interfaces\gtk\gtkcallback.inc search for LM_ERASEBKGND, 
comment then line:
if (TObject(Target) is TCustomControl)

and recompiler the LCL. Test after that - does this solves your problem?

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list