Re: naming conventions
"J. Perkins" <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Robert Roebling wrote:
> and the again in wxWindow (from which they will mostly be used):
>
> class public Window
> {
> private const int wxALIGN_RIGHT = wx.Orientation.AlignRight;
> ...
> }
So this would get used as:
new wx.Window(null, -1, pos, size, wx.Window.wxALIGN_RIGHT | ...)
All of these options are so verbose. I guess it's just the language.
This is hacky, but we could do something like this:
public class ALIGN
{
public const int RIGHT = ... ;
}
new wx.Window(null, -1, pos, size, wx.ALIGN.RIGHT | ... );
How about that?
Jason
379
-------------------------------------------------------
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