Re: [wxlua-users] fix for DisplayMessage in wxlua.cpp

2009-01-08 Thread arpin
> > Strange, it shouldn't, but thanks. I changed them to > > wxPrintf(wxT("%s\n"), msg.c_str()); > > so they'd work with unicode too. > Better. I think the problem should expected since the first argument is the format. "%S" expect a second argument for the string. Itis rather amazing that i

Re: [wxlua-users] fix for DisplayMessage in wxlua.cpp

2009-01-06 Thread John Labenski
On Wed, Dec 31, 2008 at 1:02 PM, arpin wrote: > please change > > wxPrintf(msg + wxT("\n")); > > to > > wxPrintf(wxT("%s"), msg + wxT("\n")); > > because: print("%S") crashes Strange, it shouldn't, but thanks. I changed them to wxPrintf(wxT("%s\n"), msg.c_str()); so they'd work with unicode too