]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
Implement GetValue() and SetValue() and send an event when clicked
[wxWidgets.git] / src / motif / frame.cpp
index 4e8cedb04fd90c97ab34e05220a760b132c2513e..061c5a675b81e9176ba49c60606b83105575e629 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "frame.h"
 #endif
 
@@ -581,7 +581,7 @@ void wxFrame::OnActivate(wxActivateEvent& event)
     if (!event.GetActive())
         return;
 
-    for(wxWindowList::Node *node = GetChildren().GetFirst(); node;
+    for(wxWindowList::compatibility_iterator node = GetChildren().GetFirst(); node;
         node = node->GetNext())
     {
         // Find a child that's a subwindow, but not a dialog box.