[DEV] update windows shared pointer in context
This commit is contained in:
parent
f72b15664d
commit
87c622ddc0
@ -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();
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user