forked from dolphin-emu/dolphin
The AutomaticColumnWidth method can be called when the game list does not have any columns (for example when dolphin is starting). In this case wxWidgets assertions fail when (Get|Set)ColumnWidth are called on columns that do not exist. So check to make sure there are columns to prevent this.