]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
Implement GetValue() and SetValue() and send an event when clicked
[wxWidgets.git] / src / common / appcmn.cpp
index 37da88bccf46ceec899f57f2bfd95a9ce028f80b..751e359b7b2b4deb9f505d63acecd5d8b9be32f0 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,13 +502,21 @@ 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
 
 GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
 {
-#ifdef __MAC__
+#ifdef __WXMAC__
     // NB: wxMac does not have any GUI-specific functions in gsocket.c and
     //     so it doesn't need this table at all
     return NULL;