Potential alternative  ```  wxString composedName = m_text_filenameInput->GetValue().Trim();  if (m_radio_CardType->SelectedItem().SomeInt == 1) // PSX memory card  \tcomposedName += ".mcr";  else  \tcomposedName += ".ps2";  ```  Ternary would also work.