fix broken text selection for FbTk::TextBox
uninitialized variables cause all kind of problems.
This commit is contained in:
parent
98313bfb91
commit
a9e17d4091
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ TextBox::TextBox(const FbWindow &parent,
|
|||
m_gc(0),
|
||||
m_cursor_pos(0),
|
||||
m_start_pos(0),
|
||||
m_end_pos(0) {
|
||||
m_end_pos(0),
|
||||
m_select_pos(-1) {
|
||||
|
||||
FbTk::EventManager::instance()->add(*this, *this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue