I am move #include <wx/settings.h> string
in wxsMathPlot.h
so as:
and build is OK...
This is a strange...
Any ideas???
Problem is likely caused by "#include <windef.h>" This file is the only place it is used in CB.
I suggest commenting out that line or replacing it with "#include <wx/msw/wrapwin.h>"
For more info about wrapwin.h read wxWidgets "docs/tech/tn0019.txt", I went thru CB a few years back and added these [wrapwin.h] calls because if you compile without using Precompiled Headers weird errors like this happen. This is likely a MinGW and/or wxWidgets bug.
Edit: I suggest commenting out all the includes but the last three if my suggestion above fails to fix the problem.
Tim S.