mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
8 lines
251 B
Python
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
|