I recently build wxwidgets from sources with MSVC 2017, but when I use it in a program, it ends by:
Code: Select all
error C4430: missing type specifier - int assumed. note c++ does not support default-int
Code: Select all
static WXLRESULT wxCALLBACK HookFunction(int code, WXWPARAM, WXLPARAM);
I have linked all the files in the "(wxWidgets)/lib/vc_lib" folder, but it still does this error
Am I doing something wrong? Or should I rebuild wxWidgets with other options (I don't remember which I used)?
Thanks for any help
(and sorry for the eventual mistakes, I'm not english so...)