Commit 7b9a0651 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wince/interface.cpp: fixed menus handling.

parent 0b2b862d
......@@ -668,10 +668,14 @@ LRESULT Interface::WndProc( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp )
break;
case WM_INITMENUPOPUP:
RefreshSettingsMenu( p_intf, menu_settings );
RefreshAudioMenu( p_intf, menu_audio );
RefreshVideoMenu( p_intf, menu_video );
RefreshNavigMenu( p_intf, menu_navigation );
if( (HMENU)wp == menu_settings )
RefreshSettingsMenu( p_intf, menu_settings );
if( (HMENU)wp == menu_audio )
RefreshAudioMenu( p_intf, menu_audio );
if( (HMENU)wp == menu_video )
RefreshVideoMenu( p_intf, menu_video );
if( (HMENU)wp == menu_navigation )
RefreshNavigMenu( p_intf, menu_navigation );
/* Fall through */
case WM_ENTERMENULOOP:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment