Runtime error with List and mouseclick

crix

19-01-2012 17:46:00

System
Ogre_v1-7-4
MyGUI 3.0

When I use a list or multilist then after a while when I cklick index 0 in list I get a runtime error.

From logfile:
18:27:25 | Core | Critical | List::_selectIndex | F:\Programming_Version_2\MyGUI\MyGUI3.0\MyGUI3.0\MyGUIEngine\src\MyGUI_List.cpp | 910


In the debugger it shows line 910:
MYGUI_ASSERT(count_pressed < 2, _owner);

Anyone had this problem?

Thankful for an answer!

crix

19-01-2012 19:58:26

Its this that causes trouble it seems.

#if MYGUI_DEBUG_MODE == 1
_checkMapping("List::_selectIndex");
#endif

Generates a runtime error when I run my program.

So in "Release" version of MyGUI DLL's then no error will arrise?

MYGUI_DEBUG_MODE == 0?

Altren

19-01-2012 20:11:20

Well, this bug was fixed a while ago. You should use more recent version of MyGUI.

crix

19-01-2012 20:12:37

Well, this bug was fixed a while ago. You should use more recent version of MyGUI.

Going to compile and use MyGUI 3.2 then. Thanks for the answer!
:)