summaryrefslogtreecommitdiff
path: root/lib/wx/api_gen
diff options
context:
space:
mode:
authorDan Gudmundsson <dgud@erlang.org>2015-11-20 15:49:30 +0100
committerDan Gudmundsson <dgud@erlang.org>2015-11-24 14:34:02 +0100
commitda4a2d7ca19f967da4561f66659346540d6441c9 (patch)
tree29d38e625dc572dcc99f9106952fc42c794a37a1 /lib/wx/api_gen
parentc998b45d3ecf560b40fa92a49658dd476e40e2ae (diff)
downloaderlang-da4a2d7ca19f967da4561f66659346540d6441c9.tar.gz
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/api_gen')
-rw-r--r--lib/wx/api_gen/wxapi.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf
index 462a4551a9..eabbec3297 100644
--- a/lib/wx/api_gen/wxapi.conf
+++ b/lib/wx/api_gen/wxapi.conf
@@ -367,7 +367,7 @@
{class,wxMirrorDC, wxDC, [], ['wxMirrorDC', '~wxMirrorDC']}.
{class,wxScreenDC, wxDC, [], ['wxScreenDC', '~wxScreenDC']}.
-{class,wxPostScriptDC,wxDC,[],
+{class,wxPostScriptDC,wxDC,[{ifdef, wxUSE_POSTSCRIPT}],
['wxPostScriptDC','~wxPostScriptDC',
{'SetResolution', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]},
{'GetResolution', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}]}.