Re: Misc.

"J. Perkins" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
System.Environment.OSVersion is the C# way, but it's values are covered 
by the ECMA spec, so the open-source implementations are a bit stuck 
right now. I think Bryan's advice is the best: create a helper function 
that will return a value based on the various wxWindows #defines.

Jason
379


Bryan Bulten wrote:
> I'm there's no official way to tell what platform is being used in C#,
> aside from some methods in MS's .NET that give the version of Windows
> (System.Environment.OSVersion.) 
> 
> The easiest way to do this would be by adding a utility function in the
> wrapper library that returns an identifier for wxMSW/wxGTK/etc.  Defs.cs
> may be a good place for this.





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.