aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxGridCellRenderer.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-05-24 09:49:32 +0200
committerDan Gudmundsson <[email protected]>2016-05-24 16:43:54 +0200
commit8e865e3b99cf70765bceafd84e9c38914e7306c2 (patch)
treeea70c96935ccc57fba1a6a4ef8d019c76ce7b033 /lib/wx/src/gen/wxGridCellRenderer.erl
parent83b3007c6776be6e35ad8909af1a9d0707baa4d9 (diff)
downloadotp-8e865e3b99cf70765bceafd84e9c38914e7306c2.tar.gz
otp-8e865e3b99cf70765bceafd84e9c38914e7306c2.tar.bz2
otp-8e865e3b99cf70765bceafd84e9c38914e7306c2.zip
wx: Quote atoms in types and specs
Follow the convention and make atom more visibile in types and specs
Diffstat (limited to 'lib/wx/src/gen/wxGridCellRenderer.erl')
-rw-r--r--lib/wx/src/gen/wxGridCellRenderer.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxGridCellRenderer.erl b/lib/wx/src/gen/wxGridCellRenderer.erl
index 00f553b71a..53d43f12a4 100644
--- a/lib/wx/src/gen/wxGridCellRenderer.erl
+++ b/lib/wx/src/gen/wxGridCellRenderer.erl
@@ -36,7 +36,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
-type wxGridCellRenderer() :: wx:wx_object().
%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxgridcellrenderer.html#wxgridcellrendererdraw">external documentation</a>.
--spec draw(This, Grid, Attr, Dc, Rect, Row, Col, IsSelected) -> ok when
+-spec draw(This, Grid, Attr, Dc, Rect, Row, Col, IsSelected) -> 'ok' when
This::wxGridCellRenderer(), Grid::wxGrid:wxGrid(), Attr::wxGridCellAttr:wxGridCellAttr(), Dc::wxDC:wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, Row::integer(), Col::integer(), IsSelected::boolean().
draw(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},#wx_ref{type=AttrT,ref=AttrRef},#wx_ref{type=DcT,ref=DcRef},{RectX,RectY,RectW,RectH},Row,Col,IsSelected)
when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_integer(Row),is_integer(Col),is_boolean(IsSelected) ->