aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 1ac931ce2..b60469488 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -308,6 +308,7 @@ protected:
WindowID id;
public:
Window() : id(0) {}
+ Window(const Window &source) : id(source.id) {}
virtual ~Window();
Window &operator=(WindowID id_) {
id = id_;