Adding image to label cell (-1,-1) in wxGrid

I have an application where I have a small grid on
a panel in a notebook tab with limited screen
real-estate, and I've coded it up so that if you
left-dclick in the upper-left corner of the grid
(row,col= -1,-1) then it opens a dialog with a
much larger version of the same grid.

But there are no visual clues that you can do this,
and I'd like to somehow make that corner look different.
However, I can't find any way of even referencing that
corner (ie -1, -1); there's no .SetLabel<blah>() function
that takes 2 coords, and none of the following seem to work:
.SetRowLabelValue(-1, "blah")
.SetColLabelValue(-1, "blah")
.SetCellValue(-1,-1, "blah")
etc.

Ideally I'd like to put an bitmap or something like that
in there rather than text, but first things first...
Can anyone tell me if/how any of this is possible?

Thanks in advance,
/Will Sadkin
Parlance Corporation

Will Sadkin wrote:

I have an application where I have a small grid on
a panel in a notebook tab with limited screen real-estate, and I've coded it up so that if you left-dclick in the upper-left corner of the grid (row,col= -1,-1) then it opens a dialog with a much larger version of the same grid.

But there are no visual clues that you can do this, and I'd like to somehow make that corner look different. However, I can't find any way of even referencing that corner (ie -1, -1); there's no .SetLabel<blah>() function that takes 2 coords, and none of the following seem to work:
.SetRowLabelValue(-1, "blah")
.SetColLabelValue(-1, "blah")
.SetCellValue(-1,-1, "blah")
etc.

Ideally I'd like to put an bitmap or something like that
in there rather than text, but first things first... Can anyone tell me if/how any of this is possible?

Yep. You can get the window with grid.GetGridCornerLabelWindow() and do whatever you want to it.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!