]> git.saurik.com Git - wxWidgets.git/commitdiff
generate trace messages with dialup mask so that they're not shown by default
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Oct 2003 21:34:56 +0000 (21:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Oct 2003 21:34:56 +0000 (21:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/dialup.cpp

index 6520b2edf8bdb9d9a6f9f27804424920a0b724b5..cf1d7487d622df15693be26f757befa91833acd5 100644 (file)
@@ -250,21 +250,18 @@ class AutoCheckTimer : public wxTimer
 {
 public:
    AutoCheckTimer(wxDialUpManagerImpl *dupman)
-      {
-         m_dupman = dupman;
-         m_started = FALSE;
-      }
-
-   virtual bool Start( int millisecs = -1, bool WXUNUSED(one_shot) = FALSE )
-      { m_started = TRUE; return wxTimer::Start(millisecs, FALSE); }
+   {
+       m_dupman = dupman;
+   }
 
    virtual void Notify()
-      { wxLogTrace(wxT("Checking dial up network status.")); m_dupman->CheckStatus(); }
+   {
+       wxLogTrace(_T("dialup"), wxT("Checking dial up network status."));
+
+       m_dupman->CheckStatus();
+   }
 
-   virtual void Stop()
-      { if ( m_started ) wxTimer::Stop(); }
 public:
-   bool m_started;
    wxDialUpManagerImpl *m_dupman;
 };