Hello,

I'm having problems with wxTextCtl:SetDefaultStyle().
For the code below, the text appears black in white, left aligned.
Is this API currently unsupported?
My version is 2.8.

log = wx.wxTextCtrl (win, wx.wxID_ANY, "", wx.wxDefaultPosition,
wx.wxDefaultSize, wx.wxTE_MULTILINE + wx.wxTE_READONLY)
log:SetDefaultStyle( wx.wxTextAttr(wx.wxRED,wx.wxBLACK, wx.wxNullFont,
wx.wxTEXT_ALIGNMENT_CENTER) )
log:AppendText(string.rep("hello text ",10))

Thanks.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to