summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/ffs_tooltips_no_taskbar.patch
blob: 9a5f1144e5cfb09f6f8aefb830ccc0da3a27c41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Date: 2022-12-16
Author: bgstack15
Version: 11.29
Message: Suppress taskbar entry for tooltip "window"
--- 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"
@@ -27,7 +28,7 @@ const int TIP_WINDOW_OFFSET_DIP = 30;
 class Tooltip::TooltipDlgGenerated : public wxDialog
 {
 public:
-    TooltipDlgGenerated(wxWindow* parent) : wxDialog(parent, wxID_ANY, L"" /*title*/, wxDefaultPosition, wxDefaultSize, 0 /*style*/)
+    TooltipDlgGenerated(wxWindow* parent) : wxDialog(parent, wxID_ANY, L"" /*title*/, wxDefaultPosition, wxDefaultSize, wxFRAME_NO_TASKBAR /*style*/)
     {
         //Suse Linux/X11: needs parent window, else there are z-order issues
 
bgstack15