diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_modern/src/modern_clui.cpp | 2 | ||||
-rw-r--r-- | plugins/MirLua/src/m_clist.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/controls.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp index f320d043e8..74fd4887ad 100644 --- a/plugins/Clist_modern/src/modern_clui.cpp +++ b/plugins/Clist_modern/src/modern_clui.cpp @@ -1808,7 +1808,7 @@ LRESULT CLUI::OnUpdate(UINT /*msg*/, WPARAM /*wParam*/, LPARAM /*lParam*/) LRESULT CLUI::OnInitMenu(UINT /*msg*/, WPARAM /*wParam*/, LPARAM /*lParam*/)
{
if (!CLUI::IsMainMenuInited()) {
- Menu_BuildMainMenu();
+ Menu_GetMainMenu();
CLUI::m_fMainMenuInited = TRUE;
}
return FALSE;
diff --git a/plugins/MirLua/src/m_clist.cpp b/plugins/MirLua/src/m_clist.cpp index e386304ef2..5349c20b75 100644 --- a/plugins/MirLua/src/m_clist.cpp +++ b/plugins/MirLua/src/m_clist.cpp @@ -19,7 +19,7 @@ static int lua_AddMainMenuItem(lua_State *L) static int lua_BuildMainMenu(lua_State *L)
{
- HMENU res = ::Menu_BuildMainMenu();
+ HMENU res = ::Menu_GetMainMenu();
lua_pushlightuserdata(L, res);
return 1;
diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp index 0d84f4381b..eb0daf2b79 100644 --- a/plugins/TabSRMM/src/controls.cpp +++ b/plugins/TabSRMM/src/controls.cpp @@ -393,7 +393,7 @@ void CMenuBar::invoke(const int id) m_isContactMenu = true;
}
else if (index == 0) {
- hMenu = Menu_BuildMainMenu();
+ hMenu = Menu_GetMainMenu();
m_isMainMenu = true;
}
else hMenu = reinterpret_cast<HMENU>(m_TbButtons[index].dwData);
|