From ffb850e567132718def019b64494883dc9f30511 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Mon, 19 Apr 2021 17:23:37 +0200 Subject: dont set handled=true for mouseWheen in single line textbox --- Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs') diff --git a/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs b/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs index 2dba0601..c8b27d7d 100644 --- a/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs +++ b/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs @@ -9,7 +9,6 @@ using System.Runtime.Loader; using System.IO; using Crow.Cairo; using System.Diagnostics; -using CrowDbgShared; using System.Collections.Generic; using Crow.DebugLogger; using System.Linq; @@ -34,8 +33,8 @@ namespace Crow Func delKeyDown, delKeyUp; Action delResetDirtyState; Action delResetDebugger; - Action delSaveDebugLog; - IntPtrGetterDelegate delGetSurfacePointer; + Action delSaveDebugLog; + Func delGetSurfacePointer; Action delSetSource; FieldInfo fiDbg_IncludeEvents, fiDbg_DiscardEvents, fiDbg_ConsoleOutput; @@ -237,7 +236,7 @@ namespace Crow dbgIFace, dbgIfaceType.GetMethod("OnKeyPress")); - delGetSurfacePointer = (IntPtrGetterDelegate)Delegate.CreateDelegate(typeof(IntPtrGetterDelegate), + delGetSurfacePointer = (Func)Delegate.CreateDelegate(typeof(Func), dbgIFace, dbgIfaceType.GetProperty("SurfacePointer").GetGetMethod()); delSetSource = (Action)Delegate.CreateDelegate(typeof(Action), dbgIFace, dbgIfaceType.GetProperty("Source").GetSetMethod()); -- cgit v1.3.1-4-g156e