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 ) ...@@ -668,10 +668,14 @@ LRESULT Interface::WndProc( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp )
break; break;
case WM_INITMENUPOPUP: case WM_INITMENUPOPUP:
RefreshSettingsMenu( p_intf, menu_settings ); if( (HMENU)wp == menu_settings )
RefreshAudioMenu( p_intf, menu_audio ); RefreshSettingsMenu( p_intf, menu_settings );
RefreshVideoMenu( p_intf, menu_video ); if( (HMENU)wp == menu_audio )
RefreshNavigMenu( p_intf, menu_navigation ); 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 */ /* Fall through */
case WM_ENTERMENULOOP: 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