Merge r3967 from 2.1.8, closes #971.

Originally committed to SVN as r3968.
This commit is contained in:
Niels Martin Hansen 2010-01-10 16:15:31 +00:00
parent 8c036dfc3b
commit 7e079a3fc2

View file

@ -829,11 +829,11 @@ void SubsTextEditCtrl::ShowPopupMenu(int activePos) {
// Build menu // Build menu
for (int i=0;i<nSugs;i++) { for (int i=0;i<nSugs;i++) {
wxMenuItem *itm; wxMenuItem *itm = new wxMenuItem(&menu, EDIT_MENU_SUGGESTIONS+i, sugs[i]);
itm = menu.Append(EDIT_MENU_SUGGESTIONS+i,sugs[i]);
#ifdef __WINDOWS__ #ifdef __WINDOWS__
itm->SetFont(font); itm->SetFont(font);
#endif #endif
menu.Append(itm);
} }
// Append "add word" // Append "add word"