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
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
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