Hi!
OK, I have done some header file investigation in wxWindows, and
according to the comments and code, these are all the flags (well only
the "defines") you need to be able to create wxWindows programs:
-D_WIN32_IE=0x0400 -DWINVER=0x0400 -DWIN32 -D__GNUWIN32__
In detail:
-D_WIN32_IE=0x0400 -DWINVER=0x0400
These two are required if you have IE 4.0 (I think you do). BOTH must be
defined, because they are used in separate places, and they don't know
about each other.
-DWIN32 or -D_WIN32
This is the ONLY one flag that you need (just one of them), if you
compile under Windows. wxWindows will autodetect everything else
(according to the comment and code in include/wx/platform.h)
-D__GNUWIN32__
This is needed to have case-insensitive string compare. Otherwise the
program won't compile.
I hope I have provided some useful information to you.
--
Greetings,
Balázs
|