From: k. h. <kla...@nl...> - 2005-08-02 12:03:14
|
I forgot to add the wx_Binding() which i outcommented. Now that is have wx_Binding() registered proberly the error popup has changed to the following: wxLua: Expected enum for parameter 6. Which i traced down to happening here, any idea what can be wrong?, Does it work for you?: getenumerationtype(lua_State * 0x018e9af0, int 6) line 1575 wxToolBarBase_AddTool(lua_State * 0x018e9af0) line 1657 + 17 bytes wxLuaFunction::CallMethod(lua_State * 0x018e9af0) line 524 + 14 bytes callFunction(lua_State * 0x018e9af0) line 2029 + 12 bytes luaD_precall(lua_State * 0x018e9af0, lua_TObject * 0x019cc310) line 260 + 18 bytes luaV_execute(lua_State * 0x018e9af0) line 627 + 13 bytes luaD_call(lua_State * 0x018e9af0, lua_TObject * 0x018e9d30, int -1) line 313 + 9 bytes f_call(lua_State * 0x018e9af0, void * 0x014afaa4) line 672 + 22 bytes luaD_rawrunprotected(lua_State * 0x018e9af0, void (lua_State *, void *)* 0x00531451 f_call(lua_State *, void *), void * 0x014afaa4) line 88 + 13 bytes luaD_pcall(lua_State * 0x018e9af0, void (lua_State *, void *)* 0x00531451 f_call(lua_State *, void *), void * 0x014afaa4, int 144, int 0) line 416 + 17 bytes lua_pcall(lua_State * 0x018e9af0, int 0, int -1, int 0) line 685 + 32 bytes aux_do(lua_State * 0x018e9af0, int 0) line 569 + 15 bytes lua_dobuffer(lua_State * 0x018e9af0, const char * 0x00906028, unsigned int 51558, const char * 0x019701c0) line 583 + 34 bytes wxLuaInterpreter::RunBuffer(const unsigned char * 0x00906028, unsigned int 51558, const wxString & {...}) line 705 + 61 bytes wxLuaStandaloneApp::RunEditor() line 400 wxLuaStandaloneApp::OnInit() line 162 + 11 bytes wxAppConsole::CallOnInit() line 87 + 28 bytes wxEntryReal(int & 1, char * * 0x0034e3b0) line 401 + 25 bytes wxEntry(int & 1, char * * 0x0034e3b0) line 216 + 13 bytes wxEntry(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, HINSTANCE__ * 0x00000000, int 1) line 299 + 13 bytes WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00041f17, int 1) line 97 + 24 bytes WinMainCRTStartup() line 330 + 54 bytes k. holwerda wrote: > I get an error in a popup: > > (none):0: attempt to index global `wx`( a nil value) > > and next: > > > Unclassified > |