My wxWidgets app includes a file transfer using TCP sockets and everything works fine.
But I always get this warning:
#warning Please include winsock2.h before windows.h [-Wcpp]
I know wx has to includes windows.h, so I assume I would just have to move my include before that, but I can't figure out where?
I'm using mingw-w64 in C::B.