# HG changeset patch # User Laurent Bessard # Date 1340658649 -7200 # Node ID 6a3792a6bf7bdcf912ddf9c2ae51f33d7e26d0ba # Parent 131ea7f237b9bf22af6ddf858e49ccc665fb6a15 Fix bugs on Debug Variable Panel after splitting it from PLCOpenEditor.py diff -r 131ea7f237b9 -r 6a3792a6bf7b 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")]