Update MenuBar.cpp

Updated to remain sync'd with Valve's version.
This commit is contained in:
EricS-Valve 2025-03-24 13:12:34 -07:00 committed by GitHub
parent d3b0d7bf28
commit 2f6f93cfa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -223,12 +223,8 @@ void MenuBar::OnMenuClose()
//-----------------------------------------------------------------------------
#ifdef PLATFORM_64BITS
void MenuBar::OnCursorEnteredMenuButton(vgui::Panel* VPanel)
{
VPANEL menuButton = (VPANEL)VPanel;
#else
void Menu::OnCursorEnteredMenuItem(int VPanel)
{
VPANEL menuButton = (VPANEL)VPanel;
void MenuBar::OnCursorEnteredMenuButton(int VPanel)
#endif
// see if we had a menu open
for ( int i = 0; i < m_pMenuButtons.Count(); i++)