Try adding these defines to your project. Note, the better option would be using wx-config in your project settings; but, I am guessing you do not wish to do that. Tim S.
_FILE_OFFSET_BITS=64
WXUSINGDLL
__WXMAC__
__WXOSX__
__WXOSX_COCOA__
Edit: Add steps to add the defines.
Project -> Build Options
Tab: Compiler Settings
Sub-Tab: #defines
To use wxWidgets you have to supply the proper compiler and linker options. Because it is not so simple to just add the include directory and add one library you can use the wx-config script to get the required settings. You seem to have added some settings by yourself, remove these first.
Then go to the project settings and add under "Other compiler options"
and under "Other linker options"
If you did build wxWidgets not as monolithic library but as individual libraries you can further restrict to link only to the libraries you actually use, but for this you need to check the wxWidgets documentation which ones you are actually using, a minimal GUI application at least requires this:
`wx-config --libs core,base`