]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/frmview.cpp
fix evaluation order bug (patch 1158099)
[wxWidgets.git] / contrib / src / fl / frmview.cpp
index 67ee842b1a4560dc9d1c24c333e18dadec2c4bcd..22e59c57ad46c234655276e4c5a00ab9dbce9145 100644 (file)
@@ -208,7 +208,7 @@ void wxFrameManager::EnableMenusForView( wxFrameView* pView, bool enable )
     if ( !pMenuBar )
         return;
 
-    wxStringListNode* pNode = pView->mTopMenus.GetFirst();
+    wxStringList::compatibility_iterator pNode = pView->mTopMenus.GetFirst();
 
     int i;
     while ( pNode )