summaryrefslogtreecommitdiff
path: root/wx+/tooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/tooltip.cpp')
-rw-r--r--wx+/tooltip.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/wx+/tooltip.cpp b/wx+/tooltip.cpp
index 01b5ead4..14df955c 100644
--- a/wx+/tooltip.cpp
+++ b/wx+/tooltip.cpp
@@ -75,10 +75,9 @@ void Tooltip::show(const wxString& text, wxPoint mousePos, const wxImage* img)
if (txtChanged)
{
lastUsedText_ = text;
- {
tipWindow_->staticTextMain_->SetLabelText(text);
- tipWindow_->staticTextMain_->Wrap(dipToWxsize(600));
- }
+
+ tipWindow_->staticTextMain_->Wrap(dipToWxsize(600));
}
if (imgChanged || txtChanged)
bgstack15