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