aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxClipboard.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-12-13 12:51:51 +0100
committerDan Gudmundsson <[email protected]>2013-01-09 11:44:28 +0100
commitb6d75e15b9d6400a61f5ea29fa20c1c6376a4b32 (patch)
tree791621c4f18d2a9c38554e4be8e2de3cf9cf5f13 /lib/wx/src/gen/wxClipboard.erl
parentc8b4d62cf92b3e0662adfb9e6a5d80d516413cde (diff)
downloadotp-b6d75e15b9d6400a61f5ea29fa20c1c6376a4b32.tar.gz
otp-b6d75e15b9d6400a61f5ea29fa20c1c6376a4b32.tar.bz2
otp-b6d75e15b9d6400a61f5ea29fa20c1c6376a4b32.zip
wx: Remove unnecessary casts
Diffstat (limited to 'lib/wx/src/gen/wxClipboard.erl')
-rw-r--r--lib/wx/src/gen/wxClipboard.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxClipboard.erl b/lib/wx/src/gen/wxClipboard.erl
index 8f1d59f603..c7336fcc47 100644
--- a/lib/wx/src/gen/wxClipboard.erl
+++ b/lib/wx/src/gen/wxClipboard.erl
@@ -130,8 +130,9 @@ usePrimarySelection(#wx_ref{type=ThisT,ref=ThisRef}, Options)
<<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardissupported">external documentation</a>.
+%%<br /> Format = ?wxDF_INVALID | ?wxDF_TEXT | ?wxDF_BITMAP | ?wxDF_METAFILE | ?wxDF_SYLK | ?wxDF_DIF | ?wxDF_TIFF | ?wxDF_OEMTEXT | ?wxDF_DIB | ?wxDF_PALETTE | ?wxDF_PENDATA | ?wxDF_RIFF | ?wxDF_WAVE | ?wxDF_UNICODETEXT | ?wxDF_ENHMETAFILE | ?wxDF_FILENAME | ?wxDF_LOCALE | ?wxDF_PRIVATE | ?wxDF_HTML | ?wxDF_MAX
-spec isSupported(This, Format) -> boolean() when
- This::wxClipboard(), Format::integer().
+ This::wxClipboard(), Format::wx:wx_enum().
isSupported(#wx_ref{type=ThisT,ref=ThisRef},Format)
when is_integer(Format) ->
?CLASS(ThisT,wxClipboard),