]> git.saurik.com Git - wxWidgets.git/commitdiff
Now set the client and main windows in wxAdoptedWindow::SetHandle
authorJulian Smart <julian@anthemion.co.uk>
Tue, 2 Apr 2002 12:41:28 +0000 (12:41 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 2 Apr 2002 12:41:28 +0000 (12:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/x11/reparent.h

index 815024d40bdf4e6cebf6f0040b5eaf4094310d75..37f358edfa5b5f335e49900e34a9cdbdbef3f219 100644 (file)
@@ -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(); }
 };