summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/gui/drag_n_drop/dndexample.lpi8
-rw-r--r--examples/gui/drag_n_drop/dndexample.lpr1
2 files changed, 2 insertions, 7 deletions
diff --git a/examples/gui/drag_n_drop/dndexample.lpi b/examples/gui/drag_n_drop/dndexample.lpi
index f2ed8c97..758b5887 100644
--- a/examples/gui/drag_n_drop/dndexample.lpi
+++ b/examples/gui/drag_n_drop/dndexample.lpi
@@ -51,6 +51,7 @@
<Filename Value="dndexample"/>
</Target>
<SearchPaths>
+ <IncludeFiles Value="$(ProjOutDir)"/>
<UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Parsing>
@@ -61,13 +62,6 @@
<UseAnsiStrings Value="False"/>
</SyntaxOptions>
</Parsing>
- <Linking>
- <Options>
- <Win32>
- <GraphicApplication Value="True"/>
- </Win32>
- </Options>
- </Linking>
<Other>
<CompilerMessages>
<UseMsgFile Value="True"/>
diff --git a/examples/gui/drag_n_drop/dndexample.lpr b/examples/gui/drag_n_drop/dndexample.lpr
index e134fb74..13dda563 100644
--- a/examples/gui/drag_n_drop/dndexample.lpr
+++ b/examples/gui/drag_n_drop/dndexample.lpr
@@ -1,6 +1,7 @@
program dndexample;
{$mode objfpc}{$H+}
+{$IFDEF MSWINDOWS} {$apptype gui} {$ENDIF}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}