Hi there, I noticed that the following Window ID constants used with stock items were missing in 'defsutil.i':
%define wxID_ADD %define wxID_BOLD %define wxID_DELETE %define wxID_DOWN %define wxID_HOME %define wxID_INDENT %define wxID_INDEX %define wxID_ITALIC %define wxID_JUSTIFY_CENTER %define wxID_JUSTIFY_FILL %define wxID_JUSTIFY_LEFT %define wxID_JUSTIFY_RIGHT %define wxID_PREFERENCES %define wxID_PROPERTIES %define wxID_REFRESH %define wxID_REPLACE %define wxID_REMOVE %define wxID_REVERT_TO_SAVED %define wxID_STOP %define wxID_UNDELETE %define wxID_UNDERLINE %define wxID_UNINDENT %define wxID_UP %define wxID_ZOOM_100 %define wxID_ZOOM_FIT %define wxID_ZOOM_IN %define wxID_ZOOM_OUT I tried to add them manually to the recently announced "CVS tarball" ('wxLua_Snapshot_2006-04-25.tar.gz'), but it failed to compile, so I don't know if my changes were OK. Anyway, the patch is attached. LMB PS: I think I was not clear enough above: the compilation of 'wxLua_Snapshot_2006-04-25.tar.gz' failed even without my patch. Error messages start with: .././bk-deps g++ -c -o wxbind_dll_defsutil.o -I../modules/wxbind/setup -I../modules -I./.. -DWXBIND_MAKINGDLL -fPIC -DPIC -I/Programs/WxGTK/2.6.2/lib/wx/include/gtk2-ansi-release-2.6 -I/Programs/WxGTK/2.6.2/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -O2 -march=i686 -fomit-frame-pointer -pipe -g0 -O2 ../modules/wxbind/src/defsutil.cpp ../modules/wxbind/src/defsutil.cpp: In function `int wxLua_wxMouseState_constructor(lua_State*)': ../modules/wxbind/src/defsutil.cpp:349: error: invalid use of undefined type `struct wxMouseState' ../modules/wxbind/include/wxbind.h:2608: error: forward declaration of `struct wxMouseState' ../modules/wxbind/src/defsutil.cpp: In function `int wxLua_wxMouseState_GetX(lua_State*)': ../modules/wxbind/src/defsutil.cpp:366: error: invalid use of undefined type `struct wxMouseState' ../modules/wxbind/include/wxbind.h:2608: error: forward declaration of `struct wxMouseState'
StockButtons.diff
Description: Binary data