#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();
const wxString& label = tool->GetLabel();
if ( !label.empty() )
{
- button.iString = (int)label.wx_str();
+ button.iString = (int) wxMSW_CONV_LPCTSTR(label);
}
}