diff options
Diffstat (limited to 'wx+/tooltip.cpp')
-rw-r--r-- | wx+/tooltip.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)); } |