wxIdleEvent event;
bool needMore = FALSE;
wxWindowList::compatibility_iterator node = wxTopLevelWindows.GetFirst();
- node = wxTopLevelWindows.GetFirst();
while (node)
{
wxWindow* win = node->GetData();
#include "wx/unix/gsockunx.h"
#elif defined(__WINDOWS__)
#include "wx/msw/gsockmsw.h"
+#elif defined(__WXMAC__)
+ #include <MacHeaders.c>
+ #define OTUNIXERRORS 1
+ #include <OpenTransport.h>
+ #include <OpenTransportProviders.h>
+ #include <OpenTptInternet.h>
+
+ #include "wx/mac/gsockmac.h"
#else
#error "Must include correct GSocket header here"
#endif
// NB: wxMac does not have any GUI-specific functions in gsocket.c and
// so it doesn't need this table at all
return NULL;
-#else
+#else // !__WXMAC__
static GSocketGUIFunctionsTable table =
{
_GSocket_GUI_Init,
_GSocket_Disable_Events
};
return &table;
-#endif
+#endif // __WXMAC__/!__WXMAC__
}
#endif