Fixed unreferenced function 'CutEmptyBorders' warning (MSVC6).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth 2004-02-16 20:57:17 +00:00
parent a96b8d39fb
commit b126fe3ae2

View File

@ -1582,6 +1582,8 @@ static wxBitmap CreateAntialiasedBitmap(const wxImage& img)
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)
{
@ -1625,6 +1627,8 @@ static wxImage CutEmptyBorders(const wxImage& img)
return img.GetSubImage(wxRect(left, top, right - left + 1, bottom - top + 1));
}
#endif // #if 0
#endif // wxUSE_MIMETYPE
int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime)