From fe3d568d3d19d7f144e09d978e42fbad2fed875f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 2 Jun 2004 19:39:11 +0000 Subject: [PATCH] Don't force a smaller icon size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/taskbarx11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp index 99ed4fb030..5ec54ac876 100644 --- a/src/unix/taskbarx11.cpp +++ b/src/unix/taskbarx11.cpp @@ -139,7 +139,7 @@ void wxTaskBarIconArea::SetTrayIcon(const wxBitmap& bmp) // determine suitable bitmap size: wxSize winsize(GetSize()); wxSize bmpsize(m_bmp.GetWidth(), m_bmp.GetHeight()); - wxSize iconsize(wxMin(winsize.x-2, bmpsize.x), wxMin(winsize.y-2, bmpsize.y)); + wxSize iconsize(wxMin(winsize.x, bmpsize.x), wxMin(winsize.y, bmpsize.y)); // rescale the bitmap to fit into the tray icon window: if (bmpsize != iconsize) -- 2.45.2