[Lazarus] Changeability of Lazarus Project1 , Unit1 and Form1 names (2) .

Mehmet Erol Sanliturk sanliturk at ttnet.net.tr
Mon Jul 28 01:41:40 CEST 2008


Luiz Americo Pereira Camara wrote:
> Mattias Gärtner wrote:
>   
>> Zitat von Luiz Americo Pereira Camara <luizmed at oi.com.br>:
>>   
>>     
>>> 7204 needs to test in OSX
>>>
>>> The next step is to ensure that only the widgetinfo of the main control
>>> is used, so is not needed to allocate the widgetinfo for the child widgets.
>>>     
>>>       
>> Will you do that?
>>   
>>     
>
>
> Yes. But don't expect a patch before the weekend.
>   

Here it is.

This patch does the following:

- Avoid the creation of WidgetInfo to combox childs [gtk1]
- Pass WidgetInfo as the data to the changed event handler [gtk1]
- Update the ItemIndex cache when inserting items [gtk2]

BTW: the file gtkobject.inc seems unused. Initially i got confused after 
searching for the places where the info is freed.

Luiz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk_combo_part3.diff.zip
Type: application/zip
Size: 2071 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080727/013c25eb/attachment-0007.zip>


More information about the Lazarus mailing list