// ctor starts the stop watch
wxStopWatch() { Start(); }
void Start(long t = 0);
- inline void Pause() { m_pause = GetElapsedTime(); }
- inline void Resume() { Start(m_pause); }
+ void Pause() { m_pause = GetElapsedTime(); }
+ void Resume() { Start(m_pause); }
// get elapsed time since the last Start() or Pause() in milliseconds
long Time() const;
item.m_mask = wxLIST_MASK_DATA;
item.m_itemId = GetNextItem( -1, wxLIST_NEXT_ALL );
- while ( item.m_itemId != -1 )
+ while ( item.m_itemId != -1 )
{
GetItem( item );
wxFileData *fd = (wxFileData*)item.m_data;
delete fd;
- item.m_data = (void*) NULL;
+ item.m_data = 0;
SetItem( item );
item.m_itemId = GetNextItem( item.m_itemId, wxLIST_NEXT_ALL );
}
item.m_mask = wxLIST_MASK_TEXT;
item.m_itemId = m_list->GetNextItem( -1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED );
- while ( item.m_itemId != -1 )
+ while ( item.m_itemId != -1 )
{
m_list->GetItem( item );
paths.Add( dir + item.m_text );
item.m_mask = wxLIST_MASK_TEXT;
item.m_itemId = m_list->GetNextItem( -1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED );
- while ( item.m_itemId != -1 )
+ while ( item.m_itemId != -1 )
{
m_list->GetItem( item );
files.Add( item.m_text );