Re: [wxlua-users] A small bug in wxBitmapFromFile_constructor

2006-12-01 Thread John Labenski
On 12/1/06, Pierric <[EMAIL PROTECTED]> wrote: > Oh~ I see. > I directly use solution file under build/msw instead of running > "genwxbind.bat" first. That makes the bug! > Thanks. I'm not sure I understand what you mean, but to be sure. You only have to run genwxbind.bat if you edit any of the *.

Re: [wxlua-users] A small bug in wxBitmapFromFile_constructor

2006-12-01 Thread Pierric
Oh~ I see. I directly use solution file under build/msw instead of running " genwxbind.bat" first. That makes the bug! Thanks. 2006/11/30, John Labenski <[EMAIL PROTECTED]>: On 11/30/06, Pierric <[EMAIL PROTECTED]> wrote: > I recently find a small bug in wxbind/src/gdi.cpp,line 4193. Here is th

Re: [wxlua-users] A small bug in wxBitmapFromFile_constructor

2006-11-29 Thread John Labenski
On 11/30/06, Pierric <[EMAIL PROTECTED]> wrote: > I recently find a small bug in wxbind/src/gdi.cpp,line 4193. Here is the > original code: > static int LUACALL wxBitmapFromFile_constructor(lua_State > *L) > { > > // call constructor > returns = new wxBitmap(name, type); > ... >

[wxlua-users] A small bug in wxBitmapFromFile_constructor

2006-11-29 Thread Pierric
I recently find a small bug in wxbind/src/gdi.cpp,line 4193. Here is the original code: static int LUACALL wxBitmapFromFile_constructor(lua_State *L) { // call constructor returns = new wxBitmap(name, type); ... return 1; } I changed to the following one : returns = new wxBitma