X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fgui-listbox.cpp;h=b7232501843a2080c08f7ee2d834eba03cfb53ea;hb=c59d2be798005a3684d75c3f561568ad2cdac9c7;hp=e53ba49d0cb5139fdab0c04b766c585421cd6f22;hpb=41a6ad96e81a8d8153c54877c4c12f61100677a9;p=guile-irrlicht.git 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) {