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:
@@ -1582,6 +1582,8 @@ static wxBitmap CreateAntialiasedBitmap(const wxImage& img)
|
|||||||
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:
|
// finds empty borders and return non-empty area of image:
|
||||||
static wxImage CutEmptyBorders(const wxImage& img)
|
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));
|
return img.GetSubImage(wxRect(left, top, right - left + 1, bottom - top + 1));
|
||||||
}
|
}
|
||||||
|
#endif // #if 0
|
||||||
|
|
||||||
#endif // wxUSE_MIMETYPE
|
#endif // wxUSE_MIMETYPE
|
||||||
|
|
||||||
int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime)
|
int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime)
|
||||||
|
Reference in New Issue
Block a user