Skip to content

Commit 89b66f5

Browse files
committed
WPF - Use WPF specific menu handler by default
Resolves #1767
1 parent 1b007b0 commit 89b66f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CefSharp.Wpf/ChromiumWebBrowser.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CefSharp.Internals;
1818
using CefSharp.Structs;
1919
using CefSharp.Wpf.Experimental;
20+
using CefSharp.Wpf.Handler;
2021
using CefSharp.Wpf.Internals;
2122
using CefSharp.Wpf.Rendering;
2223
using Microsoft.Win32.SafeHandles;
@@ -563,6 +564,8 @@ private void NoInliningConstructor()
563564

564565
PresentationSource.AddSourceChangedHandler(this, PresentationSourceChangedHandler);
565566

567+
MenuHandler = new ContextMenuHandler();
568+
566569
UseLayoutRounding = true;
567570
}
568571

0 commit comments

Comments
 (0)