/////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/wince/textctrlce.h
-// Purpose: wxTextCtrl class - Smartphone implementation
+// Purpose: wxTextCtrl implementation for smart phones driven by WinCE
// Author: Wlodzimierz ABX Skiba
// Modified by:
// Created: 30.08.2004
#ifndef _WX_TEXTCTRLCE_H_
#define _WX_TEXTCTRLCE_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "textctrlce.h"
-#endif
-
#include "wx/dynarray.h"
class WXDLLEXPORT wxTextCtrl;
Create(parent, id, value, pos, size, style, validator, name);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
virtual void SetInsertionPoint(long pos);
virtual void SetInsertionPointEnd();
virtual long GetInsertionPoint() const;
- virtual long GetLastPosition() const;
+ virtual wxTextPos GetLastPosition() const;
virtual void SetSelection(long from, long to);
virtual void SetEditable(bool editable);
virtual void Command(wxCommandEvent& event);
virtual bool MSWCommand(WXUINT param, WXWORD id);
- virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
- WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
virtual void AdoptAttributesFromHWND();