X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d78b3d64143f165857922e1e695ba4164d61869f..11aab0d0005a2dca111b24a7088eb834b26894ed:/acconfig.h diff --git a/acconfig.h b/acconfig.h index 8d0f4db1f2..9e9bbb9865 100644 --- a/acconfig.h +++ b/acconfig.h @@ -2,8 +2,10 @@ /* */ /* Version: $Id$ */ -#ifndef __GTKSETUPH__ -#define __GTKSETUPH__ +/* This define (__WX_SETUP_H__) is used both to insure setup.h is included + * only once and to indicate that we are building using configure. */ +#ifndef __WX_SETUP_H__ +#define __WX_SETUP_H__ #ifdef __GNUG__ #pragma interface @@ -31,7 +33,7 @@ /* * Define to 1 for Unix[-like] system */ -#define wxUSE_UNIX 1 +#define wxUSE_UNIX 0 #undef __UNIX__ #undef __LINUX__ @@ -56,6 +58,7 @@ #undef __WIN95__ #undef __WIN32__ #undef __GNUWIN32__ +#undef WINVER /* ------------------------------------------------------------------------ */ /* compiler options */ @@ -271,7 +274,7 @@ */ #define wxUSE_TOOLBAR 0 -#ifdef __WXWINE__ +#if defined(__WXWINE__) || defined(__GNUWIN32__) #if wxUSE_TOOLBAR #define wxUSE_BUTTONBAR 1 #endif @@ -339,7 +342,7 @@ /* * wxLibrary class */ -#define wxUSE_DYNLIB_CLASS 1 +#define wxUSE_DYNLIB_CLASS 0 /* ------------------------------------------------------------------------ */ /* PS options */ @@ -610,4 +613,4 @@ @BOTTOM@ -#endif /* __GTKSETUPH__ */ +#endif /* __WX_SETUP_H__ */