Add the missing access method FListBoxItem::getData()
This commit is contained in:
parent
7c11ba1707
commit
784afc5a07
|
@ -56,8 +56,10 @@ class FListBoxItem
|
||||||
|
|
||||||
// Accessors
|
// Accessors
|
||||||
virtual FString getText() const;
|
virtual FString getText() const;
|
||||||
|
virtual FWidget::data_ptr getData() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
// Mutators
|
||||||
void setText (FString&);
|
void setText (FString&);
|
||||||
void setText (const std::string&);
|
void setText (const std::string&);
|
||||||
void setText (const char*);
|
void setText (const char*);
|
||||||
|
@ -81,6 +83,10 @@ class FListBoxItem
|
||||||
inline FString FListBoxItem::getText() const
|
inline FString FListBoxItem::getText() const
|
||||||
{ return text; }
|
{ return text; }
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------
|
||||||
|
inline FWidget::data_ptr FListBoxItem::getData() const
|
||||||
|
{ return data_pointer; }
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
inline void FListBoxItem::setText (FString& txt)
|
inline void FListBoxItem::setText (FString& txt)
|
||||||
{ text = txt; }
|
{ text = txt; }
|
||||||
|
|
|
@ -1069,21 +1069,21 @@ void FVTerm::updateVTerm()
|
||||||
}
|
}
|
||||||
else if ( ! win->preprocessing_call.empty() )
|
else if ( ! win->preprocessing_call.empty() )
|
||||||
{
|
{
|
||||||
FPreprocessing::const_iterator iter, end;
|
FPreprocessing::const_iterator iter2, end2;
|
||||||
iter = win->preprocessing_call.begin();
|
iter2 = win->preprocessing_call.begin();
|
||||||
end = win->preprocessing_call.end();
|
end2 = win->preprocessing_call.end();
|
||||||
|
|
||||||
while ( iter != end )
|
while ( iter2 != end2 )
|
||||||
{
|
{
|
||||||
if ( iter->instance->child_print_area
|
if ( iter2->instance->child_print_area
|
||||||
&& iter->instance->child_print_area->has_changes )
|
&& iter2->instance->child_print_area->has_changes )
|
||||||
{
|
{
|
||||||
updateVTerm(win);
|
updateVTerm(win);
|
||||||
iter->instance->child_print_area->has_changes = false;
|
iter2->instance->child_print_area->has_changes = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
++iter;
|
++iter2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue