mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-16 08:15:55 +01:00
76d296871f
Fixed the Linux version of WindowInfoAsPopUp.
31 lines
463 B
ObjectPascal
31 lines
463 B
ObjectPascal
unit Interfaces;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
{$IFDEF UNIX}{$IFNDEF DisableCWString}uses cwstring;{$ENDIF}{$ENDIF}
|
|
|
|
procedure CustomWidgetSetInitialization;
|
|
procedure CustomWidgetSetFinalization;
|
|
|
|
implementation
|
|
|
|
uses
|
|
{$IFNDEF EnableLibOverlay}
|
|
gtk2DisableLibOverlay,
|
|
{$ENDIF}
|
|
Gtk2Int, Forms;
|
|
|
|
procedure CustomWidgetSetInitialization;
|
|
begin
|
|
CreateWidgetset(TGtk2WidgetSet);
|
|
end;
|
|
|
|
procedure CustomWidgetSetFinalization;
|
|
begin
|
|
FreeWidgetSet;
|
|
end;
|
|
|
|
end.
|