From 702723413ed52b1f538d9c8deab8abfa3f8beb9a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 13 Sep 2004 23:20:04 +0000 Subject: [PATCH] AssociateHandle and DissociateHandle git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_window.i | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 78b15007c8..ee7a56a782 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -1572,6 +1572,20 @@ toplevel parent of the window.", ""); } } + DocStr( + AssociateHandle, + "Associate the window with a new native handle", ""); + %extend { + void AssociateHandle(long handle) { + self->AssociateHandle((WXWidget)handle); + } + } + + + DocDeclStr( + virtual void , DissociateHandle(), + "Dissociate the current native handle from the window", ""); + #ifdef __WXMSW__