From 106f325e08dde7db466d10dd1048a9650cb80e25 Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Mon, 7 Mar 2005 19:41:34 +0000 Subject: [PATCH] * modules/gui/wince/interface.cpp: compilation fix. --- modules/gui/wince/interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/wince/interface.cpp b/modules/gui/wince/interface.cpp index dea844a5c1..b4bcdc7cd9 100644 --- a/modules/gui/wince/interface.cpp +++ b/modules/gui/wince/interface.cpp @@ -191,10 +191,10 @@ HWND Interface::CreateMenuBar( HWND hwnd, HINSTANCE hInst ) SendMessage( mbi.hwndMB, TB_GETBUTTONINFO, IDM_FILE, (LPARAM)&tbbi ); menu_file = (HMENU)tbbi.lParam; - RemoveMenu( hmenu_file, 0, MF_BYPOSITION ); + RemoveMenu( menu_file, 0, MF_BYPOSITION ); SendMessage( mbi.hwndMB, TB_GETBUTTONINFO, IDM_VIEW, (LPARAM)&tbbi ); menu_view = (HMENU)tbbi.lParam; - RemoveMenu( hmenu_view, 0, MF_BYPOSITION ); + RemoveMenu( menu_view, 0, MF_BYPOSITION ); SendMessage( mbi.hwndMB, TB_GETBUTTONINFO, IDM_SETTINGS, (LPARAM)&tbbi ); menu_settings = (HMENU)tbbi.lParam; SendMessage( mbi.hwndMB, TB_GETBUTTONINFO, IDM_VIDEO, (LPARAM)&tbbi ); -- 2.39.5