X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0304adb195d7f41a54dcf35e4d440bf12201ab32..77f4f0a700031e1c1fa4ece26df44f3af49b7545:/src/unix/taskbarx11.cpp diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp index cf94b21583..b95729d16c 100644 --- a/src/unix/taskbarx11.cpp +++ b/src/unix/taskbarx11.cpp @@ -131,6 +131,10 @@ wxTaskBarIconArea::wxTaskBarIconArea(wxTaskBarIcon *icon, const wxBitmap &bmp) _T("using legacy KDE1,2 and GNOME 1.2 methods")); SetLegacyWMProperties(); } + +#if defined(__WXGTK20__) && defined(TASKBAR_ICON_AREA_BASE_INCLUDED) + m_invokingWindow = icon; +#endif // Set initial size to bitmap size (tray manager may and often will // change it):