From 9718662d67d84274e813b08800eb84ff886b92c0 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 27 Jun 2006 22:37:13 +0000 Subject: [PATCH] Picker control updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_picker.i | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/wxPython/src/_picker.i b/wxPython/src/_picker.i index a324df1275..78eb6632c2 100644 --- a/wxPython/src/_picker.i +++ b/wxPython/src/_picker.i @@ -68,6 +68,23 @@ The value passed to this function must be >= 1.", ""); int , GetTextCtrlProportion() const, "Returns the proportion between the text control and the picker.", ""); + DocDeclStr( + bool , IsTextCtrlGrowable() const, + "", ""); + + DocDeclStr( + void , SetTextCtrlGrowable(bool grow = true), + "", ""); + + + DocDeclStr( + bool , IsPickerCtrlGrowable() const, + "", ""); + + DocDeclStr( + void , SetPickerCtrlGrowable(bool grow = true), + "", ""); + DocDeclStr( bool , HasTextCtrl() const, @@ -256,6 +273,12 @@ public: wxString GetPath() const; void SetPath(const wxString &str); + // return true if the given path is valid for this control + bool CheckPath(const wxString& path) const; + + // Returns the filtered value currently placed in the text control (if present). + wxString GetTextCtrlValue() const; + }; @@ -292,6 +315,12 @@ public: wxString GetPath() const; void SetPath(const wxString &str); + + // return true if the given path is valid for this control + bool CheckPath(const wxString& path) const; + + // Returns the filtered value currently placed in the text control (if present). + wxString GetTextCtrlValue() const; }; -- 2.47.2