wxGrid and adding a wxButton as a cell
Vadim Zeitlin
vadim at wxwindows.org
Thu May 3 11:09:12 PDT 2007
On Thu, 3 May 2007 20:02:08 +0200 Volker Bartheld <dr_versaeg at freenet.de> wrote:
VB> I know it sounds ridiculous, but: Is it possible to have a wxButton as a
VB> wxGrid's cell, i. e. something like
VB> class wxGridButtonCellRenderer : public wxGridCellRenderer {}
VB> that shows a wxButton in wxGridButtonCellRenderer::Draw() and forwards
VB> button events to the wxGrid parent? *)
This is not currently possible as we don't have any way to draw a button
(there is no such method in wxRenderer). But in principle it could be
done...
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list