]> git.saurik.com Git - wxWidgets.git/commitdiff
Use compatibility_iterator instead of "Node*" in wxWinCE toolbar code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jul 2012 10:31:48 +0000 (10:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jul 2012 10:31:48 +0000 (10:31 +0000)
This allows the code to compile in all build configurations.

Closes #14541.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/wince/tbarwce.cpp

index 833491c3edf2b6c85dc29e8f185c1b1303fef43b..a2e2847ea2f3b4ec025439c6b341d466c13b7d7a 100644 (file)
@@ -372,7 +372,7 @@ bool wxToolMenuBar::Realize()
 #endif // 0
 
     bool lastWasRadio = false;
-    wxToolBarToolsList::Node* node;
+    wxToolBarToolsList::compatibility_iterator node;
     for ( node = m_tools.GetFirst(); node; node = node->GetNext() )
     {
         wxToolMenuBarTool *tool = (wxToolMenuBarTool*) node->GetData();