//---------------------------------------------------------------------------
%newgroup
-%{
-#include <wx/pickerbase.h>
-#include <wx/clrpicker.h>
-#include <wx/filepicker.h>
-#include <wx/fontpicker.h>
-%}
-
-
enum {
wxPB_USE_TEXTCTRL,
};
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,
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;
+
};
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;
};