} else if (mTypeForm==0) {
wxChoice *wxchoice = new wxChoice ( panel , -1, wxDefaultPosition,wxSize(sizeX,sizeY));
itemcontainer=wxchoice;
- sizer->Add( wxchoice,1,wxEXPAND );
+ sizer->Add( wxchoice,1,wxGROW );
Connect( wxchoice->GetId(),
wxEVT_COMMAND_CHOICE_SELECTED, (wxObjectEventFunction) (void (wxPanel::*)(wxEvent&))&ComboBoxWidget::OnComboBox );
VerifyDeselect(iSelection);
+ if (mTypeForm==0)
+ {
+ wxChoice *wxchoise=(wxChoice *)itemcontainer;
+ wxchoise->SetToolTip( itemcontainer->GetString(iSelection) );
+ } // if mTypeForm
+
+
// mBox->bbSignalOutputModification("Out");
// mBox->bbSignalOutputModification("OutString");
} // if iSelection
bbSetInputSelection(0);
bbSetInputTitle("");
bbSetInputForm(0);
- bbSetInputWinWidth(100);
- bbSetInputWinHeight(200);
+ bbSetInputWinWidth(10);
+ bbSetInputWinHeight(45);
bbSetInputDeselect(false);
}
//=====