* BUG: Window.Menus[] does not crash anymore.

[GB.GTK3]
* BUG: Window.Menus[] does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-10-30 10:16:16 +00:00
parent 724270e57b
commit d475c9074c

View File

@ -592,7 +592,7 @@ BEGIN_METHOD(CWINDOW_menu_get, GB_INTEGER index)
return;
}
GB.ReturnObject(gMenu::winChildMenu(WINDOW, index));
GB.ReturnObject(gMenu::winChildMenu(WINDOW, index)->hFree);
END_METHOD