]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/reparent.h
We surely don't need two debugging sections,
[wxWidgets.git] / include / wx / x11 / reparent.h
index 8170084a19c59f6fbd54ca09d3a251b7bd4472f9..37f358edfa5b5f335e49900e34a9cdbdbef3f219 100644 (file)
@@ -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