add SetOneUnthemedChoice for common case

don't theme dynamic choices and already-themed choices
This commit is contained in:
Glenn Maynard
2005-12-29 04:19:22 +00:00
parent a13cbcaafb
commit 8d970cc4ea
2 changed files with 28 additions and 23 deletions
+6
View File
@@ -47,6 +47,12 @@ struct MenuRowDef
#undef PUSH
}
void SetOneUnthemedChoice( const CString &sChoice )
{
choices.resize(1);
choices[0] = "|" + sChoice;
}
bool SetDefaultChoiceIfPresent( CString sChoice )
{
iDefaultChoice = 0;