From 77d65c98a8330a00d9cad8c10177660ebc685f9c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 26 Oct 2012 18:38:30 +0200 Subject: menu: fix calculate window coordinates --- src/menu/drawable_control.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/menu/drawable_control.cpp') diff --git a/src/menu/drawable_control.cpp b/src/menu/drawable_control.cpp index 8b2246c5..74ef77a3 100644 --- a/src/menu/drawable_control.cpp +++ b/src/menu/drawable_control.cpp @@ -180,6 +180,11 @@ namespace usdx return size.get_height(); } + Container* DrawableControl::get_parent(void) const + { + return parent; + } + void DrawableControl::remove_parent(void) { if (parent) { -- cgit v1.2.3