Fix bug 1534
On Linux, width and height of TipPanel must not be reset in SetPos().
This commit is contained in:
parent
580e1a8a63
commit
aad117051a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user