X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a3dccf6d61c3a4b992518f810d148cee1476fb8..bb9e79c05e26cbb3cdf3799910e69cea359efef3:/wxPython/src/_window.i diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index fd0e6c0db7..c7b21a2a74 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -259,7 +259,7 @@ instead."); - %pythonAppend Destroy "args[0].thisown = 0" + %pythonPrepend Destroy "args[0].this.own(False)" DocDeclStr( virtual bool , Destroy(), "Destroys the window safely. Frames and dialogs are not destroyed @@ -1277,7 +1277,7 @@ be repainted. This is the same as Refresh but has a nicer syntax.", ""); window instead of waiting for the EVT_PAINT event to happen, (normally this would usually only happen when the flow of control returns to the event loop.) Notice that this function doesn't refresh the window and -does nothing if the window has been already repainted. Use Refresh +does nothing if the window has been already repainted. Use `Refresh` first if you want to immediately redraw the window (or some portion of it) unconditionally.", "");