diff options
Diffstat (limited to 'wx+/tooltip.cpp')
-rw-r--r-- | wx+/tooltip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/tooltip.cpp b/wx+/tooltip.cpp index 86b9ec8d..19b6ede7 100644 --- a/wx+/tooltip.cpp +++ b/wx+/tooltip.cpp @@ -78,7 +78,7 @@ void Tooltip::show(const wxString& text, wxPoint mousePos, const wxImage* img) } if (imgChanged || txtChanged) - //tipWindow_->Layout(); -> apparently not needed!? + //tipWindow_->Dimensions(); -> apparently not needed!? tipWindow_->GetSizer()->SetSizeHints(tipWindow_); //~=Fit() + SetMinSize() #ifdef __WXGTK3__ //GTK3 size calculation requires visible window: https://github.com/wxWidgets/wxWidgets/issues/16088 |