From aad117051ae659de8f837881aa9fd4215740da19 Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Tue, 23 Apr 2019 19:31:55 +0100 Subject: [PATCH] Fix bug 1534 On Linux, width and height of TipPanel must not be reset in SetPos(). --- src/widgets/ASlider.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/ASlider.cpp b/src/widgets/ASlider.cpp index 2900749bc..b73ccf536 100644 --- a/src/widgets/ASlider.cpp +++ b/src/widgets/ASlider.cpp @@ -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)