void wxSimpleHelpProvider::AddHelp(wxWindowID id, const wxString& text)
{
- wxLongToStringHashMap::const_key_type key = (wxLongToStringHashMap::const_key_type)id;
+ wxLongToStringHashMap::key_type key = (wxLongToStringHashMap::key_type)id;
m_hashIds.erase(key);
m_hashIds[key] = text;
}
void wxGrid::SetColMinimalWidth( int col, int width )
{
if (width > GetColMinimalAcceptableWidth()) {
- wxLongToLongHashMap::const_key_type key = (wxLongToLongHashMap::const_key_type)col;
+ wxLongToLongHashMap::key_type key = (wxLongToLongHashMap::key_type)col;
m_colMinWidths[key] = width;
}
}
void wxGrid::SetRowMinimalHeight( int row, int width )
{
if (width > GetRowMinimalAcceptableHeight()) {
- wxLongToLongHashMap::const_key_type key = (wxLongToLongHashMap::const_key_type)row;
+ wxLongToLongHashMap::key_type key = (wxLongToLongHashMap::key_type)row;
m_rowMinHeights[key] = width;
}
}
int wxGrid::GetColMinimalWidth(int col) const
{
- wxLongToLongHashMap::const_key_type key = (wxLongToLongHashMap::const_key_type)col;
+ wxLongToLongHashMap::key_type key = (wxLongToLongHashMap::key_type)col;
wxLongToLongHashMap::const_iterator it = m_colMinWidths.find(key);
return it != m_colMinWidths.end() ? (int)it->second : m_minAcceptableColWidth;
}
int wxGrid::GetRowMinimalHeight(int row) const
{
- wxLongToLongHashMap::const_key_type key = (wxLongToLongHashMap::const_key_type)row;
+ wxLongToLongHashMap::key_type key = (wxLongToLongHashMap::key_type)row;
wxLongToLongHashMap::const_iterator it = m_rowMinHeights.find(key);
return it != m_rowMinHeights.end() ? (int)it->second : m_minAcceptableRowHeight;
}