aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen/wxe_funcs.cpp
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-11-20 15:49:30 +0100
committerDan Gudmundsson <[email protected]>2015-11-24 14:34:02 +0100
commitda4a2d7ca19f967da4561f66659346540d6441c9 (patch)
tree29d38e625dc572dcc99f9106952fc42c794a37a1 /lib/wx/c_src/gen/wxe_funcs.cpp
parentc998b45d3ecf560b40fa92a49658dd476e40e2ae (diff)
downloadotp-da4a2d7ca19f967da4561f66659346540d6441c9.tar.gz
otp-da4a2d7ca19f967da4561f66659346540d6441c9.tar.bz2
otp-da4a2d7ca19f967da4561f66659346540d6441c9.zip
wx: Make wxPostScriptDC optional
By default wxUSE_POSTSCRIPT is not enabled on Windows, make it optional, postscript generation doesn't work that good and is probably never used on windows anyway.
Diffstat (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp')
-rw-r--r--lib/wx/c_src/gen/wxe_funcs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp
index 9c05ad2cf8..fd1cedd714 100644
--- a/lib/wx/c_src/gen/wxe_funcs.cpp
+++ b/lib/wx/c_src/gen/wxe_funcs.cpp
@@ -5856,6 +5856,7 @@ case wxScreenDC_new: { // wxScreenDC::wxScreenDC
rt.addRef(getRef((void *)Result,memenv), "wxScreenDC");
break;
}
+#if wxUSE_POSTSCRIPT
case wxPostScriptDC_new_0: { // wxPostScriptDC::wxPostScriptDC
wxPostScriptDC * Result = new EwxPostScriptDC();
newPtr((void *) Result, 4, memenv);
@@ -5883,6 +5884,7 @@ case wxPostScriptDC_GetResolution: { // wxPostScriptDC::GetResolution
break;
}
#endif
+#endif // wxUSE_POSTSCRIPT
#if !wxCHECK_VERSION(2,9,0)
case wxWindowDC_new_0: { // wxWindowDC::wxWindowDC
wxWindowDC * Result = new EwxWindowDC();