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:
parent
33f39af3b0
commit
2a36ad637f
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user