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
@ -179,7 +179,7 @@ void CLabel::appendText(const CNxString &text)
|
|||||||
* @param index Index at which to insert the 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);
|
m_text.insert(text, index);
|
||||||
onTextChange();
|
onTextChange();
|
||||||
|
@ -285,7 +285,7 @@ namespace NXWidgets
|
|||||||
* @param index Index at which to insert the text.
|
* @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.
|
* Control the highlight state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user