]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpctrl.cpp
* Move m_cocoaNSMenu out of wxCocoaNSMenu and into wxMenu and wxMenuBar
[wxWidgets.git] / src / html / helpctrl.cpp
index 1748fef73d74fc28b183dec96ab2fdabd5cf782c..1a7b41339b87214795b458c070b595dccfc7a365 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "helpctrl.h"
 #endif
 
@@ -271,7 +271,7 @@ void wxHtmlHelpController::AddGrabIfNeeded()
     
     // Check if there are any modal windows present,
     // in which case we need to add a grab.
-    for ( wxWindowList::Node * node = wxTopLevelWindows.GetFirst();
+    for ( wxWindowList::compatibility_iterator node = wxTopLevelWindows.GetFirst();
           node;
           node = node->GetNext() )
     {