From b126fe3ae2ef2717e8ec2491cb50fa418492e8c8 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Mon, 16 Feb 2004 20:57:17 +0000 Subject: [PATCH] Fixed unreferenced function 'CutEmptyBorders' warning (MSVC6). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/dirctrlg.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.47.2