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