mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 13:19:29 +02:00
Gtk3: implemented remove prop.
git-svn-id: trunk@48436 -
This commit is contained in:
parent
344723bda1
commit
1a4529c1d8
@ -3298,10 +3298,13 @@ end;
|
||||
|
||||
function TGtk3WidgetSet.RemoveProp(Handle: hwnd; Str: PChar): THandle;
|
||||
begin
|
||||
{$IFDEF GTK3DEBUGNOTIMPLEMENTED}
|
||||
DebugLn('WARNING: TGtk3WidgetSet.RemoveProp not implemented ...');
|
||||
{$ENDIF}
|
||||
Result:=inherited RemoveProp(Handle, Str);
|
||||
Result := 0;
|
||||
if Handle = 0 then
|
||||
exit;
|
||||
g_object_set_data(TGtk3Widget(Handle).Widget, Str, nil);
|
||||
if TGtk3Widget(Handle).GetContainerWidget <> TGtk3Widget(Handle).Widget then
|
||||
g_object_set_data(TGtk3Widget(Handle).GetContainerWidget, Str, nil);
|
||||
Result := 1;
|
||||
end;
|
||||
|
||||
function TGtk3WidgetSet.RestoreDC(DC: HDC; SavedDC: Integer): Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user