diff options
Diffstat (limited to 'src/ui/controls/Window.cpp')
-rw-r--r-- | src/ui/controls/Window.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/ui/controls/Window.cpp b/src/ui/controls/Window.cpp index ba66f42e..00fab8e9 100644 --- a/src/ui/controls/Window.cpp +++ b/src/ui/controls/Window.cpp @@ -12,13 +12,8 @@ Window* Window::Create(Control* attached_control) { return new Window(attached_control); } -Window::Window(Control* attached_control) : RootControl(attached_control) {} +Window::Window(Control* attached_control) + : RootControl(attached_control, host::CreateWindowParams{}) {} Window::~Window() {} - -gsl::not_null<platform::gui::INativeWindow*> Window::CreateNativeWindow( - gsl::not_null<host::WindowHost*> host, - platform::gui::INativeWindow* parent) { - return host->CreateNativeWindow({parent}); -} } // namespace cru::ui::controls |