Re: Window.Font

Bryan Bulten <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <20040503222616.57e284ef@goliath>
> Howdy. wxWindow.Font is defined as Window.WindowFont in Window.cs. Is
> this historical? I have added an alias of Window.Font in my local copy
> but wanted to check before checking in. Or perhaps the WindowFont
> version should be nuked if it was a mistake.

This was done to avoid some name issues.  Since wx.Font also exists,
using the name 'Font' within a class derived from wx.Window would be
ambiguous; the attribute would need to be referred to as 'this.Font'. 

I don't think it would hurt to have both.

-- 
Bryan Bulten
http://www.bulten.ca/
http://wxnet.sourceforge.net/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAlv9M32WFWIzmzHgRAuvzAJ94S/1o5TG+ZhgGQTAYqWfjJhMpCACdHDPc
7tShjJDmdU8raUryRXlMlkE=
=dsah
-----END PGP SIGNATURE-----
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.