[DEV] update windows shared pointer in context

This commit is contained in:
Edouard DUPIN 2014-05-20 23:13:55 +02:00
parent f72b15664d
commit 87c622ddc0
2 changed files with 2 additions and 2 deletions

View File

@ -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<ewol::widget::Windows>& _windows) {
// remove current focus :
m_widgetManager.focusSetDefault(nullptr);
m_widgetManager.focusRelease();

View File

@ -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<ewol::widget::Windows>& _windows);
/**
* @brief get the current windows that is displayed
* @return the current handle on the windows (can be null)