Ensure all spell check suggestions in the subs edit right-click menu are boldfaced.

Updates #971, needs porting to trunk.

Originally committed to SVN as r3967.
This commit is contained in:
Niels Martin Hansen 2010-01-10 16:14:09 +00:00
parent bff5412d82
commit 38ea4541dc
1 changed files with 2 additions and 2 deletions

View File

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