guicombobox.cpp: Remove wrong pointer

No callback was defined for this call to gfuiGrButtonInit, so in fact
this pointer was useless.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9545 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1cb69b3455a9b3d6a7028b4452fedaa253519aac
Former-commit-id: bac08cabb56f2e1ab36f54f45245a7b3a9fede75
This commit is contained in:
xavi92 2024-08-25 22:09:31 +00:00
parent 7403fe57dc
commit 386ed19a73

View file

@ -181,7 +181,7 @@ GfuiComboboxCreate(void *scr, int font, int x, int y, int width,
width - 2 * combobox->leftButton.width, //width
arrowsHeight, //height: same as the arrows
GFUI_MIRROR_NONE,
GFUI_MOUSE_UP, (void*)(long)(object->id), 0, 0, 0, 0);
GFUI_MOUSE_UP, NULL, 0, 0, 0, 0);
// Add the combo control to the display list.
gfuiAddObject(screen, object);