From 6ae91cabd24afd562d677aa0eaded6d5b27b0d6d Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 10 Nov 2009 22:27:07 +0000 Subject: [PATCH] set_parent_window() implicitly sets window to NULL --- panda/src/display/windowProperties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/display/windowProperties.h b/panda/src/display/windowProperties.h index a25463bcec..a7098cb1b8 100644 --- a/panda/src/display/windowProperties.h +++ b/panda/src/display/windowProperties.h @@ -136,7 +136,7 @@ PUBLISHED: INLINE void clear_z_order(); void set_parent_window(size_t parent); - INLINE void set_parent_window(WindowHandle *parent_window); + INLINE void set_parent_window(WindowHandle *parent_window = NULL); INLINE WindowHandle *get_parent_window() const; INLINE bool has_parent_window() const; INLINE void clear_parent_window();