编辑器
修正
This commit is contained in:
@@ -8618,7 +8618,7 @@ type tgtk_ctl_window_PoPup = class(tgtk_ctl_scroll_window)
|
||||
end
|
||||
function GtkBaseEventName();override;
|
||||
begin
|
||||
return inherited union2 array("configure-event","delete-event","scroll-event","activate-default");
|
||||
return inherited union2 array("configure-event","delete-event","scroll-event"{,"activate-default"});
|
||||
end
|
||||
function CreateWnd(dwExStyle,lpClassName,lpWindowName,dwStyle,x,y,nwidth,nheight,hwndparent,hmenu,hinstance,lpParam);override;
|
||||
begin
|
||||
|
||||
@@ -3453,7 +3453,18 @@ begin
|
||||
ph += vi;
|
||||
end
|
||||
end
|
||||
function TS_GetUserProfileHome():string;cdecl;external {$ifdef linux}"libTSSVRAPI.so"{$else}"TSSVRAPI.dll"{$endif} name "TS_GetUserProfileHome";
|
||||
{$ifdef linux}
|
||||
function TS_GetUserProfileHome();
|
||||
begin
|
||||
home := sysgetenv("HOME");
|
||||
if home then bpath := home+"/.vcl/";
|
||||
else
|
||||
bpath := ".vcl/";
|
||||
return bpath;
|
||||
end
|
||||
{$else}
|
||||
function TS_GetUserProfileHome():string;cdecl;external "TSSVRAPI.dll" name "TS_GetUserProfileHome";
|
||||
{$endif}
|
||||
function TS_GetUserProfileHomeInstance(t:integer):string;cdecl;external {$ifdef linux}"libTSSVRAPI.so"{$else}"TSSVRAPI.dll"{$endif} name "TS_GetUserProfileHomeInstance";
|
||||
function TS_GetUserConfigHome(t:integer):string;cdecl;external {$ifdef linux}"libTSSVRAPI.so"{$else}"TSSVRAPI.dll"{$endif} name "TS_GetUserConfigHome";
|
||||
function TS_GetHomePath(t:integer):string;cdecl;external {$ifdef linux}"libTSSVRAPI.so"{$else}"TSSVRAPI.dll"{$endif} name "TS_GetHomePath";
|
||||
|
||||
Reference in New Issue
Block a user