diff options
author | Dan Gudmundsson <[email protected]> | 2012-12-13 08:54:29 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-01-09 11:41:41 +0100 |
commit | 204d0bdc0acaf8017372a3b93f54bb846b6be58e (patch) | |
tree | d7e83d8ee7a465a1fad978d9cfdecb15e56c223e /lib/wx/src/gen/wxCursor.erl | |
parent | ad6e421879217ee76d3c7267bcd8234ec33153a1 (diff) | |
download | otp-204d0bdc0acaf8017372a3b93f54bb846b6be58e.tar.gz otp-204d0bdc0acaf8017372a3b93f54bb846b6be58e.tar.bz2 otp-204d0bdc0acaf8017372a3b93f54bb846b6be58e.zip |
wx: Fix int to enum
In 2.9 several functions takes enum's instead of int as arguments,
remove dirty -fpermissive fix and fix it correctly instead.
Diffstat (limited to 'lib/wx/src/gen/wxCursor.erl')
-rw-r--r-- | lib/wx/src/gen/wxCursor.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/wx/src/gen/wxCursor.erl b/lib/wx/src/gen/wxCursor.erl index b9e3a8e3f7..423e444f2f 100644 --- a/lib/wx/src/gen/wxCursor.erl +++ b/lib/wx/src/gen/wxCursor.erl @@ -35,6 +35,8 @@ saveFile/4,setDepth/2,setHeight/2,setMask/2,setPalette/2,setWidth/2]). -export_type([wxCursor/0]). +-deprecated([new/3,new/4]). + %% @hidden parent_class(wxBitmap) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). |