From: Robin Dunn Date: Thu, 5 Oct 2006 22:42:31 +0000 (+0000) Subject: Make the message about wxUSE_GRAPHICS_CONTEXT a bit more informative X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e88f6524513de78a0f8434e188ae0e7c354dba05?hp=6cb4f153c300067e21eac198e4b57b47db9b9767 Make the message about wxUSE_GRAPHICS_CONTEXT a bit more informative git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h index 6c8370a4de..5a29f354e5 100644 --- a/include/wx/mac/setup0.h +++ b/include/wx/mac/setup0.h @@ -553,10 +553,16 @@ // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced // 2D drawing API. (Still somewhat experimental) // +// Please note that on Windows you will need to link with gdiplus.lib (use +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your +// application if you want it to be runnable on pre-XP systems. +// // Default is 0 // // Recommended setting: 1 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/motif/setup0.h b/include/wx/motif/setup0.h index 315daf2dc2..a90e2468b1 100644 --- a/include/wx/motif/setup0.h +++ b/include/wx/motif/setup0.h @@ -552,10 +552,16 @@ // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced // 2D drawing API. (Still somewhat experimental) // +// Please note that on Windows you will need to link with gdiplus.lib (use +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your +// application if you want it to be runnable on pre-XP systems. +// // Default is 0 // // Recommended setting: 1 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index b37dac80df..e50b5a727f 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -552,10 +552,16 @@ // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced // 2D drawing API. (Still somewhat experimental) // +// Please note that on Windows you will need to link with gdiplus.lib (use +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your +// application if you want it to be runnable on pre-XP systems. +// // Default is 0 // // Recommended setting: 1 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/msw/wince/setup.h b/include/wx/msw/wince/setup.h index cadc00ada2..f4b472cb40 100644 --- a/include/wx/msw/wince/setup.h +++ b/include/wx/msw/wince/setup.h @@ -552,10 +552,16 @@ // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced // 2D drawing API. (Still somewhat experimental) // +// Please note that on Windows you will need to link with gdiplus.lib (use +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your +// application if you want it to be runnable on pre-XP systems. +// // Default is 0 // // Recommended setting: 1 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index 26d0a9c84e..d03b6e30dc 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -552,10 +552,16 @@ // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced // 2D drawing API. (Still somewhat experimental) // +// Please note that on Windows you will need to link with gdiplus.lib (use +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your +// application if you want it to be runnable on pre-XP systems. +// // Default is 0 // // Recommended setting: 1 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/palmos/setup0.h b/include/wx/palmos/setup0.h index 9c48db9f73..fae3447bb5 100644 --- a/include/wx/palmos/setup0.h +++ b/include/wx/palmos/setup0.h @@ -552,10 +552,16 @@ // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced // 2D drawing API. (Still somewhat experimental) // +// Please note that on Windows you will need to link with gdiplus.lib (use +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your +// application if you want it to be runnable on pre-XP systems. +// // Default is 0 // // Recommended setting: 1 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/setup_inc.h b/include/wx/setup_inc.h index f8d4204416..1f062009d9 100644 --- a/include/wx/setup_inc.h +++ b/include/wx/setup_inc.h @@ -548,10 +548,16 @@ // Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced // 2D drawing API. (Still somewhat experimental) // +// Please note that on Windows you will need to link with gdiplus.lib (use +// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your +// application if you want it to be runnable on pre-XP systems. +// // Default is 0 // // Recommended setting: 1 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/setup.h.in b/setup.h.in index b8dc454d47..d9642d465a 100644 --- a/setup.h.in +++ b/setup.h.in @@ -294,7 +294,9 @@ #define wxUSE_AUI 0 +#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 +#endif #define wxUSE_CONTROLS 0