diff options
author | Dan Gudmundsson <[email protected]> | 2016-05-30 14:16:43 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-05-30 14:16:43 +0200 |
commit | bf46ff0561ee64cc99f30da30a52ca5268af134e (patch) | |
tree | 136b0bc5fc8da156f86d27688f2b55815a6d25c5 /lib/wx/src/gen/wxBitmapDataObject.erl | |
parent | 5e316eca0302c1664b9076284f38cd9b98a88dea (diff) | |
parent | 8e865e3b99cf70765bceafd84e9c38914e7306c2 (diff) | |
download | otp-bf46ff0561ee64cc99f30da30a52ca5268af134e.tar.gz otp-bf46ff0561ee64cc99f30da30a52ca5268af134e.tar.bz2 otp-bf46ff0561ee64cc99f30da30a52ca5268af134e.zip |
Merge branch 'dgud/wx/quote-atoms-in-specs'
* dgud/wx/quote-atoms-in-specs:
wx: Quote atoms in types and specs
Diffstat (limited to 'lib/wx/src/gen/wxBitmapDataObject.erl')
-rw-r--r-- | lib/wx/src/gen/wxBitmapDataObject.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wx/src/gen/wxBitmapDataObject.erl b/lib/wx/src/gen/wxBitmapDataObject.erl index 2c90498880..58094a5910 100644 --- a/lib/wx/src/gen/wxBitmapDataObject.erl +++ b/lib/wx/src/gen/wxBitmapDataObject.erl @@ -51,7 +51,7 @@ new() -> %% Bitmap::wxBitmap:wxBitmap().<br /> %% -spec new([Option]) -> wxBitmapDataObject() when - Option :: {bitmap, wxBitmap:wxBitmap()}; + Option :: {'bitmap', wxBitmap:wxBitmap()}; (Bitmap) -> wxBitmapDataObject() when Bitmap::wxBitmap:wxBitmap(). new(Options) @@ -75,7 +75,7 @@ getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) -> <<ThisRef:32/?UI>>). %% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxbitmapdataobject.html#wxbitmapdataobjectsetbitmap">external documentation</a>. --spec setBitmap(This, Bitmap) -> ok when +-spec setBitmap(This, Bitmap) -> 'ok' when This::wxBitmapDataObject(), Bitmap::wxBitmap:wxBitmap(). setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(ThisT,wxBitmapDataObject), @@ -84,7 +84,7 @@ setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) - <<ThisRef:32/?UI,BitmapRef:32/?UI>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBitmapDataObject()) -> ok. +-spec destroy(This::wxBitmapDataObject()) -> 'ok'. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmapDataObject), wxe_util:destroy(?wxBitmapDataObject_destroy,Obj), |