node/lib/metasm/metasm/gui/win32.rb
# make the window's MenuBar reflect the content of @menu
make the window's MenuBar reflect the content of @menu
make the window ' s MenuBar reflect the content of @menu
def update_menu
		unuse_menu(@menu)
		Win32Gui.destroymenu(@menuhwnd) if @menuhwnd != 0
		@menuhwnd = Win32Gui.createmenu()
		@menu.each { |e| create_menu_item(@menuhwnd, e) }
		Win32Gui.setmenu(@hwnd, @menuhwnd)
	end
def update_menu unuse_menu ( @menu ) Win32Gui . destroymenu ( @menuhwnd ) if @menuhwnd != 0 @menuhwnd = Win32Gui . createmenu ( ) @menu . each { | e | create_menu_item ( @menuhwnd , e ) } Win32Gui . setmenu ( @hwnd , @menuhwnd ) end
make the window's MenuBar reflect the content of @menu
make the window ' s MenuBar reflect the content of @menu