/////////////////////////////////////////////////////////////////////////////
-// Name: textctrl.h
+// Name: wx/os2/textctrl.h
// Purpose: wxTextCtrl class
// Author: David Webster
// Modified by:
typedef int (wxCALLBACK *wxTreeCtrlCompare)(long lItem1, long lItem2, long lSortData);
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase
{
public:
wxTextCtrl();
// ----------------------------------
//
virtual wxString GetValue(void) const;
- virtual void SetValue(const wxString& value) { DoSetValue(value, SetValue_SendEvent); }
-
- virtual void ChangeValue(const wxString &value) { DoSetValue(value); }
virtual int GetLineLength(long nLineNo) const;
virtual wxString GetLineText(long nLineNo) const;
,WXDWORD* dwExstyle
) const;
- void DoSetValue(const wxString &value, int flags = 0);
+ virtual void DoSetValue(const wxString &value, int flags = 0);
bool m_bSkipUpdate;
private:
+ // implement wxTextEntry pure virtual: it implements all the operations for
+ // the simple EDIT controls
+ virtual WXHWND GetEditHWND() const { return m_hWnd; }
+
bool m_bIsMLE;
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxTextCtrl)