# HG changeset patch
# User laurent
# Date 1347373842 -7200
# Node ID 3667bb14aeca9c15158301a72c0e9d48d32404c5
# Parent  d981fe154c3649fda732090330066e3c985e44cc
Fix bug debug instance button not visible in PouInstanceVariablesPanel when instance path is too long

diff -r d981fe154c36 -r 3667bb14aeca controls/PouInstanceVariablesPanel.py
--- a/controls/PouInstanceVariablesPanel.py	Tue Sep 11 01:06:59 2012 +0200
+++ b/controls/PouInstanceVariablesPanel.py	Tue Sep 11 16:30:42 2012 +0200
@@ -42,7 +42,7 @@
         self.Bind(wx.EVT_BUTTON, self.OnParentButtonClick, 
                 self.ParentButton)
         
-        self.InstanceChoice = wx.ComboBox(self, style=wx.CB_READONLY)
+        self.InstanceChoice = wx.ComboBox(self, size=wx.Size(0, 0), style=wx.CB_READONLY)
         self.Bind(wx.EVT_COMBOBOX, self.OnInstanceChoiceChanged,
                 self.InstanceChoice)
         self.InstanceChoice.Bind(wx.EVT_LEFT_DOWN, self.OnInstanceChoiceLeftDown)