diff options
Diffstat (limited to 'dgl/src/Widget.cpp')
-rw-r--r-- | dgl/src/Widget.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dgl/src/Widget.cpp b/dgl/src/Widget.cpp index 7a87fd6f..4ef69b8e 100644 --- a/dgl/src/Widget.cpp +++ b/dgl/src/Widget.cpp @@ -1,6 +1,6 @@ /* * DISTRHO Plugin Framework (DPF) - * Copyright (C) 2012-2016 Filipe Coelho <falktx@falktx.com> + * Copyright (C) 2012-2019 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this @@ -189,11 +189,6 @@ Window& Widget::getParentWindow() const noexcept return pData->parent; } -const Context& Widget::getContext() const noexcept -{ - return pData->parent.getContext(); -} - bool Widget::contains(int x, int y) const noexcept { return (x >= 0 && y >= 0 && static_cast<uint>(x) < pData->size.getWidth() && static_cast<uint>(y) < pData->size.getHeight()); |