mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Cleanup: use override specifier everywhere, and enable gcc warning to check for it.
This commit is contained in:
@@ -131,7 +131,7 @@ TreeList::TreeList(Window* parent, int id, long style)
|
||||
wxClientDC dc(this);
|
||||
dc.SetFont(*wxNORMAL_FONT);
|
||||
int h;
|
||||
dc.GetTextExtent(_("X"), 0, &h);
|
||||
dc.GetTextExtent(_("X"), nullptr, &h);
|
||||
item_height = h + 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user