// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "evtloop.h"
#endif
}
~wxSocketTable()
{
- DeleteContents(TRUE);
+ WX_CLEAR_HASH_TABLE(*this)
}
wxSocketTableEntry* FindEntry(int fd);
void wxSocketTable::FillSets(fd_set* readset, fd_set* writeset, int* highest)
{
BeginFind();
- wxNode* node = Next();
+ wxHashTable::compatibility_iterator node = Next();
while (node)
{
wxSocketTableEntry* entry = (wxSocketTableEntry*) node->GetData();
void wxSocketTable::ProcessEvents(fd_set* readset, fd_set* writeset)
{
BeginFind();
- wxNode* node = Next();
+ wxHashTable::compatibility_iterator node = Next();
while (node)
{
wxSocketTableEntry* entry = (wxSocketTableEntry*) node->GetData();
bool wxEventLoopImpl::SendIdleEvent()
{
- wxIdleEvent event;
- event.SetEventObject(wxTheApp);
-
- return wxTheApp->ProcessEvent(event) && event.MoreRequested();
+ return wxTheApp->ProcessIdle();
}
// ============================================================================