I'm confused about what you're trying to accomplish here. You haven't
actually added a button into the grid. You have simply added a custom
renderer that draws the same stuff that a button would draw.
wx.RendererNative.Get().DrawPushButton does the drawing that a button
would do, but it doesn't actually create a button. If you want a label
drawn, you have to pass the label into DrawPushButton. You aren't doing
that right now.
I see "clicked" in the log when I run your example. I don't know what
you mean by "not making grid at all".
You haven't explained your app, but you might think about whether a
GridBadSizer would be better suited to your task than a grid with a lot
of customization.
--
Tim Roberts,
ti...@probo.com
Providenza & Boekelheide, Inc.