void OnComboSelect() { std::stringstream sstr; sstr << "Item " << combo_box->GetSelectedItem() << " selected with text \"" << static_cast<std::string>( combo_box->GetSelectedText() ) << "\""; sel_label->SetText( sstr.str() ); }
void ComboBoxExample::OnComboSelect() { std::stringstream sstr; sstr << "Item " << m_combo_box->GetSelectedItem() << " selected with text \"" << static_cast<std::string>( m_combo_box->GetSelectedText() ) << "\""; m_sel_label->SetText( sstr.str() ); }