X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/170acdc90e9f92f8b8120fa6c04acdbf45c89582..7d7e4ed073fcb6be745f936cb8f19138117ebfcc:/wxPython/src/_window.i diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 1fe38d6539..b10681fce7 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -576,7 +576,7 @@ some properties of the window change.)", ""); minimum size, giving priority to the min size components, and returns the results. ", ""); - %pythoncode { GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.') } + %pythoncode { GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, 'Use `GetEffectiveMinSize` instead.') } %pythoncode { def GetAdjustedBestSize(self): @@ -716,6 +716,11 @@ windows it is more or less independent of the screen window size.", ""); GetVirtualSizeTuple); + DocDeclStr( + virtual wxSize , GetWindowBorderSize() const, + "Return the size of the left/right and top/bottom borders.", ""); + + // TODO: using directors? // // Override these methods for windows that have a virtual size // // independent of their client size. eg. the virtual area of a @@ -807,6 +812,12 @@ method.", ""); windows are only available on X platforms.", ""); + DocDeclStr( + bool , ToggleWindowStyle(int flag), + "Turn the flag on if it had been turned off before and vice versa, +returns True if the flag is turned on by this function call.", ""); + + DocDeclStr( virtual void , SetExtraStyle(long exStyle), @@ -2063,7 +2074,7 @@ opaque.", ""); if hasattr(self, '_setOORInfo'): self._setOORInfo(self) if hasattr(self, '_setCallbackInfo'): - self._setCallbackInfo(self, self.__class__) + self._setCallbackInfo(self, pre.__class__) } %pythoncode {