summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/ffs_tooltips_no_taskbar.patch
blob: 7f2443d8ceb914ca2bc5964f3a72ef4a5a21163a (plain)
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.0
Date: 2023-01-22
Author: bgstack15
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"
@@ -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, 0 /*style*/)
+        wxDialog(parent, wxID_ANY, L"" /*title*/, wxDefaultPosition, wxDefaultSize, wxFRAME_NO_TASKBAR /*style*/)
     {
         SetSizeHints(wxDefaultSize, wxDefaultSize);
         SetExtraStyle(this->GetExtraStyle() | wxWS_EX_TRANSIENT);
bgstack15