From 75bc2e56125125511a0505718dcb2c3d4150a933 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 4 Jan 2022 10:50:14 -0500 Subject: add upstream 11.16 --- wx+/tooltip.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wx+/tooltip.cpp') diff --git a/wx+/tooltip.cpp b/wx+/tooltip.cpp index e3c021c6..63a004bd 100644 --- a/wx+/tooltip.cpp +++ b/wx+/tooltip.cpp @@ -67,10 +67,10 @@ void Tooltip::show(const wxString& text, wxPoint mousePos, const wxImage* img) tipWindow_->bitmapLeft_->SetBitmap(newImg); tipWindow_->Refresh(); //needed if bitmap size changed! } - - if (text != tipWindow_->staticTextMain_->GetLabel()) + + if (text != tipWindow_->staticTextMain_->GetLabelText()) { - tipWindow_->staticTextMain_->SetLabel(text); + tipWindow_->staticTextMain_->SetLabelText(text); tipWindow_->staticTextMain_->Wrap(fastFromDIP(600)); } -- cgit