]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
remove the line for image.h, restore a line commented out by mistake
[wxWidgets.git] / src / gtk / app.cpp
index 631a12eff8d5308bb38e787e03e4fa7393573b95..630733a3aecb2970f6dcd754556611c1ec0787a1 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Robert Roebling
 // Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
@@ -21,6 +21,7 @@
 #include "wx/settings.h"
 #include "wx/resource.h"
 #include "wx/module.h"
+#include "wx/image.h"
 
 #include "unistd.h"
 
@@ -212,8 +213,8 @@ bool wxApp::SendIdleEvents(void)
     wxNode* node = wxTopLevelWindows.First();
     while (node)
     {
-       wxWindow* win = (wxWindow*) node->Data();
-       if (SendIdleEvents(win))
+  wxWindow* win = (wxWindow*) node->Data();
+  if (SendIdleEvents(win))
             needMore = TRUE;
         node = node->Next();
     }
@@ -224,22 +225,22 @@ bool wxApp::SendIdleEvents( wxWindow* win )
 {
     bool needMore = FALSE;
 
-       wxIdleEvent event;
-       event.SetEventObject(win);
-       win->ProcessEvent(event);
+    wxIdleEvent event;
+    event.SetEventObject(win);
+    win->ProcessEvent(event);
 
     if (event.MoreRequested())
         needMore = TRUE;
 
-       wxNode* node = win->GetChildren()->First();
-       while (node)
-       {
-               wxWindow* win = (wxWindow*) node->Data();
-               if (SendIdleEvents(win))
+    wxNode* node = win->GetChildren().First();
+    while (node)
+    {
+        wxWindow* win = (wxWindow*) node->Data();
+        if (SendIdleEvents(win))
             needMore = TRUE;
 
-               node = node->Next();
-       }
+        node = node->Next();
+    }
     return needMore ;
 }