X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d211a853c520116600acfb562dcb8a6b184de993..c4287548985b4a8246eb1d9b4ced2f346fc95253:/wxPython/src/_picker.i diff --git a/wxPython/src/_picker.i b/wxPython/src/_picker.i index 089711b0a4..5314d3686b 100644 --- a/wxPython/src/_picker.i +++ b/wxPython/src/_picker.i @@ -16,14 +16,6 @@ //--------------------------------------------------------------------------- %newgroup -%{ -#include -#include -#include -#include -%} - - enum { wxPB_USE_TEXTCTRL, }; @@ -77,6 +69,33 @@ The value passed to this function must be >= 1.", ""); "Returns the proportion between the text control and the picker.", ""); + DocDeclStr( + void , SetPickerCtrlProportion(int prop), + "Sets the proportion value of the picker.", ""); + + DocDeclStr( + int , GetPickerCtrlProportion() const, + "Gets the proportion value of 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, "Returns true if this class has a valid text control (i.e. if the @@ -264,6 +283,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 +325,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; };