Re: constructor params

"J. Perkins" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Yes, we need additional constructors. There are some on the windowing 
classes. Of course, this is easy to do, and it is just a matter of 
typing it all in. If there is something specific you need, let me know 
and I will try to get it added asap.

FYI, I've been swamped with "real" work lately, but I hope to get back 
to this project again shortly. Thanks to Bryan for jumping in.

Jason
379


> I am amazed how fast progress is on wx.NET and
> I hope you don't mind my further feedback: I wonder
> about the parameters in the constructors of the
> various control classes (I didn't look at the other
> classes to closely yet). Sadly, C# doesn't seem to
> have default arguments, so we need several constuctors
> for each control. The question will, of course, be
> which constructors seem reasonable. There has to be
> a constructor with all parameters (i.e. including
> style, validator and name). I think, there also
> should be a shorter form that doesn't include
> validators and the name as these are rarely used
> but which does include the style, which is often
> used. Such a constructor is not available for any
> control right now, I think it should be added
> like this
> 
> new Button( this, -1, "OK", wxDefaultPosition, new Size(100,-1),
> wxBU_DEFAULT );
> 
> Once again, this is also available in all other 
> bindings. What do you think?



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.