Fix base class call of virtual SetFont() in wxGenericListCtrl

Hard-coding 'wxWindow' improperly bypasses an override in wxControl on GTK3
This commit is contained in:
Paul Cornett
2020-01-27 11:27:39 -08:00
parent d03a5c1155
commit 26f58bdf78
2 changed files with 3 additions and 2 deletions

View File

@@ -5462,7 +5462,7 @@ bool wxGenericListCtrl::SetForegroundColour( const wxColour &colour )
bool wxGenericListCtrl::SetFont( const wxFont &font )
{
if ( !wxWindow::SetFont( font ) )
if (!BaseType::SetFont(font))
return false;
if (m_mainWin)