From 4fbfbb1c617925d5edd1c2d5751675c0d6b88004 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 6 Feb 2014 16:06:48 +0100 Subject: wx: Do not warn for our own deprecated functions --- lib/wx/src/gen/wxMemoryDC.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/wx/src/gen/wxMemoryDC.erl') diff --git a/lib/wx/src/gen/wxMemoryDC.erl b/lib/wx/src/gen/wxMemoryDC.erl index c123f0e35d..8de412bdc7 100644 --- a/lib/wx/src/gen/wxMemoryDC.erl +++ b/lib/wx/src/gen/wxMemoryDC.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([wxMemoryDC/0]). +-compile([{nowarn_deprecated_function, {wxDC,computeScaleAndOrigin,1}}]). + %% @hidden parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -- cgit v1.2.3