[Mono-winforms-list] Small fix
Philip Van Hoof
spamfrommailing@freax.org
23 May 2003 13:05:01 +0200
--=-rRtMQ3F5ggIPLUhaNy0t
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hi there Joel Basson,
I send you the E-mail because your are the author of Monos ComboBox.cs
in /mcs/class/System.Windows.Forms/Gtk
This minor patch fixes a compilation-error ;)
ps. I've placed mono-winforms-list in CC
--
Philip Van Hoof a.k.a. freax
me at freax dot org
http://www.freax.be -- http://www.freax.eu.org -- http://www.freax.org
--=-rRtMQ3F5ggIPLUhaNy0t
Content-Disposition: attachment; filename=SWF.Gtk.smallfix.diff
Content-Type: text/plain; name=SWF.Gtk.smallfix.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
? System.Windows.Forms.dll
Index: ComboBox.cs
===================================================================
RCS file: /mono/mcs/class/System.Windows.Forms/Gtk/ComboBox.cs,v
retrieving revision 1.3
diff -u -u -r1.3 ComboBox.cs
--- ComboBox.cs 8 May 2003 23:54:15 -0000 1.3
+++ ComboBox.cs 23 May 2003 11:02:25 -0000
@@ -11,15 +11,15 @@
namespace System.Windows.Forms {
- /// <summary>
- /// Represents a Windows ComboBox control.
- ///
- /// </summary>
+ /// <summary>
+ /// Represents a Windows ComboBox control.
+ ///
+ /// </summary>
public class ComboBox: Control{
private bool UpdateState;
- public ItemCollection Items = new ItemCollection(this);
+ public ItemCollection Items;
GLib.List list = new GLib.List (IntPtr.Zero, typeof (string));
System.Collections.ArrayList alist = new System.Collections.ArrayList();
@@ -48,9 +48,10 @@
}
public ComboBox () : base (){
+ Items = new ItemCollection(this);
UpdateState = false;
- }
+ }
internal override Gtk.Widget CreateWidget () {
Gtk.Combo com1 = new Gtk.Combo();
--=-rRtMQ3F5ggIPLUhaNy0t--