forked from mia/Aegisub
Merge r3967 from 2.1.8, closes #971.
Originally committed to SVN as r3968.
This commit is contained in:
parent
8c036dfc3b
commit
7e079a3fc2
1 changed files with 2 additions and 2 deletions
|
@ -829,11 +829,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]);
|
||||
#ifdef __WINDOWS__
|
||||
itm->SetFont(font);
|
||||
#endif
|
||||
menu.Append(itm);
|
||||
}
|
||||
|
||||
// Append "add word"
|
||||
|
|
Loading…
Reference in a new issue