git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50866
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
if (flag == m_use_events)
return;
{
if (flag == m_use_events)
return;
// it is not safe to attach or detach i/o descriptor in child thread
wxASSERT_MSG( wxThread::IsMain(), "should be called in main thread only" );
// it is not safe to attach or detach i/o descriptor in child thread
wxASSERT_MSG( wxThread::IsMain(), "should be called in main thread only" );
m_use_events = flag;
EnableEvents(flag);
}
m_use_events = flag;
EnableEvents(flag);
}