opc_ua/opcua_client_maker.py
branchwxPython4
changeset 3666 bf3b5f58c832
parent 3652 b5c6bb72bfc9
child 3667 49e6b73de505
--- a/opc_ua/opcua_client_maker.py	Wed Nov 09 12:30:45 2022 +0100
+++ b/opc_ua/opcua_client_maker.py	Thu Nov 10 19:31:09 2022 +0100
@@ -150,7 +150,7 @@
             self.dvc.AppendTextColumn(colname,  idx, width=width, mode=dv.DATAVIEW_CELL_EDITABLE)
 
         DropTarget = NodeDropTarget(self)
-        self.dvc.SetDropTarget(DropTarget)
+        self.SetDropTarget(DropTarget)
 
         self.Sizer = wx.BoxSizer(wx.VERTICAL)