Use Bind() instead of Connect()

Just another modernization, no real changes.
This commit is contained in:
Vadim Zeitlin
2019-04-25 02:48:25 +02:00
parent cfb194e55f
commit db0d288f60

View File

@@ -211,9 +211,8 @@ public:
, m_loopActivator(&m_loop)
#endif
{
Connect(wxEVT_IDLE, wxIdleEventHandler(FSWTesterBase::OnIdle));
Connect(wxEVT_FSWATCHER, wxFileSystemWatcherEventHandler(
FSWTesterBase::OnFileSystemEvent));
Bind(wxEVT_IDLE, &FSWTesterBase::OnIdle, this);
Bind(wxEVT_FSWATCHER, &FSWTesterBase::OnFileSystemEvent, this);
}
virtual ~FSWTesterBase()