git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25833
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return wxBitmap(smallimg);
}
return wxBitmap(smallimg);
}
+// This function is currently not unused anymore
+#if 0
// finds empty borders and return non-empty area of image:
static wxImage CutEmptyBorders(const wxImage& img)
{
// finds empty borders and return non-empty area of image:
static wxImage CutEmptyBorders(const wxImage& img)
{
return img.GetSubImage(wxRect(left, top, right - left + 1, bottom - top + 1));
}
return img.GetSubImage(wxRect(left, top, right - left + 1, bottom - top + 1));
}
#endif // wxUSE_MIMETYPE
int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime)
#endif // wxUSE_MIMETYPE
int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime)