Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/dataview.DataViewModel.1.py
2012-04-10 03:16:37 +00:00

8 lines
251 B
Python

musicCtrl = wx.dataview.DataViewCtrl(self, wx.ID_ANY)
musicModel = MyMusicModel()
musicCtrl.AssociateModel(musicModel)
musicModel.DecRef() # avoid memory leak !!
# add columns now