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) , 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()