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:
@@ -372,7 +372,7 @@ bool wxToolMenuBar::Realize()
|
|||||||
#endif // 0
|
#endif // 0
|
||||||
|
|
||||||
bool lastWasRadio = false;
|
bool lastWasRadio = false;
|
||||||
wxToolBarToolsList::Node* node;
|
wxToolBarToolsList::compatibility_iterator node;
|
||||||
for ( node = m_tools.GetFirst(); node; node = node->GetNext() )
|
for ( node = m_tools.GetFirst(); node; node = node->GetNext() )
|
||||||
{
|
{
|
||||||
wxToolMenuBarTool *tool = (wxToolMenuBarTool*) node->GetData();
|
wxToolMenuBarTool *tool = (wxToolMenuBarTool*) node->GetData();
|
||||||
|
Reference in New Issue
Block a user