aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxScreenDC.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-02-06 16:06:48 +0100
committerDan Gudmundsson <[email protected]>2014-02-13 16:42:36 +0100
commit4fbfbb1c617925d5edd1c2d5751675c0d6b88004 (patch)
treefd5cb5fcf550e209039a28af0d588f295c5f83d3 /lib/wx/src/gen/wxScreenDC.erl
parentce28e4940a6d313db19d996ff3cece21d7372a7b (diff)
downloadotp-4fbfbb1c617925d5edd1c2d5751675c0d6b88004.tar.gz
otp-4fbfbb1c617925d5edd1c2d5751675c0d6b88004.tar.bz2
otp-4fbfbb1c617925d5edd1c2d5751675c0d6b88004.zip
wx: Do not warn for our own deprecated functions
Diffstat (limited to 'lib/wx/src/gen/wxScreenDC.erl')
-rw-r--r--lib/wx/src/gen/wxScreenDC.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxScreenDC.erl b/lib/wx/src/gen/wxScreenDC.erl
index 54bdc2d351..21ca4bacfc 100644
--- a/lib/wx/src/gen/wxScreenDC.erl
+++ b/lib/wx/src/gen/wxScreenDC.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2008-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2008-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -53,6 +53,8 @@
startPage/1]).
-export_type([wxScreenDC/0]).
+-compile([{nowarn_deprecated_function, {wxDC,computeScaleAndOrigin,1}}]).
+
%% @hidden
parent_class(wxDC) -> true;
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).