I added the const, but on linux everything builded fine for me, just tried on windows same issue, but why should it not be const ??
[now the warning will be back :-( ] It is used once at a place where I cast away the const, but as fas as I can't tell from the wx doc, it seems the argument will not be changed by the wxImage method [not even delete since 2e arg is true]
Have undo-ed that const in the meantime.
[I wonder why make or gcc apparently is not working correctly, since for some it breaks compilation, for others it don't]