From 0a6b77efe2e7ee8dfcc86ec5a9fc883f7562c720 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 20 Mar 2018 13:28:23 -0700 Subject: [PATCH] Take out the code for one of the DataViewModel snippets as it does not apply to wxPython. --- .../python/converted/wx.dataview.DataViewModel.2.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewModel.2.py b/docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewModel.2.py index f41b8742..cd755cfb 100644 --- a/docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewModel.2.py +++ b/docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewModel.2.py @@ -1,6 +1,4 @@ - musicCtrl = wx.dataview.DataViewCtrl(self, wx.ID_ANY) - musicModel = MyMusicModel() - musicCtrl.AssociateModel(musicModel.get()) + ### wxPython does not provide wrappers for wxObjectDataPtr + - # add columns now