so after a full 12 hours trying to get Wxwidgets set up finally it seems to work,I reinstalled everything and cleaned up codeblocks directory etc,
anyway what I noticed is wxwidgets doesn't have a main function,how is this possible I thought every program needs a main function,as it's the starting point yet instead it seems to start from a onInit function which returns a bool