Re: WindowFont no effect

[email protected]
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Sorry for the slow reply; I'm currently visiting family, and will
have limited Internet access for the next couple of weeks.

> I have a wxStaticText (under GTK2) and set its font using the set 
> method. The problem is that nothing happens... 

> st.WindowFont = new Font( 16, .... ), 

I attempted the same, but could not find any problems:

st.WindowFont = new Font(16, FontFamily.Fixed,
                         FontStyle.wxITALIC,
                         FontWeight.wxBOLD, false,
                         "Helvetica");

Could you send me the parameters that you're using?  It could
be that one of the font flags is not correct in wx.NET; I will 
look into that.


Thanks.

--
Bryan Bulten
http://www.bulten.ca/
http://wxnet.sourceforge.net/






-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
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.