X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=src%2Fgui-listbox.cpp;h=b7232501843a2080c08f7ee2d834eba03cfb53ea;hp=e53ba49d0cb5139fdab0c04b766c585421cd6f22;hb=c4d9e46f268b4f7f738dd77685c632991125cec9;hpb=6bcbb2cefb0e69afae9b1de828b85f506b1bef19 diff --git a/src/gui-listbox.cpp b/src/gui-listbox.cpp index e53ba49..b723250 100644 --- a/src/gui-listbox.cpp +++ b/src/gui-listbox.cpp @@ -24,6 +24,7 @@ #include "gui-listbox.h" #include "gsubr.h" #include "wchar.h" +#include "wrapped.h" using namespace irr; @@ -32,7 +33,7 @@ IGUIListBox_addItem (SCM gui_listbox, SCM text, SCM icon) { - gui::IGUIListBox* listbox = (gui::IGUIListBox*)scm_to_pointer (gui_listbox); + gui::IGUIListBox* listbox = (gui::IGUIListBox*)scm_to_irr_pointer (gui_listbox); u32 item_id; if (icon == SCM_UNDEFINED) {