Some tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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()
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user