From a46c8d05392cf07c4897f9856e35bcd3f2382b25 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 10 Nov 2018 16:36:23 +0800 Subject: Add parent window constructor. --- src/ui/window.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/window.hpp') diff --git a/src/ui/window.hpp b/src/ui/window.hpp index d3e86f2d..82cbfc4f 100644 --- a/src/ui/window.hpp +++ b/src/ui/window.hpp @@ -90,6 +90,7 @@ namespace cru::ui static constexpr auto control_type = L"Window"; Window(); + explicit Window(Window* parent); Window(const Window& other) = delete; Window(Window&& other) = delete; Window& operator=(const Window& other) = delete; -- cgit v1.2.3