bug fix for disable auto poll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -346,10 +346,12 @@ wxDialUpManagerImpl::EnableAutoCheckOnlineStatus(size_t nSeconds)
|
|||||||
void
|
void
|
||||||
wxDialUpManagerImpl::DisableAutoCheckOnlineStatus()
|
wxDialUpManagerImpl::DisableAutoCheckOnlineStatus()
|
||||||
{
|
{
|
||||||
wxASSERT(m_timer != NULL);
|
if(m_timer != NULL)
|
||||||
m_timer->Stop();
|
{
|
||||||
delete m_timer;
|
m_timer->Stop();
|
||||||
m_timer = NULL;
|
delete m_timer;
|
||||||
|
m_timer = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user