aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/ScintillaWin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index f27cd59ed..806d915b7 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -2528,10 +2528,11 @@ void ScintillaWin::NotifyDoubleClick(Point pt, KeyMod modifiers) {
//Platform::DebugPrintf("ScintillaWin Double click 0\n");
ScintillaBase::NotifyDoubleClick(pt, modifiers);
// Send myself a WM_LBUTTONDBLCLK, so the container can handle it too.
+ const POINT point = POINTFromPoint(pt);
::SendMessage(MainHWND(),
WM_LBUTTONDBLCLK,
FlagSet(modifiers, KeyMod::Shift) ? MK_SHIFT : 0,
- MAKELPARAM(pt.x, pt.y));
+ MAKELPARAM(point.x, point.y));
}
namespace {