Fix bugs on Debug Variable Panel after splitting it from PLCOpenEditor.py
authorLaurent Bessard
Mon, 25 Jun 2012 23:10:49 +0200
changeset 715 6a3792a6bf7b
parent 714 131ea7f237b9
child 716 2681a6da58d6
Fix bugs on Debug Variable Panel after splitting it from PLCOpenEditor.py
controls/DebugVariablePanel.py
--- a/controls/DebugVariablePanel.py	Mon Jun 25 20:03:53 2012 +0200
+++ b/controls/DebugVariablePanel.py	Mon Jun 25 23:10:49 2012 +0200
@@ -22,13 +22,19 @@
 #License along with this library; if not, write to the Free Software
 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+from types import TupleType
+
 import wx
 import wx.lib.buttons
 
 from graphics import DebugDataConsumer, DebugViewer
 from controls import CustomGrid, CustomTable
+from dialogs import ForceVariableDialog
 from utils.BitmapLibrary import GetBitmap
 
+def AppendMenu(parent, help, id, kind, text):
+    parent.Append(help=help, id=id, kind=kind, text=text)
+
 def GetDebugVariablesTableColnames():
     _ = lambda x : x
     return [_("Variable"), _("Value")]