X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5bc23fbcf4cf14be634c513c6601665d155801d..6caa0f5cd18fe9fb39c207d5f31fa5633479a822:/wxPython/src/_window.i diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index dae385ad55..5c83b625f0 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.", ""); @@ -812,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), @@ -2078,7 +2084,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`"); @@ -2225,6 +2230,8 @@ wxWindow* wxFindWindowByLabel( const wxString& label, #endif %} +MustHaveApp(wxWindow_FromHWND); + %inline %{ wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) { #ifdef __WXMSW__