1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

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)