[BUG] Fix tabbar context menu.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@356 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
harrybharry 2008-11-19 17:26:47 +00:00
parent 1cc93da80e
commit 8f03512943

View File

@ -2216,6 +2216,8 @@ BOOL Notepad_plus::notify(SCNotification *notification)
} }
} }
} }
}
#ifdef UNICODE #ifdef UNICODE
WcharMbcsConvertor *wmc = WcharMbcsConvertor::getInstance(); WcharMbcsConvertor *wmc = WcharMbcsConvertor::getInstance();
goToViewG = wmc->char2wchar(pGoToView, _nativeLangEncoding); goToViewG = wmc->char2wchar(pGoToView, _nativeLangEncoding);
@ -2252,7 +2254,7 @@ BOOL Notepad_plus::notify(SCNotification *notification)
removeG = pRename; removeG = pRename;
renameG = pRemove; renameG = pRemove;
#endif #endif
}
vector<MenuItemUnit> itemUnitArray; vector<MenuItemUnit> itemUnitArray;
itemUnitArray.push_back(MenuItemUnit(IDM_FILE_CLOSE, closeG.c_str())); itemUnitArray.push_back(MenuItemUnit(IDM_FILE_CLOSE, closeG.c_str()));
itemUnitArray.push_back(MenuItemUnit(IDM_FILE_CLOSEALL_BUT_CURRENT, closeButG.c_str())); itemUnitArray.push_back(MenuItemUnit(IDM_FILE_CLOSEALL_BUT_CURRENT, closeButG.c_str()));