From: Dimitri Schoolwerth Date: Mon, 16 Feb 2004 20:57:17 +0000 (+0000) Subject: Fixed unreferenced function 'CutEmptyBorders' warning (MSVC6). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b126fe3ae2ef2717e8ec2491cb50fa418492e8c8 Fixed unreferenced function 'CutEmptyBorders' warning (MSVC6). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index ef8e77e1ad..bf16d8a0df 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -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)