|
@@ -136,6 +136,7 @@ type
|
|
TStyleManager = class
|
|
TStyleManager = class
|
|
class var FSystemHooks: TSystemHooks;
|
|
class var FSystemHooks: TSystemHooks;
|
|
class property SystemHooks: TSystemHooks read FSystemHooks write FSystemHooks;
|
|
class property SystemHooks: TSystemHooks read FSystemHooks write FSystemHooks;
|
|
|
|
+ class function TrySetStyle(const Name: string; ShowErrorDialog: Boolean = True): Boolean;
|
|
end;
|
|
end;
|
|
|
|
|
|
{ Override ComCtrls }
|
|
{ Override ComCtrls }
|
|
@@ -234,6 +235,13 @@ begin
|
|
Result := True;
|
|
Result := True;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+{ TStyleManager }
|
|
|
|
+
|
|
|
|
+class function TStyleManager.TrySetStyle(const Name: string; ShowErrorDialog: Boolean): Boolean;
|
|
|
|
+begin
|
|
|
|
+ Result := False;
|
|
|
|
+end;
|
|
|
|
+
|
|
initialization
|
|
initialization
|
|
|
|
|
|
finalization
|
|
finalization
|