From b77bbf626789eb4398398165132afb9f806d1753 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 3 Oct 2012 20:24:18 +0200 Subject: [PATCH] mac: statusicon: fix possible crashes updating the menu. should fix #1001 --- SparkleShare/Mac/SparkleStatusIcon.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/SparkleShare/Mac/SparkleStatusIcon.cs b/SparkleShare/Mac/SparkleStatusIcon.cs index 194713d4..cf135140 100755 --- a/SparkleShare/Mac/SparkleStatusIcon.cs +++ b/SparkleShare/Mac/SparkleStatusIcon.cs @@ -372,7 +372,17 @@ namespace SparkleShare { public class SparkleStatusIconMenuDelegate : NSMenuDelegate { - + + public SparkleStatusIconMenuDelegate () + { + } + + + public SparkleStatusIconMenuDelegate (IntPtr handle) : base (handle) + { + } + + public override void MenuWillHighlightItem (NSMenu menu, NSMenuItem item) { }