aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-12-13 14:18:20 +0100
committerDan Gudmundsson <[email protected]>2018-12-13 14:18:20 +0100
commitf180ccc75a7d2cef6b469d2e4a737cffbef7c951 (patch)
treec5c140a07babf94879acc51c0a720f60d26c7533 /lib/wx/api_gen
parent3116b656c70a3bc623704c28cf6e3b9c1e075bad (diff)
downloadotp-f180ccc75a7d2cef6b469d2e4a737cffbef7c951.tar.gz
otp-f180ccc75a7d2cef6b469d2e4a737cffbef7c951.tar.bz2
otp-f180ccc75a7d2cef6b469d2e4a737cffbef7c951.zip
Add wxGCDC
Been included in wxWidgets since 2.7.1, but not documented and have been missed in wx. Is documented in 3.0.0
Diffstat (limited to 'lib/wx/api_gen')
-rw-r--r--lib/wx/api_gen/wx_gen_cpp.erl1
-rw-r--r--lib/wx/api_gen/wxapi.conf4
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/wx/api_gen/wx_gen_cpp.erl b/lib/wx/api_gen/wx_gen_cpp.erl
index 90734eee0b..a29172032b 100644
--- a/lib/wx/api_gen/wx_gen_cpp.erl
+++ b/lib/wx/api_gen/wx_gen_cpp.erl
@@ -1177,6 +1177,7 @@ gen_macros() ->
w("#include <wx/sashwin.h>~n"),
w("#include <wx/laywin.h>~n"),
w("#include <wx/graphics.h>~n"),
+ w("#include <wx/dcgraph.h>~n"),
w("#include <wx/aui/aui.h>~n"),
w("#include <wx/datectrl.h>~n"),
w("#include <wx/filepicker.h>~n"),
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf
index 6e139e1412..9707fedf67 100644
--- a/lib/wx/api_gen/wxapi.conf
+++ b/lib/wx/api_gen/wxapi.conf
@@ -2040,3 +2040,7 @@
'GetCount', 'GetFromPoint', 'GetFromWindow',
{'GetPPI', [{test_if, "wxCHECK_VERSION(3,1,2)"}]}
]}.
+
+{class, wxGCDC, wxDC, [{ifdef, wxUSE_GRAPHICS_CONTEXT}],
+ ['wxGCDC', '~wxGCDC', 'GetGraphicsContext', 'SetGraphicsContext'
+ ]}.