diff --git a/ChangeLog b/ChangeLog index 2373860d2..238030feb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-05-06 Mike Kestner + + * generator/ObjectGen.cs : When generating a ctor(void) + for subclassing purposes, mark it protected, not public. + Thanks to Miguel for reporting this bug. + 2002-05-03 Mike Kestner * sample/makefile.win32 : add the Menu sample diff --git a/generator/ObjectGen.cs b/generator/ObjectGen.cs index 105834250..be1be0c58 100644 --- a/generator/ObjectGen.cs +++ b/generator/ObjectGen.cs @@ -127,7 +127,7 @@ namespace GtkSharp.Generation { } if (!clash_map.ContainsKey("")) { - sw.WriteLine("\t\tpublic " + Name + "() : base(){}"); + sw.WriteLine("\t\tprotected " + Name + "() : base(){}"); sw.WriteLine(); }