#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);
}
}
}
int n = 0;
- if ( bmpToUse.Ok() )
+ if ( bmpToUse.IsOk() )
{
n = ::CommandBar_AddBitmap( (HWND) GetHWND(), NULL, (int) (HBITMAP) bmpToUse.GetHBITMAP(),
1, 16, 16 );