summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-21 16:53:56 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-21 16:53:56 +0200
commit55f4f81817226a13f4d77e222e7286fbc944a7ca (patch)
tree20f49b4fa0f8049e0e832aba54c6a5b746f6eb0d /src/corelib
parente042d56b6bd9b2f2c49368919162e032be1b8808 (diff)
downloadfpGUI-55f4f81817226a13f4d77e222e7286fbc944a7ca.tar.xz
GDI: Removed definition of MW_MOUSEWHEEL. it already exists in FPC.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/gdi/fpg_gdi.pas1
-rw-r--r--src/corelib/x11/fpg_x11.pas1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/fpg_gdi.pas b/src/corelib/gdi/fpg_gdi.pas
index 8780f7f6..ef5251f7 100644
--- a/src/corelib/gdi/fpg_gdi.pas
+++ b/src/corelib/gdi/fpg_gdi.pas
@@ -40,7 +40,6 @@ uses
{ Constants missing on windows unit }
const
- WM_MOUSEWHEEL = $020a; // we could remove this since FPC 2.0.4
VER_PLATFORM_WIN32_CE = 3;
CLEARTYPE_QUALITY = 5;
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 837b2d34..e79e820e 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -1107,6 +1107,7 @@ begin
FActionType := GetAtomFromDropAction(lDropAction);
end;
+ { Notify widget of drag status, so it can update its look }
if lAccept then
begin
FDropPos.X := dx;