[Gtk-sharp-list] Viewport tweak

Mike Kestner mkestner@speakeasy.net
25 Mar 2003 18:04:34 -0600


On Tue, 2003-03-25 at 16:28, Lee Mallabone wrote:
> Hi,
> 
> I've attached a custom file for Gtk.Viewport to make a constructor that
> represents the "normal" use case.
> 
> Ok to commit? Should I be sure to post all code additions/changes to the
> list for approval before committing btw?

This shouldn't compile.  There is already a protected Viewport() ctor
automatically generated.  I thought miguel fixed the bug in mcs that
allows protected and public versions of the same ctor signature.

You'll need to set the disabledefaultconstructor attribute on Viewport
in order to add this customization.
  
-- 
Mike Kestner <mkestner@speakeasy.net>