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:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user