From 8e2baee50d21f475024ffb04ab25c8945551d961 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 2 Apr 2002 12:41:28 +0000 Subject: [PATCH] Now set the client and main windows in wxAdoptedWindow::SetHandle git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/x11/reparent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/x11/reparent.h b/include/wx/x11/reparent.h index 815024d40b..37f358edfa 100644 --- a/include/wx/x11/reparent.h +++ b/include/wx/x11/reparent.h @@ -63,7 +63,7 @@ class wxAdoptedWindow: public wxWindow wxAdoptedWindow(WXWindow window); ~wxAdoptedWindow(); - void SetHandle(WXWindow window) { m_mainWindow = window; } + void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; } WXWindow GetHandle() const { return GetMainWindow(); } }; -- 2.45.2