From 87c622ddc07fab8af89ca0563f5c016d92418b93 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 20 May 2014 23:13:55 +0200 Subject: [PATCH] [DEV] update windows shared pointer in context --- sources/ewol/context/Context.cpp | 2 +- sources/ewol/context/Context.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/ewol/context/Context.cpp b/sources/ewol/context/Context.cpp index 8823ba73..bbe81daf 100644 --- a/sources/ewol/context/Context.cpp +++ b/sources/ewol/context/Context.cpp @@ -663,7 +663,7 @@ void ewol::Context::OS_OpenGlContextDestroy() { m_resourceManager.contextHasBeenDestroyed(); } -void ewol::Context::setWindows(ewol::widget::Windows* _windows) { +void ewol::Context::setWindows(const ewol::object::Shared& _windows) { // remove current focus : m_widgetManager.focusSetDefault(nullptr); m_widgetManager.focusRelease(); diff --git a/sources/ewol/context/Context.h b/sources/ewol/context/Context.h index 7a94d43d..83ed6428 100644 --- a/sources/ewol/context/Context.h +++ b/sources/ewol/context/Context.h @@ -164,7 +164,7 @@ namespace ewol { * @brief set the current windows to display : * @param _windows Windows that might be displayed */ - void setWindows(ewol::widget::Windows* _windows); + void setWindows(const ewol::object::Shared& _windows); /** * @brief get the current windows that is displayed * @return the current handle on the windows (can be null)