aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen/wxe_derived_dest.h
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/c_src/gen/wxe_derived_dest.h
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/c_src/gen/wxe_derived_dest.h')
-rw-r--r--lib/wx/c_src/gen/wxe_derived_dest.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/wxe_derived_dest.h b/lib/wx/c_src/gen/wxe_derived_dest.h
index 675054794c..a7114eb188 100644
--- a/lib/wx/c_src/gen/wxe_derived_dest.h
+++ b/lib/wx/c_src/gen/wxe_derived_dest.h
@@ -799,3 +799,11 @@ class EwxDCOverlay : public wxDCOverlay {
EwxDCOverlay(wxOverlay& overlay,wxWindowDC * dc) : wxDCOverlay(overlay,dc) {};
};
+#if wxUSE_GRAPHICS_CONTEXT
+class EwxGCDC : public wxGCDC {
+ public: ~EwxGCDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxGCDC(const wxWindowDC& dc) : wxGCDC(dc) {};
+ EwxGCDC() : wxGCDC() {};
+};
+#endif // wxUSE_GRAPHICS_CONTEXT
+