aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wxapi.conf
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-04-03 14:27:41 +0200
committerDan Gudmundsson <[email protected]>2018-04-03 14:27:41 +0200
commit04f1bfac7a6db7d6a030190ea6bc89cf493af2eb (patch)
tree51c11887ceb8e5e619658e5ebd31a34b625738ce /lib/wx/api_gen/wxapi.conf
parentf99860259ee557851acc865519a315f04d1d4d51 (diff)
downloadotp-04f1bfac7a6db7d6a030190ea6bc89cf493af2eb.tar.gz
otp-04f1bfac7a6db7d6a030190ea6bc89cf493af2eb.tar.bz2
otp-04f1bfac7a6db7d6a030190ea6bc89cf493af2eb.zip
Add backwards compatibility for wxWidgets-3.1.1
wx did not build with wxWidgets-3.1.1 since they have removed wxGraphicsRenderer:CreatePen(wxPen). Get the pen info and create the pen from that in 3.1.1 as is done for wxGrahicsContext:CreatePen(wxPen).
Diffstat (limited to 'lib/wx/api_gen/wxapi.conf')
-rw-r--r--lib/wx/api_gen/wxapi.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf
index 146c9fecc7..c20168e40d 100644
--- a/lib/wx/api_gen/wxapi.conf
+++ b/lib/wx/api_gen/wxapi.conf
@@ -433,7 +433,8 @@
{class, wxGraphicsRenderer, object, [{ifdef, wxUSE_GRAPHICS_CONTEXT}],
['GetDefaultRenderer','CreateContext',
%%'CreateContextFromNativeContext', 'CreateContextFromNativeWindow',
- 'CreatePen','CreateBrush',
+ {'CreatePen', [{where, taylormade}]},
+ 'CreateBrush',
{'CreateLinearGradientBrush', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]},
{'CreateRadialGradientBrush', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]},
'CreateFont',