Use Bind() instead of Connect()
Just another modernization, no real changes.
This commit is contained in:
parent
cfb194e55f
commit
db0d288f60
1 changed files with 2 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue