* Fixed crash in non windows targets

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@267 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum 2007-09-11 11:30:53 +00:00
parent e7786c75b4
commit 180090dcea
2 changed files with 5 additions and 3 deletions

View File

@ -16954,9 +16954,11 @@ begin
PrepareBitmaps(True, True);
{$ifdef Windows}
// Register tree as OLE drop target.
if not (csDesigning in ComponentState) and (toAcceptOLEDrop in FOptions.FMiscOptions) then
RegisterDragDrop(Handle, DragManager as IDropTarget);
{$endif}
if toCheckSupport in FOptions.FMiscOptions then
GetCheckImageList;

View File

@ -6,7 +6,7 @@
<CompilerOptions>
<Version Value="5"/>
<SearchPaths>
<IncludeFiles Value="include/intf/$(LCLWidgetType)/;units/"/>
<IncludeFiles Value="include/intf/$(LCLWidgetType)/;units/;include/intf/"/>
<OtherUnitFiles Value="units/$(LCLWidgetType)/"/>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
@ -48,13 +48,13 @@
<Type Value="RunAndDesignTime"/>
<RequiredPkgs Count="3">
<Item1>
<PackageName Value="LCL"/>
<PackageName Value="multiloglaz"/>
</Item1>
<Item2>
<PackageName Value="lclextensions_package"/>
</Item2>
<Item3>
<PackageName Value="multiloglaz"/>
<PackageName Value="LCL"/>
</Item3>
</RequiredPkgs>
<UsageOptions>