X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c978d36124197b5612a2cabefed7591ad0eea6e2..9b1bd0c6e7ed45535fabc574f69b7670fc28191e:/include/wx/x11/reparent.h diff --git a/include/wx/x11/reparent.h b/include/wx/x11/reparent.h index 8170084a19..37f358edfa 100644 --- a/include/wx/x11/reparent.h +++ b/include/wx/x11/reparent.h @@ -63,8 +63,8 @@ class wxAdoptedWindow: public wxWindow wxAdoptedWindow(WXWindow window); ~wxAdoptedWindow(); - void SetHandle(WXWindow window) { m_mainWidget = window; } - WXWindow GetHandle() const { return GetXWindow(); } + void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; } + WXWindow GetHandle() const { return GetMainWindow(); } }; #endif