1. wxNcPaintEvent for wxMSW

2. wxTextCtrl (single line) cursor movement/basic editing


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-09-17 04:03:07 +00:00
parent 8c1e69867c
commit c7a0b9e59e
17 changed files with 527 additions and 95 deletions

View File

@@ -97,6 +97,12 @@ public:
int indexAccel = -1,
wxRect *rectBounds = NULL) = 0;
// draw a line of the text ctrl
virtual void DrawTextLine(wxDC& dc,
const wxString& text,
const wxRect &rect,
int flags = 0) = 0;
// draw the border and optionally return the rectangle containing the
// region inside the border
virtual void DrawBorder(wxDC& dc,
@@ -291,6 +297,11 @@ public:
wxRect *rectBounds = NULL)
{ m_renderer->DrawButtonLabel(dc, label, image, rect,
flags, align, indexAccel, rectBounds); }
virtual void DrawTextLine(wxDC& dc,
const wxString& text,
const wxRect &rect,
int flags = 0)
{ m_renderer->DrawTextLine(dc, text, rect, flags); }
virtual void DrawBorder(wxDC& dc,
wxBorder border,
const wxRect& rect,
@@ -412,6 +423,7 @@ public:
// operations
void DrawLabel(const wxBitmap& bitmap = wxNullBitmap,
wxCoord marginX = 0, wxCoord marginY = 0);
void DrawTextLine(const wxString& text);
void DrawItems(const wxListBox *listbox,
size_t itemFirst, size_t itemLast);
void DrawCheckItems(const wxCheckListBox *listbox,