Hi, yes it works now, I can see the red rectangle. How strange, I even tried making a new image, even tried png instead of bmp, and it still doesn't work O_O. I doubt there's anything wrong with the image...
~ Kenneth Hakki Dogusan wrote: > 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 > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > wxlua-users mailing list > wxlua-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxlua-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users