X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d211a853c520116600acfb562dcb8a6b184de993..d7ab65f80ddddb3a37aa629a82fcb4f0fa8864dc:/wxPython/src/_picker.i?ds=sidebyside diff --git a/wxPython/src/_picker.i b/wxPython/src/_picker.i index 089711b0a4..78eb6632c2 100644 --- a/wxPython/src/_picker.i +++ b/wxPython/src/_picker.i @@ -16,14 +16,6 @@ //--------------------------------------------------------------------------- %newgroup -%{ -#include -#include -#include -#include -%} - - enum { wxPB_USE_TEXTCTRL, }; @@ -76,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, @@ -264,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; + }; @@ -300,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; };