//-----------------------------------------------------------------------------
// wxTextCtrl
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// wxTextCtrl
//-----------------------------------------------------------------------------
const wxValidator& validator = wxDefaultValidator,
const wxString &name = wxTextCtrlNameStr);
const wxValidator& validator = wxDefaultValidator,
const wxString &name = wxTextCtrlNameStr);
bool Create(wxWindow *parent,
wxWindowID id,
const wxString &value = wxEmptyString,
bool Create(wxWindow *parent,
wxWindowID id,
const wxString &value = wxEmptyString,
virtual void SetInsertionPoint(long pos);
virtual void SetInsertionPointEnd();
virtual long GetInsertionPoint() const;
virtual void SetInsertionPoint(long pos);
virtual void SetInsertionPointEnd();
virtual long GetInsertionPoint() const;
virtual void SetSelection(long from, long to);
virtual void SetEditable(bool editable);
virtual void SetSelection(long from, long to);
virtual void SetEditable(bool editable);
// wxGTK-specific: called recursively by Enable,
// to give widgets an oppprtunity to correct their colours after they
// have been changed by Enable
// wxGTK-specific: called recursively by Enable,
// to give widgets an oppprtunity to correct their colours after they
// have been changed by Enable
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
// get the vertical adjustment, if any, NULL otherwise
GtkAdjustment *GetVAdj() const;
// get the vertical adjustment, if any, NULL otherwise
GtkAdjustment *GetVAdj() const;