mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-10 10:49:35 +00:00
arm64 : fix vgui2 VPAMEL in messagemap
This commit is contained in:
@@ -135,7 +135,7 @@ int BuyPresetListBox::computeVPixelsNeeded( void )
|
||||
/**
|
||||
* Adds an item to the end of the listbox. UserData is assumed to be a pointer that can be freed by the listbox if non-NULL.
|
||||
*/
|
||||
int BuyPresetListBox::AddItem( vgui::Panel *panel, void * userData )
|
||||
int BuyPresetListBox::AddItem( vgui::Panel *panel, IBuyPresetListBoxUserData * userData )
|
||||
{
|
||||
assert(panel);
|
||||
|
||||
@@ -192,7 +192,7 @@ Panel * BuyPresetListBox::GetItemPanel(int index) const
|
||||
/**
|
||||
* Returns the userData in the given index, or NULL
|
||||
*/
|
||||
void * BuyPresetListBox::GetItemUserData(int index)
|
||||
auto BuyPresetListBox::GetItemUserData(int index) -> IBuyPresetListBoxUserData *
|
||||
{
|
||||
if ( index < 0 || index >= m_items.Count() )
|
||||
{
|
||||
@@ -206,7 +206,7 @@ void * BuyPresetListBox::GetItemUserData(int index)
|
||||
/**
|
||||
* Sets the userData in the given index
|
||||
*/
|
||||
void BuyPresetListBox::SetItemUserData( int index, void * userData )
|
||||
void BuyPresetListBox::SetItemUserData( int index, IBuyPresetListBoxUserData * userData )
|
||||
{
|
||||
if ( index < 0 || index >= m_items.Count() )
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user