[Mono-bugs] [Bug 62533][Maj] Changed - Crashes when calling runModalForTypes(null); on NSOpenPanel
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 9 Aug 2004 10:41:31 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by umuff@quark.com.
http://bugzilla.ximian.com/show_bug.cgi?id=62533
--- shadow/62533 2004-08-08 15:38:53.000000000 -0400
+++ shadow/62533.tmp.476 2004-08-09 10:41:31.000000000 -0400
@@ -325,6 +325,11 @@
SetRaw(DotNetForwarding_initWithManagedDelegate(Raw,_delegate),_release);
+ } else {
+ SetRaw(NSObject_init0(Raw), true);
}
}
+
+------- Additional Comments From umuff@quark.com 2004-08-09 10:41 -------
+It looks like it is more convinient doing an init in the constructor, but not every class has
+an empty init method that means something. I would say that might be dangerous.
+