From: Hakki D. <dog...@tr...> - 2007-05-22 12:16:33
|
Hi, Kenneth Forsbäck yazmış: > Hi, > > LOL, no I did not connect those events ^_^, and most certainly not a > stupid question. > > However, it still doesn't work! Only thing that changed is that now the > panel isn't visible any more, there's only the dark gray background of > the frame. > > ~ Kenneth > Ok, it's painting now :) To be sure, could you please change OnPaint like this: function OnPaint(event) local dc = wx.wxPaintDC(aboutPanel) dc:SetBrush(wx.wxRED_BRUSH) dc:DrawRectangle(0, 0, 100, 100) dc:Delete() -- clean up end If this works, then your bitmap may be faulty.. -- Regards, Hakki Dogusan |