private static void OverrideNSApplicationOpenFile(GLib.GType gtype) { if (NSApplicationOpenFileVMCallback == null) { NSApplicationOpenFileVMCallback = new NSApplicationOpenFileVMDelegate(nsapplicationopenfile_cb); } OverrideVirtualMethod(gtype, "NSApplicationOpenFile", NSApplicationOpenFileVMCallback); }
private static void OverrideNSApplicationOpenFile (GLib.GType gtype) { if (NSApplicationOpenFileVMCallback == null) NSApplicationOpenFileVMCallback = new NSApplicationOpenFileVMDelegate (nsapplicationopenfile_cb); OverrideVirtualMethod (gtype, "NSApplicationOpenFile", NSApplicationOpenFileVMCallback); }