Przeglądaj źródła

make the default handle the NSWindow.

Dan Walmsley 6 lat temu
rodzic
commit
916343448e
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/Avalonia.Native/WindowImplBase.cs

+ 2 - 2
src/Avalonia.Native/WindowImplBase.cs

@@ -25,9 +25,9 @@ namespace Avalonia.Native
             _native = native;
         }
 
-        public IntPtr Handle => IntPtr.Zero;
+        public IntPtr Handle => NSWindow;
 
-        public string HandleDescriptor => "NOT SUPPORTED";
+        public string HandleDescriptor => "NSWindow";
 
         public IntPtr NSView => _native.ObtainNSViewHandle();