]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/toplvcmn.cpp
Implement GetValue() and SetValue() and send an event when clicked
[wxWidgets.git] / src / common / toplvcmn.cpp
index 8768de7360de4fe2f0f4de89663baaaf7637f137..dc1a79b9167607485d131bf7a440ed58a7ac392b 100644 (file)
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "toplevelbase.h"
 #endif
 
@@ -161,7 +161,7 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
     {
         // do we have _exactly_ one child?
         wxWindow *child = (wxWindow *)NULL;
-        for ( wxWindowList::Node *node = GetChildren().GetFirst();
+        for ( wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
               node;
               node = node->GetNext() )
         {