controls/PouInstanceVariablesPanel.py
changeset 821 3667bb14aeca
parent 814 5743cbdff669
child 826 098f822ef308
equal deleted inserted replaced
820:d981fe154c36 821:3667bb14aeca
    40               bitmap=GetBitmap("top"), size=wx.Size(28, 28), style=wx.NO_BORDER)
    40               bitmap=GetBitmap("top"), size=wx.Size(28, 28), style=wx.NO_BORDER)
    41         self.ParentButton.SetToolTipString(_("Parent instance"))
    41         self.ParentButton.SetToolTipString(_("Parent instance"))
    42         self.Bind(wx.EVT_BUTTON, self.OnParentButtonClick, 
    42         self.Bind(wx.EVT_BUTTON, self.OnParentButtonClick, 
    43                 self.ParentButton)
    43                 self.ParentButton)
    44         
    44         
    45         self.InstanceChoice = wx.ComboBox(self, style=wx.CB_READONLY)
    45         self.InstanceChoice = wx.ComboBox(self, size=wx.Size(0, 0), style=wx.CB_READONLY)
    46         self.Bind(wx.EVT_COMBOBOX, self.OnInstanceChoiceChanged,
    46         self.Bind(wx.EVT_COMBOBOX, self.OnInstanceChoiceChanged,
    47                 self.InstanceChoice)
    47                 self.InstanceChoice)
    48         self.InstanceChoice.Bind(wx.EVT_LEFT_DOWN, self.OnInstanceChoiceLeftDown)
    48         self.InstanceChoice.Bind(wx.EVT_LEFT_DOWN, self.OnInstanceChoiceLeftDown)
    49         
    49         
    50         self.DebugButton = wx.lib.buttons.GenBitmapButton(self, 
    50         self.DebugButton = wx.lib.buttons.GenBitmapButton(self,