From b8fd6d078c7ee591f9909f6fb25c94e893efaf67 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 6 Apr 2004 19:10:43 +0000 Subject: [PATCH] Somehow the Validate(), TransferDataToWindow(), TransferDataFromWindow(), and InitDialog() methods got lost. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_window.i | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 4898f87e96..78f537ae56 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -939,6 +939,37 @@ type."); virtual wxValidator *, GetValidator(), "Returns a pointer to the current validator for the window, or None if there is none."); + + + DocDeclStr( + virtual bool , Validate(), + "Validates the current values of the child controls using their +validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY +extra style flag set, the method will also call Validate() of all +child windows. Returns false if any of the validations failed."); + + + DocDeclStr( + virtual bool , TransferDataToWindow(), + "Transfers values to child controls from data areas specified by +their validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY +extra style flag set, the method will also call +TransferDataToWindow() of all child windows."); + + DocDeclStr( + virtual bool , TransferDataFromWindow(), + "Transfers values from child controls to data areas specified by +their validators. Returns false if a transfer failed. If the +window has wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the +method will also call TransferDataFromWindow() of all child +windows."); + + + DocDeclStr( + virtual void , InitDialog(), + "Sends an EVT_INIT_DIALOG event, whose handler usually transfers +data to the dialog via validators."); + -- 2.45.2