469 |
EVT_BUTTON(self.obj_btDel, wxID_FRSALAOBJ_BTDEL, self.OnObj_btdelButton) |
EVT_BUTTON(self.obj_btDel, wxID_FRSALAOBJ_BTDEL, self.OnObj_btdelButton) |
470 |
|
|
471 |
self.obj_lbDescripcion = wxStaticText(id=wxID_FRSALAOBJ_LBDESCRIPCION, |
self.obj_lbDescripcion = wxStaticText(id=wxID_FRSALAOBJ_LBDESCRIPCION, |
472 |
label=u'Descripci\xf3n', name=u'obj_lbDescripcion', |
label=u'Descripcion', name=u'obj_lbDescripcion', |
473 |
parent=self.panelObjetos, pos=wxPoint(184, 128), size=wxSize(64, |
parent=self.panelObjetos, pos=wxPoint(184, 128), size=wxSize(64, |
474 |
13), style=0) |
13), style=0) |
475 |
|
|
577 |
#recuperamos la lista de subtipos para ese tipo |
#recuperamos la lista de subtipos para ese tipo |
578 |
nTipoSel = self.cbTipo.GetSelection() |
nTipoSel = self.cbTipo.GetSelection() |
579 |
subtipos = self.cbTipo.GetClientData(nTipoSel) |
subtipos = self.cbTipo.GetClientData(nTipoSel) |
580 |
|
print type(subtipos), subtipos #%% |
581 |
for subtipo in subtipos: |
for subtipo in subtipos: |
582 |
#Pegamos la lista de subtipos al combobox de subtipos |
#Pegamos la lista de subtipos al combobox de subtipos |
583 |
self.cbSubtipo.Append(subtipo) |
self.cbSubtipo.Append(subtipo) |