1. better kbd interface to wxTextCtrl (selection...)

2. mouse input handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-09-18 19:07:24 +00:00
parent c7a0b9e59e
commit 634b9eb4e4
10 changed files with 347 additions and 43 deletions

View File

@@ -630,10 +630,12 @@ void wxControlRenderer::DoDrawItems(const wxListBox *lbox,
}
}
void wxControlRenderer::DrawTextLine(const wxString& text)
void wxControlRenderer::DrawTextLine(const wxString& text,
int selStart, int selEnd)
{
m_dc.SetFont(m_window->GetFont());
m_dc.SetTextForeground(m_window->GetForegroundColour());
m_renderer->DrawTextLine(m_dc, text, m_rect, m_window->GetStateFlags());
m_renderer->DrawTextLine(m_dc, text, m_rect, selStart, selEnd,
m_window->GetStateFlags());
}