mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 06:19:32 +02:00
gtk1 intf: combobox: implemented OnGetItems
git-svn-id: trunk@16312 -
This commit is contained in:
parent
2d6620ea7b
commit
2c13e3911b
@ -18,10 +18,14 @@
|
|||||||
function gtkComboBoxShowAfter(widget: PGtkWidget; data: gPointer): GBoolean; cdecl;
|
function gtkComboBoxShowAfter(widget: PGtkWidget; data: gPointer): GBoolean; cdecl;
|
||||||
var
|
var
|
||||||
Mess : TLMCommand;
|
Mess : TLMCommand;
|
||||||
|
AComboBox: TCustomComboBox;
|
||||||
begin
|
begin
|
||||||
Result := True;
|
Result := True;
|
||||||
EventTrace('ComboBoxShowAfter', data);
|
EventTrace('ComboBoxShowAfter', data);
|
||||||
|
|
||||||
|
AComboBox:=TObject(Data) as TCustomComboBox;
|
||||||
|
AComboBox.IntfGetItems;
|
||||||
|
|
||||||
if (Widget=nil) then ;
|
if (Widget=nil) then ;
|
||||||
FillChar(Mess,SizeOf(Mess),0);
|
FillChar(Mess,SizeOf(Mess),0);
|
||||||
Mess.Msg := CN_Command;
|
Mess.Msg := CN_Command;
|
||||||
|
Loading…
Reference in New Issue
Block a user