X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bf5d46efb26ab22575ca9bc0d0ca5d32d6b77a3..f97c9b5bf2452c73434eb548e70115ac7ca60a83:/utils/wxPython/demo/wxGrid.py?ds=sidebyside diff --git a/utils/wxPython/demo/wxGrid.py b/utils/wxPython/demo/wxGrid.py index e61e30ee05..dca12c088f 100644 --- a/utils/wxPython/demo/wxGrid.py +++ b/utils/wxPython/demo/wxGrid.py @@ -40,6 +40,14 @@ class TestGrid(wxGrid): def OnLabelClick(self, event): self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col)) + #if event.m_row >= 10: + # self.SetLabelValue(wxVERTICAL, 'XX', event.m_row) + # self.Refresh() + #else: + # size = self.GetLabelSize(wxVERTICAL) + # print size + # self.SetLabelSize(wxVERTICAL, size+10) + # self.Refresh() #---------------------------------------------------------------------------