Various things related to wxFileDialog and attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2575,6 +2575,29 @@ wxListItem::wxListItem()
|
||||
m_attr = NULL;
|
||||
}
|
||||
|
||||
void wxListItem::Clear()
|
||||
{
|
||||
m_mask = 0;
|
||||
m_itemId = 0;
|
||||
m_col = 0;
|
||||
m_state = 0;
|
||||
m_stateMask = 0;
|
||||
m_image = 0;
|
||||
m_data = 0;
|
||||
m_format = wxLIST_FORMAT_CENTRE;
|
||||
m_width = 0;
|
||||
m_text = wxEmptyString;
|
||||
|
||||
if (m_attr) delete m_attr;
|
||||
m_attr = NULL;
|
||||
}
|
||||
|
||||
void wxListItem::ClearAttributes()
|
||||
{
|
||||
if (m_attr) delete m_attr;
|
||||
m_attr = NULL;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------------------
|
||||
// wxListEvent
|
||||
// -------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user