projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf1c13
)
bug fix for disable auto poll
author
Karsten Ballüder
<ballueder@usa.net>
Mon, 25 Oct 1999 12:54:31 +0000
(12:54 +0000)
committer
Karsten Ballüder
<ballueder@usa.net>
Mon, 25 Oct 1999 12:54:31 +0000
(12:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4177
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/unix/dialup.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/unix/dialup.cpp
b/src/unix/dialup.cpp
index 3a345a7dbbaa70e826bf3d80726cdbe9c35cae00..cec1aa24d1969f8c2566422d38754205b464023c 100644
(file)
--- a/
src/unix/dialup.cpp
+++ b/
src/unix/dialup.cpp
@@
-346,10
+346,12
@@
wxDialUpManagerImpl::EnableAutoCheckOnlineStatus(size_t nSeconds)
void
wxDialUpManagerImpl::DisableAutoCheckOnlineStatus()
{
- wxASSERT(m_timer != NULL);
- m_timer->Stop();
- delete m_timer;
- m_timer = NULL;
+ if(m_timer != NULL)
+ {
+ m_timer->Stop();
+ delete m_timer;
+ m_timer = NULL;
+ }
}