diff options
author | Dan Gudmundsson <[email protected]> | 2014-02-06 16:06:48 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-02-13 16:42:36 +0100 |
commit | 4fbfbb1c617925d5edd1c2d5751675c0d6b88004 (patch) | |
tree | fd5cb5fcf550e209039a28af0d588f295c5f83d3 /lib/wx/src/gen/wxPaintDC.erl | |
parent | ce28e4940a6d313db19d996ff3cece21d7372a7b (diff) | |
download | otp-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/wxPaintDC.erl')
-rw-r--r-- | lib/wx/src/gen/wxPaintDC.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxPaintDC.erl b/lib/wx/src/gen/wxPaintDC.erl index 3c9b321496..0ff27a8c7a 100644 --- a/lib/wx/src/gen/wxPaintDC.erl +++ b/lib/wx/src/gen/wxPaintDC.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 @@ -56,6 +56,8 @@ -export_type([wxPaintDC/0]). -deprecated([new/0]). +-compile([{nowarn_deprecated_function, {wxDC,computeScaleAndOrigin,1}}]). + %% @hidden parent_class(wxWindowDC) -> true; parent_class(wxDC) -> true; |