VariablePanel.py
changeset 556 69214983dd03
parent 552 a387f258814a
child 561 5c8fa95eb834
--- a/VariablePanel.py	Tue Sep 13 13:01:04 2011 +0200
+++ b/VariablePanel.py	Wed Sep 14 23:05:04 2011 +0200
@@ -794,9 +794,9 @@
             pouname, poutype = self.Controler.GetEditedElementType(self.TagName)
             classtype = self.Table.GetValueByName(row, "Class")
             
-            #new_id = wx.NewId()
-            #AppendMenu(type_menu, help='', id=new_id, kind=wx.ITEM_NORMAL, text=_("Array"))
-            #self.Bind(wx.EVT_MENU, self.VariableArrayTypeFunction, id=new_id)
+            new_id = wx.NewId()
+            AppendMenu(type_menu, help='', id=new_id, kind=wx.ITEM_NORMAL, text=_("Array"))
+            self.Bind(wx.EVT_MENU, self.VariableArrayTypeFunction, id=new_id)
             
             if classtype in ["Input", "Output", "InOut", "External", "Global"] or \
             poutype != "function" and bodytype in ["ST", "IL"]: