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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user