mirror of https://github.com/odrling/Aegisub
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:
parent
bff5412d82
commit
38ea4541dc
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue