<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">dovrebbe essere:</div>
<br>
lboxsizer.Add(wx.StaticText(lbox, label="Nome: "))<br></blockquote><div><br></div><div>Forse mi perdo qualcosa.. con solo la modifica da te indicatami non funziona.. non da errori ma non funziona!</div><div><br>
</div><div><code></div><div>#!/usr/bin/env python</div><div>import wx</div><div><br></div><div>class Cliente(wx.Panel):</div><div> def __init__(self, parent):</div><div> wx.Panel.__init__(self, parent,size=(200, 200))</div>
<div> lbox = wx.StaticBox(self, -1, 'Dati cliente ', size=(100, 100), pos=(0,10))</div><div> lboxsizer = wx.StaticBoxSizer(lbox, wx.VERTICAL)</div><div> <b>lboxsizer.Add(wx.StaticText(lbox, label="Nome: "))</b></div>
<div> </div><div>app=wx.App(0)</div><div>frame=wx.Frame(None, title="Crea nuovo cliente", size=(500, 600))</div><div>panel = Cliente(frame)</div><div>frame.Show()</div><div>app.MainLoop()</div><div><br></div>
<div></code> </div></div><br>