diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-21 17:47:52 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-21 17:47:52 +0000 |
commit | 860a90b965388ea400b40892e4ae574a2667fbd3 (patch) | |
tree | ad578f7a27546d2d79af77b87682d8b14c8ca97d /src/corelib/gdi | |
parent | 95169d06036e38e00d20b85fa6ca8c9ce2b88cb5 (diff) | |
download | fpGUI-860a90b965388ea400b40892e4ae574a2667fbd3.tar.xz |
* Removed OS based Double Click from GDI.
* Manually implemented OS independent Double Click support in TfpgWidget.
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r-- | src/corelib/gdi/gfx_gdi.pas | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas index 1b8d82c0..673ecff1 100644 --- a/src/corelib/gdi/gfx_gdi.pas +++ b/src/corelib/gdi/gfx_gdi.pas @@ -436,7 +436,7 @@ begin WM_MOUSEMOVE, WM_LBUTTONDOWN, WM_LBUTTONUP, - WM_LBUTTONDBLCLK, +// WM_LBUTTONDBLCLK, WM_RBUTTONDOWN, WM_RBUTTONUP: begin @@ -497,8 +497,8 @@ begin if PopupListFirst = nil then ReleaseCapture; end; - WM_LBUTTONDBLCLK: - mcode := FPGM_DOUBLECLICK; + //WM_LBUTTONDBLCLK: + //mcode := FPGM_DOUBLECLICK; else mcode := 0; end; @@ -518,8 +518,8 @@ begin WM_LBUTTONDOWN, WM_LBUTTONUP, - WM_LBUTTONDBLCLK: - msgp.mouse.Buttons := MOUSE_LEFT; + //WM_LBUTTONDBLCLK: + //msgp.mouse.Buttons := MOUSE_LEFT; WM_RBUTTONDOWN, WM_RBUTTONUP: |