* Created a new wxObject method: wxObject::CopyObject(wxObject&)

and wxObject::Clone() uses it.
* Added some CopyObject to events.
* Reenable the idle loop in wxEvtHandler::ProcessThreadEvent(...)
* Some correctness in wxSocket.
   Major bugs remaining:
      - it seems there is a mutex problem when it works too quickly
      - all threads aren't destroyed ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-05-07 18:34:32 +00:00
parent 096c9f9b98
commit aadbdf11bd
8 changed files with 220 additions and 65 deletions

View File

@@ -914,11 +914,6 @@ int wxApp::MainLoop()
DoMessage();
// If they are pending events, we must process them.
#if wxUSE_THREADS
ProcessPendingEvents();
#endif
}
return s_currentMsg.wParam;
@@ -1024,6 +1019,10 @@ void wxApp::OnIdle(wxIdleEvent& event)
event.RequestMore(TRUE);
}
// If they are pending events, we must process them.
#if wxUSE_THREADS
ProcessPendingEvents();
#endif
s_inOnIdle = FALSE;
}
@@ -1179,6 +1178,10 @@ bool wxYield()
if ( !wxTheApp->DoMessage() )
break;
}
// If they are pending events, we must process them.
#if wxUSE_THREADS
ProcessPendingEvents();
#endif
return TRUE;
}