Fix bug 1534

On Linux, width and height of TipPanel must not be reset in SetPos().
This commit is contained in:
Steve Daulton 2019-04-23 19:31:55 +01:00
parent 580e1a8a63
commit aad117051a

View File

@ -217,7 +217,11 @@ wxSize TipPanel::GetSize() const
void TipPanel::SetPos(const wxPoint & pos)
{
#if defined(__WXGTK__)
SetSize(pos.x, pos.y, wxDefaultCoord, wxDefaultCoord);
#else
SetSize(pos.x, pos.y, mWidth, mHeight);
#endif
}
void TipPanel::SetLabel(const wxString & label)