diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-04-19 17:23:37 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-04-19 17:23:37 +0200 |
| commit | ffb850e567132718def019b64494883dc9f30511 (patch) | |
| tree | c3ef69d6f1ef13ec977d692034075d8936fdbad5 /Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs | |
| parent | 3df9cc8a642398caef09f94d5a6e14d2ec3a46d5 (diff) | |
dont set handled=true for mouseWheen in single line textbox
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs')
| -rw-r--r-- | Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs | 7 |
1 files changed, 3 insertions, 4 deletions
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<Key, bool> delKeyDown, delKeyUp; Action delResetDirtyState; Action delResetDebugger; - Action<object, string> delSaveDebugLog; - IntPtrGetterDelegate delGetSurfacePointer; + Action<object, string> delSaveDebugLog; + Func<IntPtr> delGetSurfacePointer; Action<string> 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<IntPtr>)Delegate.CreateDelegate(typeof(Func<IntPtr>), dbgIFace, dbgIfaceType.GetProperty("SurfacePointer").GetGetMethod()); delSetSource = (Action<string>)Delegate.CreateDelegate(typeof(Action<string>), dbgIFace, dbgIfaceType.GetProperty("Source").GetSetMethod()); |