summaryrefslogtreecommitdiff
path: root/wx+/tooltip.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-18 09:47:11 -0400
committerB. Stack <bgstack15@gmail.com>2022-04-18 09:47:40 -0400
commitb4b2e4a096fe8fe1ad530a4c181729be05834595 (patch)
tree84e67ca0a1fb045a12d015fcffca9cd8087c9332 /wx+/tooltip.cpp
parentMerge branch 'b11.18' into 'master' (diff)
downloadFreeFileSync-b4b2e4a096fe8fe1ad530a4c181729be05834595.tar.gz
FreeFileSync-b4b2e4a096fe8fe1ad530a4c181729be05834595.tar.bz2
FreeFileSync-b4b2e4a096fe8fe1ad530a4c181729be05834595.zip
add upstream 11.20
Diffstat (limited to 'wx+/tooltip.cpp')
-rw-r--r--wx+/tooltip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/tooltip.cpp b/wx+/tooltip.cpp
index 4a3c571f..a3fa770d 100644
--- a/wx+/tooltip.cpp
+++ b/wx+/tooltip.cpp
@@ -3,7 +3,6 @@
// * GNU General Public License: https://www.gnu.org/licenses/gpl-3.0 *
// * Copyright (C) Zenju (zenju AT freefilesync DOT org) - All Rights Reserved *
// *****************************************************************************
-
#include "tooltip.h"
#include <wx/dialog.h>
#include <wx/stattext.h>
@@ -12,6 +11,7 @@
#include <wx/settings.h>
#include <wx/app.h>
#include "image_tools.h"
+#include "bitmap_button.h"
#include "dc.h"
#include <gtk/gtk.h>
@@ -64,7 +64,7 @@ void Tooltip::show(const wxString& text, wxPoint mousePos, const wxImage* img)
if (!lastUsedImg_.IsSameAs(newImg))
{
lastUsedImg_ = newImg;
- tipWindow_->bitmapLeft_->SetBitmap(newImg);
+ setImage(*tipWindow_->bitmapLeft_, newImg);
tipWindow_->Refresh(); //needed if bitmap size changed!
}
bgstack15