aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/include/wx.hrl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-05-13 17:23:18 +0200
committerDan Gudmundsson <[email protected]>2014-05-13 17:23:18 +0200
commitb7bd7d3104bf7672eed5bfbd148d1c75820683e5 (patch)
tree7989d60b4a49ce093407bb161b81a31b501e37e3 /lib/wx/include/wx.hrl
parent616e03903645ee3f1fef1a4226f2b18051b968c9 (diff)
downloadotp-b7bd7d3104bf7672eed5bfbd148d1c75820683e5.tar.gz
otp-b7bd7d3104bf7672eed5bfbd148d1c75820683e5.tar.bz2
otp-b7bd7d3104bf7672eed5bfbd148d1c75820683e5.zip
wx: Fix non constant define (wxSL_LABELS)
wxSL_LABELS have changed constant value in 3.0, make version agnostic by doing a lookup during runtime instead of constant. Thanks Enrique Fernández (efcasado)
Diffstat (limited to 'lib/wx/include/wx.hrl')
-rw-r--r--lib/wx/include/wx.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/include/wx.hrl b/lib/wx/include/wx.hrl
index 795e481396..348daf64ce 100644
--- a/lib/wx/include/wx.hrl
+++ b/lib/wx/include/wx.hrl
@@ -2520,7 +2520,7 @@
-define(wxSL_RIGHT, 256).
-define(wxSL_TOP, 128).
-define(wxSL_LEFT, 64).
--define(wxSL_LABELS, 32).
+-define(wxSL_LABELS, wxe_util:get_const(wxSL_LABELS)).
-define(wxSL_AUTOTICKS, ?wxSL_TICKS).
-define(wxSL_TICKS, 16).
-define(wxSL_VERTICAL, ?wxVERTICAL).