]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
macro naming changes, delegate api calls getting property info, object info exposed...
[wxWidgets.git] / src / common / appcmn.cpp
index 926104d482de28624fcfaa97db268dfee8601645..5c19be543e65f930cc18374b375d8a608ec45893 100644 (file)
@@ -323,7 +323,6 @@ bool wxAppBase::ProcessIdle()
     wxIdleEvent event;
     bool needMore = FALSE;
     wxWindowList::compatibility_iterator node = wxTopLevelWindows.GetFirst();
-    node = wxTopLevelWindows.GetFirst();
     while (node)
     {
         wxWindow* win = node->GetData();
@@ -503,6 +502,14 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object)
     #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
@@ -513,7 +520,7 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
     // 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,
@@ -528,7 +535,7 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
         _GSocket_Disable_Events
     };
     return &table;
-#endif
+#endif // __WXMAC__/!__WXMAC__
 }
 
 #endif