diff options
Diffstat (limited to 'wx+/tooltip.h')
-rw-r--r-- | wx+/tooltip.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wx+/tooltip.h b/wx+/tooltip.h index d74beb9d..b496f36c 100644 --- a/wx+/tooltip.h +++ b/wx+/tooltip.h @@ -8,6 +8,7 @@ #define TOOLTIP_H_8912740832170515 #include <wx/window.h> +#include <wx/image.h> namespace zen @@ -19,13 +20,14 @@ public: void show(const wxString& text, wxPoint mousePos, //absolute screen coordinates - const wxBitmap* bmp = nullptr); + const wxImage* img = nullptr); void hide(); private: class TooltipDlgGenerated; TooltipDlgGenerated* tipWindow_ = nullptr; wxWindow& parent_; + wxImage lastUsedImg_; }; } |