generate trace messages with dialup mask so that they're not shown by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -252,19 +252,16 @@ public:
|
|||||||
AutoCheckTimer(wxDialUpManagerImpl *dupman)
|
AutoCheckTimer(wxDialUpManagerImpl *dupman)
|
||||||
{
|
{
|
||||||
m_dupman = 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); }
|
|
||||||
|
|
||||||
virtual void Notify()
|
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:
|
public:
|
||||||
bool m_started;
|
|
||||||
wxDialUpManagerImpl *m_dupman;
|
wxDialUpManagerImpl *m_dupman;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user