]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't force a smaller icon size
authorRobin Dunn <robin@alldunn.com>
Wed, 2 Jun 2004 19:39:11 +0000 (19:39 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 2 Jun 2004 19:39:11 +0000 (19:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/taskbarx11.cpp

index 99ed4fb0306828f1a0202f5d94bcdfbbf2cc7269..5ec54ac876dd660dc3f4ff5b0a41dfa3f970a7a2 100644 (file)
@@ -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)