diff options
author | George Hazan <george.hazan@gmail.com> | 2015-07-09 11:30:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-07-09 11:30:37 +0000 |
commit | b7033cda5f3598d477ea37fe2dd343871ae23739 (patch) | |
tree | ad178a90f2d89dc94b84e9c36a6f6e2ba5a6bffa /plugins | |
parent | 21c6c7a7cb65e25d55cce54b6e097c797b66f95e (diff) |
buggy function removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
|