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__