mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 20:10:27 +02:00
LCL: fixed compilation of gtk2 widgetset under FPC 2.1.x
git-svn-id: trunk@11164 -
This commit is contained in:
parent
dc5845e19a
commit
f69e206502
@ -124,7 +124,7 @@ end;
|
||||
|
||||
{ TGtk2ThemeServices }
|
||||
|
||||
function TGtk2ThemeServices.GtkStateFromDetails(
|
||||
class function TGtk2ThemeServices.GtkStateFromDetails(
|
||||
Details: TThemedElementDetails): TGtkStateType;
|
||||
begin
|
||||
Result := GTK_STATE_NORMAL;
|
||||
@ -144,7 +144,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function TGtk2ThemeServices.GdkRectFromRect(R: TRect): TGdkRectangle;
|
||||
class function TGtk2ThemeServices.GdkRectFromRect(R: TRect): TGdkRectangle;
|
||||
begin
|
||||
with Result, R do
|
||||
begin
|
||||
@ -155,7 +155,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function TGtk2ThemeServices.GetGtkStyleParams(DC: HDC;
|
||||
class function TGtk2ThemeServices.GetGtkStyleParams(DC: HDC;
|
||||
Details: TThemedElementDetails): TGtkStyleParams;
|
||||
var
|
||||
ClientWidget: PGtkWidget;
|
||||
|
Loading…
Reference in New Issue
Block a user