On Mon, Nov 9, 2009 at 11:54 PM, Quan Zongliang <[email protected]> wrote: >> No - it should get pulled in vi wx.h though, so you can test those macros. > No, it didn't. > I can't detect them now. Like: > #if wxUSE_STREAMS || wxUSE_ZIPSTREAM || wxUSE_TARSTREAM > some codes > #endif > Always get false.
wx.h includes defs.h. defs.h includes platform.h. platform.h includes setup.h iirc, there used to be a couple of copies of setup.h in a typical tree. Maybe you have a default oen somewhere which is getting pulled in instead of what you actually have. Be aware though, that on many platforms (notably Linux), wx packages may be provided by the OS vendor and will probably not have any obscure options enabled, so don't write any code that requires anything unusual. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com PGDay.EU 2009 Conference: http://2009.pgday.eu/start -- Sent via pgadmin-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
