HP-UX compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ad2522ad3f
commit
92da8bde1b
@ -158,8 +158,8 @@ public:
|
|||||||
// ctor starts the stop watch
|
// ctor starts the stop watch
|
||||||
wxStopWatch() { Start(); }
|
wxStopWatch() { Start(); }
|
||||||
void Start(long t = 0);
|
void Start(long t = 0);
|
||||||
inline void Pause() { m_pause = GetElapsedTime(); }
|
void Pause() { m_pause = GetElapsedTime(); }
|
||||||
inline void Resume() { Start(m_pause); }
|
void Resume() { Start(m_pause); }
|
||||||
|
|
||||||
// get elapsed time since the last Start() or Pause() in milliseconds
|
// get elapsed time since the last Start() or Pause() in milliseconds
|
||||||
long Time() const;
|
long Time() const;
|
||||||
|
@ -113,7 +113,7 @@ void wxStopWatch::Start(long t)
|
|||||||
m_pause = 0;
|
m_pause = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline long wxStopWatch::GetElapsedTime() const
|
long wxStopWatch::GetElapsedTime() const
|
||||||
{
|
{
|
||||||
return (wxGetLocalTimeMillis() - m_t0).GetLo();
|
return (wxGetLocalTimeMillis() - m_t0).GetLo();
|
||||||
}
|
}
|
||||||
|
@ -693,7 +693,7 @@ void wxFileCtrl::OnListDeleteAllItems( wxListEvent &WXUNUSED(event) )
|
|||||||
GetItem( item );
|
GetItem( item );
|
||||||
wxFileData *fd = (wxFileData*)item.m_data;
|
wxFileData *fd = (wxFileData*)item.m_data;
|
||||||
delete fd;
|
delete fd;
|
||||||
item.m_data = (void*) NULL;
|
item.m_data = 0;
|
||||||
SetItem( item );
|
SetItem( item );
|
||||||
item.m_itemId = GetNextItem( item.m_itemId, wxLIST_NEXT_ALL );
|
item.m_itemId = GetNextItem( item.m_itemId, wxLIST_NEXT_ALL );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user