Use compatibility_iterator instead of "Node*" in wxWinCE toolbar code.

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
This commit is contained in:
Vadim Zeitlin
2012-07-31 10:31:48 +00:00
parent d9a631c389
commit 3d2846fc06

View 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();