Use Bind() instead of Connect()
Just another modernization, no real changes.
This commit is contained in:
@@ -211,9 +211,8 @@ public:
|
|||||||
, m_loopActivator(&m_loop)
|
, m_loopActivator(&m_loop)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
Connect(wxEVT_IDLE, wxIdleEventHandler(FSWTesterBase::OnIdle));
|
Bind(wxEVT_IDLE, &FSWTesterBase::OnIdle, this);
|
||||||
Connect(wxEVT_FSWATCHER, wxFileSystemWatcherEventHandler(
|
Bind(wxEVT_FSWATCHER, &FSWTesterBase::OnFileSystemEvent, this);
|
||||||
FSWTesterBase::OnFileSystemEvent));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~FSWTesterBase()
|
virtual ~FSWTesterBase()
|
||||||
|
Reference in New Issue
Block a user