added wxUSE_SVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -1812,6 +1812,15 @@ | ||||
| #   endif | ||||
| #endif /* wxUSE_SOCKETS */ | ||||
|  | ||||
| #if wxUSE_SVG && !wxUSE_STREAMS | ||||
| #   ifdef wxABORT_ON_CONFIG_ERROR | ||||
| #       error "wxUSE_SVG requires wxUSE_STREAMS" | ||||
| #   else | ||||
| #       undef wxUSE_SVG | ||||
| #       define wxUSE_SVG 0 | ||||
| #   endif | ||||
| #endif /* wxUSE_SVG */ | ||||
|  | ||||
| #if !wxUSE_VARIANT | ||||
| #   if wxUSE_DATAVIEWCTRL | ||||
| #       ifdef wxABORT_ON_CONFIG_ERROR | ||||
|   | ||||
| @@ -15,6 +15,8 @@ | ||||
| #include "wx/string.h" | ||||
| #include "wx/dc.h" | ||||
|  | ||||
| #if wxUSE_SVG | ||||
|  | ||||
| #define wxSVGVersion wxT("v0100") | ||||
|  | ||||
| #ifdef __BORLANDC__ | ||||
| @@ -191,4 +193,6 @@ private: | ||||
|    DECLARE_ABSTRACT_CLASS(wxSVGFileDC) | ||||
| }; | ||||
|  | ||||
| #endif // wxUSE_SVG | ||||
|  | ||||
| #endif // _WX_DCSVG_H_ | ||||
|   | ||||
| @@ -1099,7 +1099,7 @@ | ||||
|                                 // Include mouse wheel support | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // postscript support settings | ||||
| // wxDC classes for various output formats | ||||
| // ---------------------------------------------------------------------------- | ||||
|  | ||||
| // Set to 1 for PostScript device context. | ||||
| @@ -1108,6 +1108,10 @@ | ||||
| // Set to 1 to use font metric files in GetTextExtent | ||||
| #define wxUSE_AFM_FOR_POSTSCRIPT 1 | ||||
|  | ||||
| // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows | ||||
| // to create fiels in SVG (Scalable Vector Graphics) format. | ||||
| #define wxUSE_SVG 1 | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // database classes | ||||
| // ---------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -1098,7 +1098,7 @@ | ||||
|                                 // Include mouse wheel support | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // postscript support settings | ||||
| // wxDC classes for various output formats | ||||
| // ---------------------------------------------------------------------------- | ||||
|  | ||||
| // Set to 1 for PostScript device context. | ||||
| @@ -1107,6 +1107,10 @@ | ||||
| // Set to 1 to use font metric files in GetTextExtent | ||||
| #define wxUSE_AFM_FOR_POSTSCRIPT 1 | ||||
|  | ||||
| // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows | ||||
| // to create fiels in SVG (Scalable Vector Graphics) format. | ||||
| #define wxUSE_SVG 1 | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // database classes | ||||
| // ---------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -1098,7 +1098,7 @@ | ||||
|                                 // Include mouse wheel support | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // postscript support settings | ||||
| // wxDC classes for various output formats | ||||
| // ---------------------------------------------------------------------------- | ||||
|  | ||||
| // Set to 1 for PostScript device context. | ||||
| @@ -1107,6 +1107,10 @@ | ||||
| // Set to 1 to use font metric files in GetTextExtent | ||||
| #define wxUSE_AFM_FOR_POSTSCRIPT 1 | ||||
|  | ||||
| // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows | ||||
| // to create fiels in SVG (Scalable Vector Graphics) format. | ||||
| #define wxUSE_SVG 1 | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // database classes | ||||
| // ---------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -1098,7 +1098,7 @@ | ||||
|                                 // Include mouse wheel support | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // postscript support settings | ||||
| // wxDC classes for various output formats | ||||
| // ---------------------------------------------------------------------------- | ||||
|  | ||||
| // Set to 1 for PostScript device context. | ||||
| @@ -1107,6 +1107,10 @@ | ||||
| // Set to 1 to use font metric files in GetTextExtent | ||||
| #define wxUSE_AFM_FOR_POSTSCRIPT 1 | ||||
|  | ||||
| // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows | ||||
| // to create fiels in SVG (Scalable Vector Graphics) format. | ||||
| #define wxUSE_SVG 1 | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // database classes | ||||
| // ---------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -1098,7 +1098,7 @@ | ||||
|                                 // Include mouse wheel support | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // postscript support settings | ||||
| // wxDC classes for various output formats | ||||
| // ---------------------------------------------------------------------------- | ||||
|  | ||||
| // Set to 1 for PostScript device context. | ||||
| @@ -1107,6 +1107,10 @@ | ||||
| // Set to 1 to use font metric files in GetTextExtent | ||||
| #define wxUSE_AFM_FOR_POSTSCRIPT 1 | ||||
|  | ||||
| // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows | ||||
| // to create fiels in SVG (Scalable Vector Graphics) format. | ||||
| #define wxUSE_SVG 1 | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // database classes | ||||
| // ---------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -1098,7 +1098,7 @@ | ||||
|                                 // Include mouse wheel support | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // postscript support settings | ||||
| // wxDC classes for various output formats | ||||
| // ---------------------------------------------------------------------------- | ||||
|  | ||||
| // Set to 1 for PostScript device context. | ||||
| @@ -1107,6 +1107,10 @@ | ||||
| // Set to 1 to use font metric files in GetTextExtent | ||||
| #define wxUSE_AFM_FOR_POSTSCRIPT 1 | ||||
|  | ||||
| // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows | ||||
| // to create fiels in SVG (Scalable Vector Graphics) format. | ||||
| #define wxUSE_SVG 1 | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // database classes | ||||
| // ---------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -1094,7 +1094,7 @@ | ||||
|                                 // Include mouse wheel support | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // postscript support settings | ||||
| // wxDC classes for various output formats | ||||
| // ---------------------------------------------------------------------------- | ||||
|  | ||||
| // Set to 1 for PostScript device context. | ||||
| @@ -1103,6 +1103,10 @@ | ||||
| // Set to 1 to use font metric files in GetTextExtent | ||||
| #define wxUSE_AFM_FOR_POSTSCRIPT 1 | ||||
|  | ||||
| // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows | ||||
| // to create fiels in SVG (Scalable Vector Graphics) format. | ||||
| #define wxUSE_SVG 1 | ||||
|  | ||||
| // ---------------------------------------------------------------------------- | ||||
| // database classes | ||||
| // ---------------------------------------------------------------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user