X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab6b6b15e0790bf3fd9e5b58da7077ac5592d8d3..2fda2145700445519a0ce539b04dc72bae180124:/include/wx/x11/reparent.h 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(); } };