Let me explain better. this is how i setup the frame/panels/grids.
i have a frame, and on this frame is 2 panels. panel1 for grid1 (row and column headers are hidden) panel2 for grid2. grid2 acts as a substitute for the row labels of grid1. grid2 is just 1 column by 'n' rows. and is placed in the panel2 directly beside panel1/grid1 in such a way to hide the scrollbar of grid2
when i draw the image, since i am not sure how to use a cellrenderer, i draw the image directly to grid2, and it does show but has a black box around it instead of the original transparent edges the image has. i am unsure how to draw the image inside of the grid cell though. so currently i am doing this
Code: Select all
StaticBitmap->new($grid2, -1, $bmp);
i want to have the images transparency in the final result as well, so what would be the best approach to do this? wxDC to wxGraphicsContext? WxPaintDC? i just want to make sure the images transparency is preserved.