1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Version: 12.2
Date: 2023-04-03
Author: bgstack15
Message: Suppress taskbar entry for tooltip "window". Upstream declined this patch (https://freefilesync.org/forum/viewtopic.php?t=9898) so it must continue here.
--- a/wx+/tooltip.cpp
+++ b/wx+/tooltip.cpp
@@ -9,6 +9,7 @@
#include <wx/sizer.h>
#include <wx/statbmp.h>
#include <wx/settings.h>
+#include <wx/frame.h>
#include <wx/app.h>
#include "image_tools.h"
#include "bitmap_button.h"
@@ -28,7 +29,7 @@ class Tooltip::TooltipDlgGenerated : pub
{
public:
TooltipDlgGenerated(wxWindow* parent) : //Suse Linux/X11: needs parent window, else there are z-order issues
- wxDialog(parent, wxID_ANY, L"" /*title*/, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER /*style*/)
+ wxDialog(parent, wxID_ANY, L"" /*title*/, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER | wxFRAME_NO_TASKBAR /*style*/)
//wxSIMPLE_BORDER side effect: removes title bar on KDE
{
SetSizeHints(wxDefaultSize, wxDefaultSize);
|