From: John L. <jla...@gm...> - 2006-01-24 05:20:10
|
On 1/23/06, Francesco Montorsi <f18...@ya...> wrote: > >>> ./../modules/wxbind/include/wxbind.h:127:6: warning: "wxUSE_WAVE" is > >>> not defined > >>> ./../modules/wxbind/include/wxbind.h:328:5: warning: > >>> "wxLUA_USE_wxCriticalSection" is not defined > >> > > Me too, at least the first, i just disabled it in luasetup.h to make i= t > > go away. > > > > #define wxLUA_USE_wxWave 0 > I've found the reason in wx/wave.h: > > #if wxUSE_SOUND // not wxUSE_WAVE !sdf > ... > #include "wx/sound.h" > // wxSound used to be called wxWave before wxWidgets 2.5.1: > typedef wxSound wxWave; > ... > #endif Ok, I've added a new setting in wx.rules where you can add any additional code for the binding header. There is where I've placed #ifndef wxUSE_WAVE #define wxUSE_WAVE 0 #endif so that ti should work anywhere. It's a little bit of a hack, but I think this is all we can do to maintain backwards compatibility. Regards, John Labenski |