git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10908
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
size_t n = IndexForInsert(lItem, fnCompare);
{
size_t n = IndexForInsert(lItem, fnCompare);
- return n < m_nCount && m_pItems[n] == lItem ? n : wxNOT_FOUND;
+ return n < m_nCount && m_pItems[n] == lItem ? (int)n : wxNOT_FOUND;
GetScrollPos(wxVERTICAL),
TRUE );
GetScrollPos(wxVERTICAL),
TRUE );
+ // FIXME: wxGTK::wxScrolledWindow doesn't have SetTargetRect()
+#if !defined(__WXGTK__) || defined(__WXUNIVERSAL__)
// we must have an integer number of lines on screen and so we fit
// the real control size to the line height
wxRect rect;
// we must have an integer number of lines on screen and so we fit
// the real control size to the line height
wxRect rect;
rect.width = clientWidth;
rect.height = ((clientHeight - LINE_SPACING) / lineHeight)*lineHeight;
SetTargetRect(rect);
rect.width = clientWidth;
rect.height = ((clientHeight - LINE_SPACING) / lineHeight)*lineHeight;
SetTargetRect(rect);
else
{
WriteMimeInfo(nIndex, TRUE );
else
{
WriteMimeInfo(nIndex, TRUE );
- m_aTypes.Remove (nIndex);
- m_aEntries.Remove (nIndex);
- m_aExtensions.Remove (nIndex);
- m_aDescriptions.Remove (nIndex);
- m_aIcons.Remove (nIndex);
+ m_aTypes.RemoveAt(nIndex);
+ m_aEntries.RemoveAt(nIndex);
+ m_aExtensions.RemoveAt(nIndex);
+ m_aDescriptions.RemoveAt(nIndex);
+ m_aIcons.RemoveAt(nIndex);
}
}
// check data integrity
}
}
// check data integrity