1%% 2%% %CopyrightBegin% 3%% 4%% Copyright Ericsson AB 2008-2016. All Rights Reserved. 5%% 6%% Licensed under the Apache License, Version 2.0 (the "License"); 7%% you may not use this file except in compliance with the License. 8%% You may obtain a copy of the License at 9%% 10%% http://www.apache.org/licenses/LICENSE-2.0 11%% 12%% Unless required by applicable law or agreed to in writing, software 13%% distributed under the License is distributed on an "AS IS" BASIS, 14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15%% See the License for the specific language governing permissions and 16%% limitations under the License. 17%% 18%% %CopyrightEnd% 19%% This file is generated DO NOT EDIT 20 21%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxeraseevent.html">wxEraseEvent</a>. 22%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt> 23%% <dd><em>erase_background</em></dd></dl> 24%% See also the message variant {@link wxEvtHandler:wxErase(). #wxErase{}} event record type. 25%% 26%% <p>This class is derived (and can use functions) from: 27%% <br />{@link wxEvent} 28%% </p> 29%% @type wxEraseEvent(). An object reference, The representation is internal 30%% and can be changed without notice. It can't be used for comparsion 31%% stored on disc or distributed for use on other nodes. 32 33-module(wxEraseEvent). 34-include("wxe.hrl"). 35-export([getDC/1]). 36 37%% inherited exports 38-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, 39 resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). 40 41-export_type([wxEraseEvent/0]). 42%% @hidden 43parent_class(wxEvent) -> true; 44parent_class(_Class) -> erlang:error({badtype, ?MODULE}). 45 46-type wxEraseEvent() :: wx:wx_object(). 47%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxeraseevent.html#wxeraseeventgetdc">external documentation</a>. 48-spec getDC(This) -> wxDC:wxDC() when 49 This::wxEraseEvent(). 50getDC(#wx_ref{type=ThisT,ref=ThisRef}) -> 51 ?CLASS(ThisT,wxEraseEvent), 52 wxe_util:call(?wxEraseEvent_GetDC, 53 <<ThisRef:32/?UI>>). 54 55 %% From wxEvent 56%% @hidden 57stopPropagation(This) -> wxEvent:stopPropagation(This). 58%% @hidden 59skip(This, Options) -> wxEvent:skip(This, Options). 60%% @hidden 61skip(This) -> wxEvent:skip(This). 62%% @hidden 63shouldPropagate(This) -> wxEvent:shouldPropagate(This). 64%% @hidden 65resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel). 66%% @hidden 67isCommandEvent(This) -> wxEvent:isCommandEvent(This). 68%% @hidden 69getTimestamp(This) -> wxEvent:getTimestamp(This). 70%% @hidden 71getSkipped(This) -> wxEvent:getSkipped(This). 72%% @hidden 73getId(This) -> wxEvent:getId(This). 74