mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix error: 'NXWidgets::CTextBox::insertText' hides overloaded virtual functio
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e1cc1199bb
commit
a95d34c346
2 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ void CLabel::appendText(const CNxString &text)
|
|||
* @param index Index at which to insert the text.
|
||||
*/
|
||||
|
||||
void CLabel::insertText(const CNxString &text, const int index)
|
||||
void CLabel::insertText(const CNxString &text, const unsigned int index)
|
||||
{
|
||||
m_text.insert(text, index);
|
||||
onTextChange();
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ namespace NXWidgets
|
|||
* @param index Index at which to insert the text.
|
||||
*/
|
||||
|
||||
virtual void insertText(const CNxString &text, const int index);
|
||||
virtual void insertText(const CNxString &text, const unsigned int index);
|
||||
|
||||
/**
|
||||
* Control the highlight state.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue