// Created: 10/17/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_TEXTCTRL_H_
{
Create(pParent, vId, rsValue, rPos, rSize, lStyle, rValidator, rsName);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create( wxWindow* pParent
,wxWindowID vId
// ----------------------------------
//
virtual wxString GetValue(void) const;
- virtual void SetValue(const wxString& rsValue);
virtual int GetLineLength(long nLineNo) const;
virtual wxString GetLineText(long nLineNo) const;
,long lTo
);
- virtual bool LoadFile(const wxString& rsFile);
+ virtual bool DoLoadFile(const wxString& rsFile, int fileType);
virtual void MarkDirty();
virtual void DiscardEdits(void);
virtual void SetInsertionPoint(long lPos);
virtual void SetInsertionPointEnd(void);
virtual long GetInsertionPoint(void) const;
- virtual long GetLastPosition(void) const;
+ virtual wxTextPos GetLastPosition(void) const;
virtual void SetSelection( long lFrom
,long lTo
virtual WXDWORD OS2GetStyle( long lStyle
,WXDWORD* dwExstyle
) const;
+
+ virtual void DoSetValue(const wxString &value, int flags = 0);
+
+ bool m_bSkipUpdate;
+
private:
bool m_bIsMLE;
DECLARE_EVENT_TABLE()