X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0e2ede057148772415ee526344f1a1597db3ae7..90fb367e86c1e82367f8d4781b8c1bdc31a26593:/wxPython/src/_window.i diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 628e416945..2f0ebf8636 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -862,20 +862,6 @@ it.", ""); - - DocDeclStr( - virtual wxWindow *, GetDefaultItem() const, - "Get the default child of this parent, i.e. the one which is activated -by pressing such as the OK button on a wx.Dialog.", ""); - - DocDeclStr( - virtual wxWindow *, SetDefaultItem(wxWindow * child), - "Set this child as default, return the old default.", ""); - - DocDeclStr( - virtual void , SetTmpDefaultItem(wxWindow * win), - "Set this child as temporary default", ""); - DocDeclAStr( virtual bool , Navigate(int flags = wxNavigationKeyEvent::IsForward), @@ -1207,7 +1193,13 @@ Note that wxWindows maintains the stack of windows having captured the mouse and when the mouse is released the capture returns to the window which had had captured it previously and it is only really released if there were no previous window. In particular, this means that you must -release the mouse as many times as you capture it.", ""); +release the mouse as many times as you capture it, unless the window +receives the `wx.MouseCaptureLostEvent` event. + +Any application which captures the mouse in the beginning of some +operation *must* handle `wx.MouseCaptureLostEvent` and cancel this +operation when it receives the event. The event handler must not +recapture mouse.", ""); DocDeclStr( void , ReleaseMouse(), @@ -1621,7 +1613,10 @@ mouse cursor will be used.", ""); bool PopupMenu(wxMenu *menu, const wxPoint& pos=wxDefaultPosition); - + DocDeclStr( + virtual bool , HasMultiplePages() const, + "", ""); + %extend { DocStr(GetHandle, @@ -1776,6 +1771,16 @@ one.", ""); DocDeclStr( + virtual wxString , GetHelpTextAtPoint(const wxPoint& pt, + wxHelpEvent::Origin origin) const, + "Get the help string associated with the given position in this window. + +Notice that pt may be invalid if event origin is keyboard or unknown +and this method should return the global window help text then +", ""); + + + DocDeclStr( wxString , GetHelpText() const, "Gets the help text to be used as context-sensitive help for this window. Note that the text is actually stored by the current @@ -1995,7 +2000,7 @@ wxControl where it returns true.", ""); %pythoncode { def SendSizeEvent(self): - self.GetEventhandler().ProcessEvent(wx.SizeEvent((-1,-1))) + self.GetEventHandler().ProcessEvent(wx.SizeEvent((-1,-1))) } };