summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-10-15 13:21:49 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2014-10-15 13:21:49 +0100
commitd34fad2f2e084aaf5e4461b5a83eaf5b5c798509 (patch)
treed315f2309a852069c6b424df7a905c3e4017e850 /src
parent7e5728dadffc5a281b5adfac4b262c7f3a12b57c (diff)
downloadfpGUI-d34fad2f2e084aaf5e4461b5a83eaf5b5c798509.tar.xz
Fixes compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/corelib/gdi/fpg_gdi.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/fpg_gdi.pas b/src/corelib/gdi/fpg_gdi.pas
index 159d73d5..1d5b7dff 100644
--- a/src/corelib/gdi/fpg_gdi.pas
+++ b/src/corelib/gdi/fpg_gdi.pas
@@ -1290,7 +1290,7 @@ begin
if MainForm <> nil then
lHandle := TfpgGDIWindow(MainForm).FWinHandle
else
- lHandle := -1;
+ lHandle := 0;
FHiddenWindow := CreateWindow('FPGHIDDEN', '',
DWORD(WS_POPUP), 0, 0, 0, 0, lHandle, 0, MainInstance, nil);
end;