summaryrefslogtreecommitdiff
path: root/shared/customTooltip.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
commit4226e548662339ea1ca37b45385a7cf9b237ff1e (patch)
tree9a3fa54b85d97f05164e41bdb96b82f748a37342 /shared/customTooltip.cpp
parent3.7 (diff)
downloadFreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip
3.8
Diffstat (limited to 'shared/customTooltip.cpp')
-rw-r--r--shared/customTooltip.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/shared/customTooltip.cpp b/shared/customTooltip.cpp
index 105feabf..e483f7c7 100644
--- a/shared/customTooltip.cpp
+++ b/shared/customTooltip.cpp
@@ -10,7 +10,7 @@
#include <wx/statbmp.h>
-class PopupFrameGenerated : public wxFrame
+class CustomTooltip::PopupFrameGenerated : public wxFrame
{
public:
PopupFrameGenerated(wxWindow* parent,
@@ -25,7 +25,7 @@ public:
};
-PopupFrameGenerated::PopupFrameGenerated(
+CustomTooltip::PopupFrameGenerated::PopupFrameGenerated(
wxWindow* parent,
wxWindowID id,
const wxString& title,
@@ -53,6 +53,10 @@ PopupFrameGenerated::PopupFrameGenerated(
CustomTooltip::CustomTooltip() : tipWindow(new PopupFrameGenerated(NULL)), lastBmp(NULL)
{
+#ifdef FFS_WIN //neither looks good nor works at all on Linux
+ tipWindow->Disable(); //prevent window stealing focus!
+#endif
+
hide();
}
bgstack15