[wxlua-users] wxStyledTextCtrl and UTF-8

2009-06-11 Thread Duncan Cross
Hi List, I'm trying to get my wxSTC to show Unicode characters in a UTF-8 document, and from reading around it looked like the way to do this is to call (where "stc" is the control itself): stc.CodePage = wxstc.wxSTC_CP_UTF8; ...but while this initially seemed to have no effect, I realised

Re: [wxlua-users] How do I bring an inactive frame to the front when dragging a file to it?

2009-06-11 Thread lostgallifreyan
Solved this too: FRAME:Connect(wx.wxEVT_DROP_FILES,function(E) FRAME:Raise() FRAME:Update() TrackLoad(E:GetFiles()[1]) E:Skip() end) Not sure why I didn't think earlier of putting Raise() in the drag/drop handler before the main payload, but I have now, and it works well, though I have to

Re: [wxlua-users] Drawing ; was Re: ANN: wxLua 2.8.10.0 release on Sourceforge.net

2009-06-11 Thread lostgallifreyan
I solved it. It IS possible to emulate that desirable behaviour of the wxStaticBitmap. :) If you paint to the same place every time, the pixels are not repainted unless they need to be. So I can make a huge bitmap sized panel as child to the client-area-sized panel, and use Move() on the big one