X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2bc9053f89e8ba128ace4fc6cc5a88169372778..f94560fec926a67bbfcaccaccf7010c3d44464ec:/wxPython/src/_window.i diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index d1e5292ba6..450d476f26 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -457,12 +457,12 @@ window's *best size* values. Also set's the minsize for use with sizers.", ""); DocDeclStr( virtual void , Raise(), "Raises the window to the top of the window hierarchy. In current -version of wxWidgets this works both for manage and child windows.", ""); +version of wxWidgets this works both for managed and child windows.", ""); DocDeclStr( virtual void , Lower(), "Lowers the window to the bottom of the window hierarchy. In current -version of wxWidgets this works both for manage and child windows.", ""); +version of wxWidgets this works both for managed and child windows.", ""); @@ -2072,9 +2072,15 @@ opaque.", ""); self.thisown = pre.thisown pre.thisown = 0 if hasattr(self, '_setOORInfo'): - self._setOORInfo(self) + try: + self._setOORInfo(self) + except TypeError: + pass if hasattr(self, '_setCallbackInfo'): - self._setCallbackInfo(self, pre.__class__) + try: + self._setCallbackInfo(self, pre.__class__) + except TypeError: + pass } %pythoncode { @@ -2084,7 +2090,6 @@ opaque.", ""); %property(AcceleratorTable, GetAcceleratorTable, SetAcceleratorTable, doc="See `GetAcceleratorTable` and `SetAcceleratorTable`"); - %property(AdjustedBestSize, GetAdjustedBestSize, doc="See `GetAdjustedBestSize`"); %property(AutoLayout, GetAutoLayout, SetAutoLayout, doc="See `GetAutoLayout` and `SetAutoLayout`"); %property(BackgroundColour, GetBackgroundColour, SetBackgroundColour, doc="See `GetBackgroundColour` and `SetBackgroundColour`"); %property(BackgroundStyle, GetBackgroundStyle, SetBackgroundStyle, doc="See `GetBackgroundStyle` and `SetBackgroundStyle`");