From 4226e548662339ea1ca37b45385a7cf9b237ff1e Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:07:43 +0200 Subject: 3.8 --- shared/customTooltip.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'shared/customTooltip.cpp') 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 -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(); } -- cgit