Fixed build warnings in wxWidgets GUI.

This commit is contained in:
SarahW 2017-08-05 20:05:35 +01:00
commit ec6ba93665
9 changed files with 40 additions and 60 deletions

View file

@ -138,7 +138,7 @@ void StatusPane::Render(wxDC& dc)
size = dc.GetTextExtent(s);
dc.DrawText(s, x, height+5+(bitmap.GetHeight()-size.y)/2);
width = MAX(width, x+size.x);
height = MAX(height, height+5+MAX(bitmap.GetHeight(), size.y));
height = height+5+MAX(bitmap.GetHeight(), size.y);
} else {
x -= bitmap.GetWidth();
dc.DrawBitmap(bitmap, x, 5);